Re: [PATCH 2/3] alua: retry alua rtpg extended header for illegal request response

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/17/2012 10:00 PM, Rob Evers wrote:
On 05/17/2012 05:02 PM, Moger, Babu wrote:

+         * handles this.
+         */
+        if (sense_hdr.sense_key == ILLEGAL_REQUEST&&
+            sense_hdr.asc == 0x24&&  sense_hdr.ascq == 0) {
+            rtpg_ext_hdr_req = 0;
+            goto retry;
We should probably have an exit criteria here. What if target misbehaves
(with ILLEGAL_REQUEST) even with rtpg_ext_hdr_req = 0.

Do you have a more detailed suggestion on the
exit criteria?


Yes I got your point.  I'll repost.

--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux