]> git.ipfire.org Git - thirdparty/systemd.git/commit
scsi_id: retry inquiry ioctl if host_byte is DID_TRANSPORT_DISRUPTED
authorWenchao Hao <haowenchao@huawei.com>
Sun, 28 Aug 2022 08:44:56 +0000 (16:44 +0800)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 29 Aug 2022 05:10:05 +0000 (14:10 +0900)
commit9442b2f78f17309bb1c2bca0df735728b03ee732
treed3c461ec829c7d4b99006fcbfd33664e50cbda2c
parent1037178acfd093fb10d8f5e74f3072f78afdf7e8
scsi_id: retry inquiry ioctl if host_byte is DID_TRANSPORT_DISRUPTED

The inquiry is issued to kernel via ioctl, kernelspace would set
this inquiry command's retry count to 0 which means the command
would not be retried in kernel space even if the LLDs returned
a status which need to be retried. So we should take the retry
in user space.
src/udev/scsi_id/scsi_serial.c