]> nv-tegra.nvidia Code Review - linux-2.6.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)
commitafddba49d18f346e5cc2938b6ed7c512db18ca68
tree4726e3d3b0e9e8e5b5d3b2b0cccb36446bbdf3ca
parent637aff46f94a754207c80c8c64bf1b74f24b967d
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