public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] A couple of lockdep fixes
@ 2020-09-01 12:09 Josef Bacik
  2020-09-01 12:09 ` [PATCH 1/2] btrfs: init sysfs for devices outside of the chunk_mutex Josef Bacik
  2020-09-01 12:09 ` [PATCH 2/2] btrfs: do not create raid sysfs entries under chunk_mutex Josef Bacik
  0 siblings, 2 replies; 6+ messages in thread
From: Josef Bacik @ 2020-09-01 12:09 UTC (permalink / raw)
  To: linux-btrfs, kernel-team

Hello,

These are the last two lockdep splats I'm able to see in my testing.  We have
like 4 variations of the same lockdep splat that's addressed by 

btrfs: do not create raid sysfs entries under chunk_mutex

Basically this particular dependency pulls in the kernfs_mutex under the
chunk_mutex, and so we have like 4 issues in github with slightly different
splats, but are all fixed by that fix.  With these two patches (and the one I
sent the other day for add_missing_dev) I haven't hit any lockdep splats in 6
runs of xfstests on 3 different VMs in the last 12 hours.  That means it should
take Dave at least 2 runs before he hits a new one.  Thanks,

Josef Bacik (2):
  btrfs: init sysfs for devices outside of the chunk_mutex
  btrfs: do not create raid sysfs entries under chunk_mutex

 fs/btrfs/block-group.c | 23 +++++++++++++++++++----
 fs/btrfs/sysfs.c       | 25 +++++++++++++++++++++++--
 fs/btrfs/volumes.c     |  7 ++++---
 3 files changed, 46 insertions(+), 9 deletions(-)

-- 
2.26.2


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

end of thread, other threads:[~2020-09-01 17:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-01 12:09 [PATCH 0/2] A couple of lockdep fixes Josef Bacik
2020-09-01 12:09 ` [PATCH 1/2] btrfs: init sysfs for devices outside of the chunk_mutex Josef Bacik
2020-09-01 15:28   ` David Sterba
2020-09-01 12:09 ` [PATCH 2/2] btrfs: do not create raid sysfs entries under chunk_mutex Josef Bacik
2020-09-01 15:35   ` David Sterba
2020-09-01 17:31     ` Josef Bacik

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