On Sun, Jun 13, 2021 at 08:49:47AM -0700, Omar Kilani wrote: > Hi there, > > I appear to have stumbled upon a deadlock in wbt or rq-qos. > > My journal of a lot of data points is over here: > > https://github.com/openzfs/zfs/issues/12204 > > I initially deadlocked on RHEL 8.4's 4.18.0-305.3.1.el8_4.x86_64 > kernel, but the code in blk-wbt.c / blk-rq-qos.c is functionally > identical to 5.13.0-rc5, so I tried that and I'm able to deadlock that > as well. I believe the same code exists all the way back to 5.0.1. Recently Jan Kara fixed one rq-qos deadlock issue, can you check if the following patch fixes your issue? https://lore.kernel.org/linux-block/e14aeaa7-45a3-b2f0-7738-3613189ae1d4@xxxxxxxxx/T/#t Thanks, Ming