summaryrefslogtreecommitdiff
path: root/fs/btrfs/inode.c
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2019-01-11 18:21:01 +0300
committerDavid Sterba <dsterba@suse.com>2019-01-18 19:27:21 +0300
commit3ec9a4c81c8cc2a8d9673588dd84d9cc7c31019b (patch)
tree7f6c891bbb299017b85fbd3b44a48465baa0d797 /fs/btrfs/inode.c
parent74d5d229b1bf60f93bff244b2dfc0eb21ec32a07 (diff)
downloadlinux-3ec9a4c81c8cc2a8d9673588dd84d9cc7c31019b.tar.xz
btrfs: run delayed iputs before committing
Delayed iputs means we can have final iputs of deleted inodes in the queue, which could potentially generate a lot of pinned space that could be free'd. So before we decide to commit the transaction for ENOPSC reasons, run the delayed iputs so that any potential space is free'd up. If there is and we freed enough we can then commit the transaction and potentially be able to make our reservation. Reviewed-by: Omar Sandoval <osandov@fb.com> Signed-off-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/inode.c')
0 files changed, 0 insertions, 0 deletions