public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
* sync-related lockdep warnings
@ 2008-12-15 19:01 Sage Weil
  2008-12-15 19:42 ` Chris Mason
  2008-12-15 21:01 ` Chris Mason
  0 siblings, 2 replies; 4+ messages in thread
From: Sage Weil @ 2008-12-15 19:01 UTC (permalink / raw)
  To: linux-btrfs

Hi-

I've been regularly getting a lockdep warning on inode_lock vs tree->lock.  
It is quickly triggered by my code, which calls ioctl(fd, BTRFS_IOC_SYNC) 
(which just does a btrfs_sync_fs) at regular intervals.

	http://ceph.newdream.net/dump/btrfs-lockdep-sync-ioctl.txt

The second warning is similar, but looks to be a bit more revealing.  It 
is easily triggered by 'while [ 1 ] ; do sync ; done' and then something 
like 'echo a > a' a few times.

	http://ceph.newdream.net/dump/btrfs-lockdep-sync.txt

Let me know if there's any other info on my end that would help sort this 
out...

sage


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

end of thread, other threads:[~2008-12-17 16:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-15 19:01 sync-related lockdep warnings Sage Weil
2008-12-15 19:42 ` Chris Mason
2008-12-15 21:01 ` Chris Mason
2008-12-17 16:03   ` Chris Mason

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