ocfs2/xattr: Reserve meta/data at the beginning of ocfs2_xattr_set.
authorTao Ma <tao.ma@oracle.com>
Wed, 12 Nov 2008 00:27:00 +0000 (08:27 +0800)
committerMark Fasheh <mfasheh@suse.com>
Mon, 5 Jan 2009 16:34:19 +0000 (08:34 -0800)
commit78f30c314a74b9dc5d7368d96fe4be883d9a3a04
tree07904e23f2d2c1287869daecc9f27052b71d67a5
parentc73f60f900ddf73ec4ea2a143829ab97242c4e8c
ocfs2/xattr: Reserve meta/data at the beginning of ocfs2_xattr_set.

In ocfs2 xattr set, we reserve metadata and clusters in any place
they are needed. It is time-consuming and ineffective, so this
patch try to reserve metadata and clusters at the beginning of
ocfs2_xattr_set.

Signed-off-by: Tao Ma <tao.ma@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
fs/ocfs2/alloc.h
fs/ocfs2/xattr.c