Linux Btrfs filesystem development
 help / color / mirror / Atom feed
* [PATCH 0/2] btrfs: fix a lockdep_assert_locked() warning
@ 2022-08-08 20:10 Josef Bacik
  2022-08-08 20:10 ` [PATCH 1/2] btrfs: call __btrfs_remove_free_space_cache_locked on cache load failure Josef Bacik
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Josef Bacik @ 2022-08-08 20:10 UTC (permalink / raw)
  To: linux-btrfs, kernel-team

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(-)

-- 
2.26.3


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-08-24 15:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-08 20:10 [PATCH 0/2] btrfs: fix a lockdep_assert_locked() warning Josef Bacik
2022-08-08 20:10 ` [PATCH 1/2] btrfs: call __btrfs_remove_free_space_cache_locked on cache load failure Josef Bacik
2022-08-18 12:14   ` David Sterba
2022-08-08 20:10 ` [PATCH 2/2] btrfs: remove use btrfs_remove_free_space_cache instead of variant Josef Bacik
2022-08-24 15:12 ` [PATCH 0/2] btrfs: fix a lockdep_assert_locked() warning David Sterba

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox