Yi Zhang

Results 63 comments of Yi Zhang

We can use below patch to reproduce the issue: ``` diff --git a/tests/nvme/063 b/tests/nvme/063 index 5bfe8be..42447c8 100755 --- a/tests/nvme/063 +++ b/tests/nvme/063 @@ -51,11 +51,11 @@ test() { _nvme_connect_subsys --dhchap-secret "${hostkey}"...

I tried the change [1], and the issue seems fixed now. [1] ``` diff --git a/common/nvme b/common/nvme index 3d43790..e0657a2 100644 --- a/common/nvme +++ b/common/nvme @@ -196,6 +196,9 @@ _cleanup_nvmet() {...

Another failure with nvme/rdma nvme/061 ``` # use_rxe=1 nvme_trtype=rdma ./check nvme/058 nvme/061 nvme/058 (tr=rdma) (test rapid namespace remapping) [passed] runtime 4.617s ... 4.569s nvme/061 (tr=rdma) (test fabric target teardown and...

> The patch in [#207 (comment)](https://github.com/linux-blktests/blktests/issues/207#issuecomment-3477976668) seems reasonable to me but I think it should also be addressed in the kernel (configfs.c). When the subsys is removed and `nvmet_port_subsys_drop_link` is...

I added some debug log and found that removing the scsi-debug takes about 6s. ``` diff --git a/check b/check index 6d77d8e..e86c233 100755 --- a/check +++ b/check @@ -472,6 +472,7 @@...

Here is the journalctl log during the scsi-debug removal ``` Nov 13 05:05:49 systemd-udevd[5427]: Worker [8163] exited. Nov 13 05:05:49 systemd-udevd[5427]: Worker [8161] exited. Nov 13 05:05:49 systemd-udevd[5427]: Worker [8059]...

I tried downgrading the systemd to systemd-257.9-2.fc42.s390x, and the scsi-debug can be quickly removed. ``` # rpm -qa systemd systemd-257.9-2.fc42.s390x [ 7905.585352] Before _exit_scsi_debug [ 7905.585510] _exit_scsi_debug: start udevadm settle...

Filed one systemd issue to track it: http://github.com/systemd/systemd/issues/39711

Seems the error log is from https://github.com/systemd/systemd/blob/main/src/libsystemd/sd-varlink/varlink-util.c#L67

Here is part of the ude event during the test: ``` KERNEL[150.329185] add /devices/pseudo_0/adapter2/host9/target9:0:0 (scsi) KERNEL[150.329235] remove /devices/virtual/bdi/11:3 (bdi) KERNEL[150.329321] add /devices/pseudo_0/adapter2/host9/target9:0:0/9:0:0:0 (scsi) KERNEL[150.339519] add /devices/virtual/bdi/11:0 (bdi) KERNEL[150.339710] add /devices/pseudo_0/adapter2/host9/target9:0:0/9:0:0:0/block/sr0...