Re: [PATCH] Btrfs: fix lockdep warning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Apr 17, 2013 at 12:19:16PM -0400, Josef Bacik wrote:
> The locking order for stuff is
> 
> __sb_start_write
> ordered_mutex
> 
> but with sync() we don't do __sb_start_write for some strange reason, which
> means that our iput in wait_ordered_extents could start a transaction which does
> the __sb_start_write while we're holding the ordered_mutex.  Fix this by using
> delayed iput in sync.  Thanks,

No lockdep warning anymore.

david
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux