Mike Snitzer 77304d2aba block: read i_size with i_size_read()
Convert direct reads of an inode's i_size to using i_size_read().

i_size_{read,write} use a seqcount to protect reads from accessing
incomple writes.  Concurrent i_size_write()s require mutual exclussion
to protect the seqcount that is used by i_size_{read,write}.  But
i_size_read() callers do not need to use additional locking.

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Acked-by: NeilBrown <neilb@suse.de>
Acked-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
2010-11-10 14:40:53 +01:00
..
2010-08-12 04:14:13 +01:00
2010-08-12 04:14:11 +01:00
2010-08-12 04:14:32 +01:00
2010-09-10 20:07:38 +02:00
2007-10-20 02:01:26 +01:00
2010-08-12 04:14:12 +01:00
2010-08-12 04:14:08 +01:00
2010-09-10 12:35:38 +02:00
2010-11-10 14:40:53 +01:00
2010-09-10 12:35:38 +02:00
2010-09-10 12:35:38 +02:00
2010-10-29 16:40:33 +11:00
2010-09-10 12:35:38 +02:00