Re: [PATCH 1/2] scsi:core:Add sysfs interface to control if skip lun with PQ=1

2022-12-18 Thread Mike Christie
On 12/14/22 1:08 AM, Wenchao Hao wrote: > > When iSCSI initiator logged in target, the target attached none valid > lun but lun0. lun0 is not an valid disk, while it would response > inquiry command with PQ=1 and other general scsi commands like probe lun. > The others luns of target is

Antw: [EXT] [PATCH 1/2] scsi:core:Add sysfs interface to control if skip lun with PQ=1

2022-12-13 Thread Ulrich Windl
>>> "'Wenchao Hao' via open-iscsi" schrieb am 14.12.2022 um 08:08 in Nachricht <20221214070846.1808300-2-haowenc...@huawei.com>: ... > + * Targets set PQ=1 would be skipped if shost->no_skip_pq1 is not set I would write "Targets that set ..." instead. ... -- You received this message

[PATCH 1/2] scsi:core:Add sysfs interface to control if skip lun with PQ=1

2022-12-13 Thread 'Wenchao Hao' via open-iscsi
commit 948e922fc4461 ("scsi: core: map PQ=1, PDT=other values to SCSI_SCAN_TARGET_PRESENT") returns SCSI_SCAN_TARGET_PRESENT if inquiry returns PQ=1. According to the SPC, PQ=1 means the addressed logical unit having the indicated device type is not accessible, it does not mean the addressed