]> git.baikalelectronics.ru Git - kernel.git/commit
fs: introduce write_begin, write_end, and perform_write aops
authorNick Piggin <npiggin@suse.de>
Tue, 16 Oct 2007 08:25:01 +0000 (01:25 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 16 Oct 2007 16:42:55 +0000 (09:42 -0700)
commit8403dd85262cb79f809c85c8175977dd557ad739
tree4726e3d3b0e9e8e5b5d3b2b0cccb36446bbdf3ca
parent23c5f468859839b9bfa33a8ea4aac6d14de9f67f
fs: introduce write_begin, write_end, and perform_write aops

These are intended to replace prepare_write and commit_write with more
flexible alternatives that are also able to avoid the buffered write
deadlock problems efficiently (which prepare_write is unable to do).

[mark.fasheh@oracle.com: API design contributions, code review and fixes]
[akpm@linux-foundation.org: various fixes]
[dmonakhov@sw.ru: new aop block_write_begin fix]
Signed-off-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Signed-off-by: Dmitriy Monakhov <dmonakhov@openvz.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/filesystems/Locking
Documentation/filesystems/vfs.txt
drivers/block/loop.c
fs/buffer.c
fs/libfs.c
fs/namei.c
fs/splice.c
include/linux/buffer_head.h
include/linux/fs.h
include/linux/pagemap.h
mm/filemap.c