[PATCH] Revert "scsi: libfc: Add WARN_ON() when deleting rports"

2019-02-01 Thread Ross Lagerwall
st it will not be considered empty since the list_head is never initialized. 2) If the rport is deleted from the peer list using list_del_rcu(), then the list_head is in an undefined state and it is not considered empty. Signed-off-by: Ross Lagerwall --- drivers/scsi/libfc/fc_rport.c | 1 - 1

[PATCH] scsi: devinfo: Add Microsoft iSCSI target to 1024 sector blacklist

2018-03-26 Thread Ross Lagerwall
The Windows Server 2016 iSCSI target doesn't work with the Linux kernel initiator since the kernel started sending larger requests by default, nor does it implement the block limits VPD page. Apply the sector limit workaround for these targets. Signed-off-by: Ross Lagerwall --- drivers

Incorrect warning in fc_rport_destroy

2018-12-07 Thread Ross Lagerwall
rport is deleted from the peer list using list_del_rcu(), then the list_head is in an undefined state and it is not considered empty. I'm not sure how to check that the rport has been removed from the peer list without iterating through the list. Can this check either be removed or fixed? Thanks, -- Ross Lagerwall

Re: Incorrect warning in fc_rport_destroy

2018-12-14 Thread Ross Lagerwall
Ping? On 12/07/2018 03:25 PM, Ross Lagerwall wrote: Hi Hannes, Commit bbc0f8bd88ab ("scsi: libfc: Add WARN_ON() when deleting rports") added a warning whose intent was to check whether the rport was still linked into the peer list. It doesn't work as intended and I consistent

Re: [PATCH] scsi: devinfo: Add Microsoft iSCSI target to 1024 sector blacklist

2018-04-05 Thread Ross Lagerwall
ts by default, nor does it implement the block limits VPD page. Apply the sector limit workaround for these targets. Signed-off-by: Ross Lagerwall --- drivers/scsi/scsi_devinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/scsi_devinfo.c b/drivers/scsi/scsi_devi