common: Replace _have_module() with _have_driver()
PATCH 1/1 common: Replace _have_module() with _have_driver()
nvmeof-mp and srp test groups can be executed with built-in scsi_dh_alua, scsi_dh_emc and scsi_dh_rdac drivers.
--- tests/nvmeof-mp/rc | 7 ++++--- tests/srp/rc | 6 +++--- 2 files changed, 7 insertions(+), 6 deletions(-)
tests/nvmeof-mp/rc +4 -3
@@ -26,6 +26,10 @@ group_requires() { _have_configfs || return + _have_driver scsi_dh_alua + _have_driver scsi_dh_emc + _have_driver scsi_dh_rdac + _have_module dm_multipath _have_module dm_queue_length _have_module dm_service_time
@@ -36,9 +40,6 @@ group_requires() { _have_module nvme-rdma _have_module nvmet-rdma _have_module rdma_rxe - _have_module scsi_dh_alua - _have_module scsi_dh_emc - _have_module scsi_dh_rdac for p in mkfs.ext4 mkfs.xfs multipath multipathd pidof rdma fio; do _have_program "$p" || return
tests/srp/rc +3 -3
@@ -37,6 +37,9 @@ group_requires() { fi _have_driver sd_mod _have_driver sg + _have_driver scsi_dh_alua + _have_driver scsi_dh_emc + _have_driver scsi_dh_rdac _have_module dm_multipath _have_module dm_queue_length
@@ -50,9 +53,6 @@ group_requires() { _have_module rdma_cm _have_module rdma_rxe _have_module scsi_debug - _have_module scsi_dh_alua - _have_module scsi_dh_emc - _have_module scsi_dh_rdac _have_module target_core_iblock _have_module target_core_mod
Signature · 1 line
2.34.1
Quoted 6 lines · Xiao Yang
nvmeof-mp and srp test groups can be executed with built-in
scsi_dh_alua,scsi_dh_emcandscsi_dh_rdacdrivers.Signed-off-by Xiao Yang <[email protected]>---
we might remove nvmeof-mp, so not sure if that part is needed, let's wait for others to reply ..
-ck
Quoted 2 lines · Chaitanya Kulkarni
we might remove nvmeof-mp, so not sure if that part is needed, let's wait for others to reply ..
Hi CK,
Thanks for your feedback.
Could you tell me why nvmeof-mp will be removed? Is there any URL about the decision?
Best Regards,
Xiao Yang
Quoted 11 lines · Xiao Yang (Fujitsu)
Quoted 2 lines · Chaitanya Kulkarni
we might remove nvmeof-mp, so not sure if that part is needed, let's wait for others to reply ..
Hi CK,
Thanks for your feedback.
Could you tell me why nvmeof-mp will be removed? Is there any URL about the decision?Best Regards,
Xiao Yang
We talked about this in the LSFMM, I hope to see lwn article covering blktests session ..
-ck
Quoted 10 lines · Chaitanya Kulkarni
Quoted 9 lines · Xiao Yang (Fujitsu)
Quoted 2 lines · Chaitanya Kulkarni
we might remove nvmeof-mp, so not sure if that part is needed, let's wait for others to reply ..
Hi CK,
Thanks for your feedback.
Could you tell me why nvmeof-mp will be removed? Is there any URL about the decision?
Quoted 5 lines
Quoted 2 lines
Best Regards,
Xiao YangWe talked about this in the LSFMM, I hope to see lwn article covering blktests session ..
I think a couple of those test might make sense to be migrated to the nvme suite. I am thinking about the test with simulate_network_failure_loop.
Quoted 11 lines · Daniel Wagner
Quoted 10 lines · Chaitanya Kulkarni
Quoted 9 lines · Xiao Yang (Fujitsu)
Quoted 2 lines · Chaitanya Kulkarni
we might remove nvmeof-mp, so not sure if that part is needed, let's wait for others to reply ..
Hi CK,
Thanks for your feedback.
Could you tell me why nvmeof-mp will be removed? Is there any URL about the decision?
Quoted 5 lines
Quoted 5 lines
Quoted 2 lines
Best Regards,
Xiao YangWe talked about this in the LSFMM, I hope to see lwn article covering blktests session ..
Yes, the conclusion at LSFMM was to remove nvmeof-mp test group, since dm- multipath for NVME devices is no longer recommended.
Xiao, could you repost your patch to cover only srp?
Quoted 3 lines
I think a couple of those test might make sense to be migrated to the nvme suite. I am thinking about the test with
simulate_network_failure_loop.
It does not sound reasonable to keep dm-multipath tests in nvme group. I guess you mean to reuse the simulate_network_failure_loop not to test dm-multipath but to test nvme fabrics transports, right?
Quoted 6 lines · Shinichiro Kawasaki
Quoted 2 lines
I think a couple of those test might make sense to be migrated to the nvme suite. I am thinking about the test with
simulate_network_failure_loop.It does not sound reasonable to keep dm-multipath tests in nvme group. I guess you mean to reuse the
simulate_network_failure_loopnot to test dm-multipath but to test nvme fabrics transports, right?
Correct. I think it would be good to carry over the network failure testing for the fabrics transport test in the nvme group. I can look into this next week.
Quoted 4 lines · Shinichiro Kawasaki
Yes, the conclusion at LSFMM was to remove nvmeof-mp test group, since dm- multipath for NVME devices is no longer recommended.
Xiao, could you repost your patch to cover only srp?
Hi Kawasaki-san,
Sorry, I overlooked the comment. I have sent the v2 patch.
https://lore.kernel.org/linux-block/[email protected]/T/#u
Best Regards,
Xiao Yang
Quoted 4 lines · Shinichiro Kawasaki
Yes, the conclusion at LSFMM was to remove nvmeof-mp test group, since dm- multipath for NVME devices is no longer recommended.
Xiao, could you repost your patch to cover only srp?
Hi Kawasaki-san,
Sorry, I overlooked the comment. I have sent v2 patch.
https://lore.kernel.org/linux-block/[email protected]/T/#u
Best Regards,
Xiao Yang