summaryrefslogtreecommitdiff
path: root/scripts/extract-fwblobs
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2025-02-15 14:11:29 +0300
committerDavid Sterba <dsterba@suse.com>2025-02-21 11:32:11 +0300
commit15b3b3254d1453a8db038b7d44b311a2d6c71f98 (patch)
tree95333eba55cb29d1a39e1d9a848b6ffedb2993bf /scripts/extract-fwblobs
parentc6c9c4d56483d941f567eb921434c25fc6086dfa (diff)
downloadlinux-15b3b3254d1453a8db038b7d44b311a2d6c71f98.tar.xz
btrfs: do regular iput instead of delayed iput during extent map shrinking
The extent map shrinker now runs in the system unbound workqueue and no longer in kswapd context so it can directly do an iput() on inodes even if that blocks or needs to acquire any lock (we aren't holding any locks when requesting the delayed iput from the shrinker). So we don't need to add a delayed iput, wake up the cleaner and delegate the iput() to the cleaner, which also adds extra contention on the spinlock that protects the delayed iputs list. Reported-by: Ivan Shapovalov <intelfx@intelfx.name> Tested-by: Ivan Shapovalov <intelfx@intelfx.name> Link: https://lore.kernel.org/linux-btrfs/0414d690ac5680d0d77dfc930606cdc36e42e12f.camel@intelfx.name/ CC: stable@vger.kernel.org # 6.12+ Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Reviewed-by: Qu Wenruo <wqu@suse.com> Signed-off-by: Filipe Manana <fdmanana@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'scripts/extract-fwblobs')
0 files changed, 0 insertions, 0 deletions