[Ocfs2-devel] Why ocfs2 haven't implemented "steal" for local_alloc system files?

Younger Liu younger.liu at huawei.com
Sat Jul 27 03:27:29 PDT 2013


Hi,
  While analyzing ocfs2 block allocation, I found:
  When claiming space from inode_alloc (or extent_alloc) system files, 
if there is no enough space in inode_alloc (or extent_alloc) and 
global_bitmap, it could steal space from other slots.
  But when claiming space from local_alloc system files, and no 
enough space in local_alloc and global_bitmap, it returns -ENOSPC.

  Why ocfs2 haven't implemented "steal" for local_alloc system files?
  Is there any some reasons?




More information about the Ocfs2-devel mailing list