Re: [RESEND PATCH] mptsas: Fixed code to check whether the LU type is SSC or not for SILI bit in READ_6 and READ_16 CDB

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

 



On Tue, 2012-03-06 at 12:16 +0530, nagalakshmi.nandigama@xxxxxxx wrote:
> This SILI bit (suppress incorrect length indicator) is defined only for SSC
> READ(6) and READ(16) commands. For other device types bit is part of LBA

This isn't right ... it is for READ(6) but it's FUA_NV for
READ(10,12,16) on block devices.

> field. In the current implementation, it is not checked whether the logical
> unit is a SSC device.
> 
> 
> Added code for checking the LU type is SSC for SILI bit in READ_6 and READ_16 CDB 

I still don't have a description of what you think the actual bug is.

I think the problem is that strict block length checking is accidentally
turned off if FUA_NV is set on a block device (which currently doesn't
happen in practise ... nor do we ever really use READ_6 for block
devices) ... is that it?

James


--
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