From: Mark Fasheh Date: Fri, 7 Sep 2007 21:46:51 +0000 (-0700) Subject: ocfs2: Write support for inline data X-Git-Tag: v2.6.24-rc1~1398^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1afc32b952335f665327a1a9001ba1b44bb76fd9;p=pandora-kernel.git ocfs2: Write support for inline data This fixes up write, truncate, mmap, and RESVSP/UNRESVP to understand inline inode data. For the most part, the changes to the core write code can be relied on to do the heavy lifting. Any code calling ocfs2_write_begin (including shared writeable mmap) can count on it doing the right thing with respect to growing inline data to an extent tree. Size reducing truncates, including UNRESVP can simply zero that portion of the inode block being removed. Size increasing truncatesm, including RESVP have to be a little bit smarter and grow the inode to an extent tree if necessary. Signed-off-by: Mark Fasheh Reviewed-by: Joel Becker --- Reading git-diff-tree failed