diff options
| author | Sun YangKai <sunk67188@gmail.com> | 2026-01-14 11:47:03 +0800 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2026-02-03 07:56:14 +0100 |
| commit | 4b7ecd0984e34262430b9db7efbfaf293b4b4d3c (patch) | |
| tree | 13b168b6f70731faa828ef85aeb959adc2c9376a /include/linux/i2c/git@git.tavy.me:linux.git | |
| parent | 19eff93dc738e8afaa59cb374b44bb5a162e6c2d (diff) | |
btrfs: consolidate reclaim readiness checks in btrfs_should_reclaim()
Move the filesystem state validation from btrfs_reclaim_bgs_work() into
btrfs_should_reclaim() to centralize the reclaim eligibility logic.
Since it is the only caller of btrfs_should_reclaim(), there's no
functional change.
Reviewed-by: Boris Burkov <boris@bur.io>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Sun YangKai <sunk67188@gmail.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'include/linux/i2c/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
