Skip to content
Commit 35c80d5f authored by Chris Mason's avatar Chris Mason Committed by Linus Torvalds
Browse files

Add block_write_full_page_endio for passing endio handler



block_write_full_page doesn't allow the caller to control what happens
when the IO is over.  This adds a new call named block_write_full_page_endio
so the buffer head end_io handler can be provided by the caller.

This will be used by the ext3 data=guarded mode to do i_size updates in
a workqueue based end_io handler.  end_buffer_async_write is also
exported so it can be called to do the dirty work of managing page
writeback for the higher level end_io handler.

Signed-off-by: default avatarChris Mason <chris.mason@oracle.com>
Acked-by: default avatarTheodore Tso <tytso@mit.edu>
Acked-by: default avatarJan Kara <jack@suse.cz>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent f6995585
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment