• M
    ocfs2: simplify deallocation locking · 2b604351
    Mark Fasheh 提交于
    Deallocation of suballocator blocks, most notably extent blocks, might
    involve multiple suballocator inodes.
    
    The locking for this can get extremely complicated, especially when the
    suballocator inodes to delete from aren't known until deep within an
    unrelated codepath.
    
    Implement a simple scheme for recording the blocks to be unlinked so that
    the actual deallocation can be done in a context which won't deadlock.
    Signed-off-by: NMark Fasheh <mark.fasheh@oracle.com>
    2b604351
suballoc.h 4.2 KB