[PATCH] Make ll_rw_block() wait for buffer lock
authorJan Kara <jack@suse.cz>
Tue, 6 Sep 2005 22:19:10 +0000 (15:19 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 7 Sep 2005 23:57:55 +0000 (16:57 -0700)
commita7662236253374012d364106b6dc9161bd929e2e
tree59f34811d18fef8195bc3200bdb2684598175f29
parente6c9f5c1888097c936334bf9740024520ca47b8e
[PATCH] Make ll_rw_block() wait for buffer lock

Introduce new ll_rw_block() operation SWRITE meaning that block layer should
wait for the buffer lock and write-out afterwards.  Hence data in buffers at
the time of call are guaranteed to be submitted to the disk.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/buffer.c
include/linux/fs.h