]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ocfs2: Add inode stealing for ocfs2_reserve_new_inode
authorTao Ma <tao.ma@oracle.com>
Wed, 5 Mar 2008 08:11:46 +0000 (16:11 +0800)
committerMark Fasheh <mfasheh@suse.com>
Fri, 18 Apr 2008 15:56:10 +0000 (08:56 -0700)
commit4d0ddb2ce25db2254d468233d942276ecf40bff8
tree6a114da03bb9911de637146f2b24866f1ae96718
parenta4a4891164d4f6f383cc17e7c90828a7ca6a1146
ocfs2: Add inode stealing for ocfs2_reserve_new_inode

Inode allocation is modified to look in other nodes allocators during
extreme out of space situations. We retry our own slot when space is freed
back to the global bitmap, or whenever we've allocated more than 1024 inodes
from another slot.

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