From: Tao Ma Date: Tue, 25 Aug 2009 00:05:12 +0000 (+0800) Subject: ocfs2: Add CoW support. X-Git-Tag: v2.6.32-rc1~173^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f70fa519976a379d72781d927cf8e5f5b05ec86;p=pandora-kernel.git ocfs2: Add CoW support. This patch try CoW support for a refcounted record. the whole process will be: 1. Calculate how many clusters we need to CoW and where we start. Extents that are not completely encompassed by the write will be broken on 1MB boundaries. 2. Do CoW for the clusters with the help of page cache. 3. Change the b-tree structure with the new allocated clusters. Signed-off-by: Tao Ma --- Reading git-diff-tree failed