Messages in this thread | | | Date | Wed, 8 Mar 2017 07:11:13 -0800 | From | Christoph Hellwig <> | Subject | Re: out of range LBA using sg_raw |
| |
Hi Kashyap,
for SG_IO passthrough requests we can't validate command validity for commands as the block layer treats them as opaque. The SCSI device implementation needs to handle incorrect parameter to be robust.
For your fast path bypass the megaraid driver assumes part of the SCSI device implementation, so it will have to check for validity.
| |