kernel-ark/drivers/block/drbd
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
..
drbd_actlog.c
drbd_bitmap.c
drbd_int.h block: read i_size with i_size_read() 2010-11-10 14:40:53 +01:00
drbd_main.c drivers/block/drbd/drbd_main.c: fix error path 2010-10-28 06:15:26 -06:00
drbd_nl.c
drbd_proc.c
drbd_receiver.c Merge branch 'for-2.6.37/barrier' of git://git.kernel.dk/linux-2.6-block 2010-10-22 17:07:18 -07:00
drbd_req.c
drbd_req.h
drbd_strings.c
drbd_vli.h
drbd_worker.c
drbd_wrappers.h
Kconfig
Makefile