summaryrefslogtreecommitdiffstats
path: root/fs/efivarfs
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2019-06-18 10:59:18 -0400
committerDavid Sterba <dsterba@suse.com>2019-07-02 12:30:50 +0200
commit63611e738a62bfb186a61e4b16b9fb72657144e5 (patch)
tree44265c54059f11c852f135b901cc011f8971f882 /fs/efivarfs
parent179006688a7e888cbff39577189f2e034786d06a (diff)
downloadlinux-63611e738a62bfb186a61e4b16b9fb72657144e5.tar.bz2
btrfs: run delayed iput at unlink time
We have been seeing issues in production where a cleaner script will end up unlinking a bunch of files that have pending iputs. This means they will get their final iput's run at btrfs-cleaner time and thus are not throttled, which impacts the workload. Since we are unlinking these files we can just drop the delayed iput at unlink time. We are already holding a reference to the inode so this will not be the final iput and thus is completely safe to do at this point. Doing this means we are more likely to be doing the final iput at unlink time, and thus will get the IO charged to the caller and get throttled appropriately without affecting the main workload. Reviewed-by: Nikolay Borisov <nborisov@suse.com> Signed-off-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/efivarfs')
0 files changed, 0 insertions, 0 deletions