]> err.no Git - linux-2.6/commit
ocfs2: make room for unwritten extents flag
authorMark Fasheh <mark.fasheh@oracle.com>
Thu, 8 Mar 2007 00:46:57 +0000 (16:46 -0800)
committerMark Fasheh <mark.fasheh@oracle.com>
Thu, 26 Apr 2007 22:02:37 +0000 (15:02 -0700)
commite48edee2d8eab812f31f0ff62c6ba635ca2e1e21
tree6afb9fe59a06ce621cb11d570e432e7d739376ff
parent6af67d8205cf65fbaaa743edc7ebb46e486e34ff
ocfs2: make room for unwritten extents flag

Due to the size of our group bitmaps, we'll never have a leaf node extent
record with more than 16 bits worth of clusters. Split e_clusters up so that
leaf nodes can get a flags field where we can mark unwritten extents.
Interior nodes whose length references all the child nodes beneath it can't
split their e_clusters field, so we use a union to preserve sizing there.

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