On Thu 20-10-16 14:04:00, Eric Whitney wrote: > As reported in today's concall, generic/095 triggered a lockdep warning > during my regression run on a 4.9-rc1 kernel in the 4k test case using the > latest xfstests-bld test appliance. The warning is attached below, and > involves both ext4's direct I/O path and the quota code. > > This failure is difficult to reproduce - 120 out of 120 subsequent trials in > the 4k test case completed successfully. No generic/095 failures occurred in > any other test appliance test case during regression. Also, I've not seen > this particular failure in regression runs prior to 4.9-rc1. Thanks for report. I've already seen that report in my testing as well and I'm actually able to reproduce it pretty reliably. It is a result of changes in lockdep annotation of fs freezing - in particular commit f1a9622037cd370460fd06bb7e28d0f01ceb8ef1 "fs/super.c: don't fool lockdep in freeze_super() and thaw_super() paths". And it is a real deadlock possibility although it is probably close to impossible to hit in practice. The immediate problem is with lock ranking of dqonoff_mutex which ranks above fault freeze protection but during fs freezing it gets acquired with fault freeze protection held. It it on my todo list to look into fixing this but it won't be trivial so I didn't get to it yet. Honza -- Jan Kara <jack@xxxxxxxx> SUSE Labs, CR -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html