]> git.baikalelectronics.ru Git - kernel.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)
commit637cdcd4bb8e94a3b9f0013d4e9d7030d1e67242
tree6a114da03bb9911de637146f2b24866f1ae96718
parente13e028244626c657bd1ad86f8b1b7b4a4bac440
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