in case a device is faulty we identify the situation and skip sg_inq + sontinue to to do the rest of the umount flow as needed.
this is done to prevent a situation where if a device has been faulty for a while and we try to umount it (~6 minutes) the sg_inq command usually gets stuck.
this should work for both ubuntu + red hat (the multipath output is a bit differente between them)
Coverage increased (+1.3%) to 57.742% when pulling 9b2f0770aed822345c84878dba4d53b2df378382 on fix/UB-600_remove_faulty_device_with_no_sginq into 1c0104b66f5f882340b1b5d7d3e0a6a269a1d5a7 on dev.
in case a device is faulty we identify the situation and skip sg_inq + sontinue to to do the rest of the umount flow as needed. this is done to prevent a situation where if a device has been faulty for a while and we try to umount it (~6 minutes) the sg_inq command usually gets stuck. this should work for both ubuntu + red hat (the multipath output is a bit differente between them)
This change is