diff options
author | Chris Mason <chris.mason@oracle.com> | 2010-05-26 19:02:00 +0400 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2010-05-26 19:02:00 +0400 |
commit | 94b604429a6cd94ddc128fa2772c57209bb1318f (patch) | |
tree | 700c5b9cb431bde48f07813224e6a5165a9d6540 /fs/btrfs/extent-tree.c | |
parent | 3f7c579c41a3d20af76fd6ff1f6b949edf105fd1 (diff) | |
download | linux-94b604429a6cd94ddc128fa2772c57209bb1318f.tar.xz |
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: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/extent-tree.c')
0 files changed, 0 insertions, 0 deletions