Skip to contentSkip to conversation

blktests failures with v7.3 kernel

DISCUSSION Shin'ichiro Kawasaki 1 participant 1 message Oct 21

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

Hi all,

I ran the latest blktests (git hash: 9ad5a10fa8ed) with the v7.3 kernel. I observed 2 new failures listed below, which were triggered by kernel changes in v7.3-rcX. The failures reported for v7.3-rc1 kernel [1] were no longer observed.

[1] https://lore.kernel.org/linux-block/apkYN8Os5A6VXqS6@shinhome/

List of failures
================
#1: nvme/004,031 (rdma transport)
#2: nvme/052

Failure description
===================

#1: nvme/004,031 (rdma transport)

The test cases nvme/004 and nvme/031 fail occasionally for rdma transport due to the lockdep WARN related to the two locks nvmet_config_sem and &id_priv->handler_mutex. It is easier to recreate with rxe driver. It is rather rare, but the failure is observed with siw driver also.

The trigger commit was

2a8513091d2f ("nvme-rdma: parallelize I/O queue allocation and startup")

in v7.3-rc1. I poseted a fix patch candidate [2].

[2] https://lore.kernel.org/linux-nvme/[email protected]/

#2: nvme/052

When it is repeated several times, the test case nvme/052 fails [3]. The trigger commit was

42b0f5196dc2 ("nvmet: defer setting ns->enabled to false in nvmet_ns_disable()")

in v7.3-rc6. Nilay kindly provided a fix patch [4].

[3] https://lore.kernel.org/all/ar30Q5H1fuyFtDwM@shinmob/
[4] https://lore.kernel.org/linux-nvme/[email protected]/