Skip to content
Commit 94b60442 authored by Chris Mason's avatar Chris Mason
Browse files

Btrfs: avoid ENOSPC errors in btrfs_dirty_inode



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>
parent 3f7c579c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment