From: Mark Fasheh Date: Wed, 9 May 2007 00:47:32 +0000 (-0700) Subject: ocfs2: rework ocfs2_buffered_write_cluster() X-Git-Tag: v2.6.23-rc1~781^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a307ffc2730bfa1a4dfa94537be9d412338aad2;p=pandora-kernel.git 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 --- Reading git-diff-tree failed