]> err.no Git - linux-2.6/commit
ocfs2: rework ocfs2_buffered_write_cluster()
authorMark Fasheh <mark.fasheh@oracle.com>
Wed, 9 May 2007 00:47:32 +0000 (17:47 -0700)
committerMark Fasheh <mark.fasheh@oracle.com>
Wed, 11 Jul 2007 00:31:46 +0000 (17:31 -0700)
commit3a307ffc2730bfa1a4dfa94537be9d412338aad2
tree3e83201eb816aec8b897afcf3920dd716ce4412c
parent2e89b2e48e1da09ed483f195968c9172aa95b5e2
ocfs2: rework ocfs2_buffered_write_cluster()

Use some ideas from the new-aops patch series and turn
ocfs2_buffered_write_cluster() into a 2 stage operation with the caller
copying data in between. The code now understands multiple cluster writes as
a result of having to deal with a full page write for greater than 4k pages.

This sets us up to easily call into the write path during ->page_mkwrite().

Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
fs/ocfs2/aops.c
fs/ocfs2/aops.h
fs/ocfs2/file.c