From: Mark Fasheh Date: Sat, 10 Feb 2007 04:24:12 +0000 (-0800) Subject: ocfs2: teach ocfs2_file_aio_write() about sparse files X-Git-Tag: v2.6.22-rc1~1124^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9517bac6cc7a7aa4fee63cb38a32cb6014e264c7;p=pandora-kernel.git ocfs2: teach ocfs2_file_aio_write() about sparse files Unfortunately, ocfs2 can no longer make use of generic_file_aio_write_nlock() because allocating writes will require zeroing of pages adjacent to the I/O for cluster sizes greater than page size. Implement a custom file write here, which can order page locks for zeroing. This also has the advantage that cluster locks can easily be ordered outside of the page locks. Signed-off-by: Mark Fasheh --- Reading git-diff-tree failed