You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Skip tests if scsi_debug module is already loaded and in use
Several tests across block/, scsi/, dm/, md/, zbd/, nvme/ require exclusive
access to the scsi_debug module because they load, unload or reconfigure it.
When scsi_debug is already loaded by the environment (e.g., by another
driver or a previous setup), these tests fail with:
modprobe: FATAL: Module scsi_debug is in use.
Unloading scsi_debug failed
scsi_debug 327680 4
Instead of modifying common rc files—which would overskip unrelated tests,
this patch adds "_module_not_in_use scsi_debug" only to the tests that
actually depend on exclusive access to scsi_debug.
Signed-off-by: Disha Goel <[email protected]>
0 commit comments