btrfs: fix a lockdep_assert_locked() warning
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | btrfs: call __btrfs_remove_free_space_cache_locked on cache load failurefs/ | +34 | 1 reply | |
| 2/2 | btrfs: remove use btrfs_remove_free_space_cache instead of variantfs/ fs/ fs/ +2 more | +17 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] btrfs: fix a lockdep_assert_locked() warning
Hello,
With discard=async we're hitting a lockdep_assert_locked() in generic/475 in our CI setup. This just popped up recently because before lockdep would get disabled before it got this far. This series fixes the problem, and then cleans up the cleanup functions to reduce the code and exported functions. Thanks,
Josef
Josef Bacik (2):
btrfs: call __btrfs_remove_free_space_cache_locked on cache load
failure
btrfs: remove use btrfs_remove_free_space_cache instead of variant
fs/btrfs/block-group.c | 2 +- fs/btrfs/free-space-cache.c | 53 ++++++++++++++----------------- fs/btrfs/free-space-cache.h | 1 - fs/btrfs/tests/btrfs-tests.c | 2 +- fs/btrfs/tests/free-space-tests.c | 22 ++++++------- 5 files changed, 37 insertions(+), 43 deletions(-)
Signature · 1 line
2.26.3