Skip to content
  • Mark Fasheh's avatar
    ocfs2: simplify deallocation locking · 2b604351
    Mark Fasheh authored
    
    
    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: default avatarMark Fasheh <mark.fasheh@oracle.com>
    2b604351