]> www.infradead.org Git - users/jedix/linux-maple.git/commit
btrfs: simplify tracking progress for the extent map shrinker
authorFilipe Manana <fdmanana@suse.com>
Wed, 4 Sep 2024 16:03:43 +0000 (17:03 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 11 Nov 2024 13:34:17 +0000 (14:34 +0100)
commit70a5f9e266cf1f544f33ce56f1eee634d79f3030
tree6ead3fd624eff8a599d533b024e960d787ef4a09
parent1020443840569535f6025a855958f07ea3eebf71
btrfs: simplify tracking progress for the extent map shrinker

Now that the extent map shrinker can only be run by a single task (as a
work queue item) there is no need to keep the progress of the shrinker
protected by a spinlock and passing the progress to trace events as
parameters. So remove the lock and simplify the arguments for the trace
events.

Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/disk-io.c
fs/btrfs/extent_map.c
fs/btrfs/fs.h
include/trace/events/btrfs.h