]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
common/scsi_debug: fix removal of scsi_debug module
authorEryu Guan <eguan@redhat.com>
Mon, 11 Jan 2016 04:08:20 +0000 (15:08 +1100)
committerDave Chinner <david@fromorbit.com>
Mon, 11 Jan 2016 04:08:20 +0000 (15:08 +1100)
commitef1932867e2a1ca25451157c20300d10cb4e369d
tree86af9950a72036a179dc5da2755837e1fa6603f7
parentcc2dce716f2734dbf82c76c4bcd626d0f606e662
common/scsi_debug: fix removal of scsi_debug module

Occasionally scsi_debug cannot be removed because it's still in use and
causes xfs/279 to fail.

Now dryrun the removal by modprobe firstly then do the real rmmod.

Signed-off-by: Eryu Guan <eguan@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
common/scsi_debug