Skip to content
  • Chris Mason's avatar
    Btrfs: avoid ENOSPC errors in btrfs_dirty_inode · 94b60442
    Chris Mason authored
    
    
    btrfs_dirty_inode tries to sneak in without much waiting or
    space reservation, mostly for performance reasons.  This
    usually works well but can cause problems when there are
    many many writers.
    
    When btrfs_update_inode fails with ENOSPC, we fallback
    to a slower btrfs_start_transaction call that will reserve
    some space.
    
    Signed-off-by: default avatarChris Mason <chris.mason@oracle.com>
    94b60442