ocfs2: add extent block stealing for ocfs2 v5
authorTiger Yang <tiger.yang@oracle.com>
Mon, 25 Jan 2010 06:11:06 +0000 (14:11 +0800)
committerJoel Becker <joel.becker@oracle.com>
Fri, 26 Feb 2010 23:41:07 +0000 (15:41 -0800)
commitb89c54282db0c8634a2d2dc200f196d571750ce5
treefbb34a01b3f0b2f4af6aae9ede9f3f21ef2a378d
parenta5f28ae4df291d81d9d23066f88c55ca45e388d3
ocfs2: add extent block stealing for ocfs2 v5

This patch add extent block (metadata) stealing mechanism for
extent allocation. This mechanism is same as the inode stealing.
if no room in slot specific extent_alloc, we will try to
allocate extent block from the next slot.

Signed-off-by: Tiger Yang <tiger.yang@oracle.com>
Acked-by: Tao Ma <tao.ma@oracle.com>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
fs/ocfs2/alloc.c
fs/ocfs2/dir.c
fs/ocfs2/localalloc.c
fs/ocfs2/ocfs2.h
fs/ocfs2/refcounttree.c
fs/ocfs2/suballoc.c
fs/ocfs2/suballoc.h
fs/ocfs2/super.c
fs/ocfs2/xattr.c