On Tue, May 20, 2025 at 05:06:26PM -0700, Bart Van Assche wrote: > If zoned block devices are stacked and if a lower driver reports an I/O > error, this triggers nested locking of spinlocks. Rework the zoned block > device code such that this doesn't happen anymore. This patch fixes the > following kernel warning: Please explain the issue instead of just dumping lockdep output that needs a fair amount of effort to decipher. From a quick looks this seems to be about the problem that the BIO_ZONE_WRITE_PLUGGING is interpreted by the lower layer while it is owned by the upper layer, which we've discussed just yesterday. We need to fix that instead of working around it. Also please help creating a reproducer using null_blk or scsi_debug so that we can verify the fixes and have a reproducer in blktests to avoid reintroducing issues here.