Re: [PATCH 1/3] bsg: Make job reply size different than SCSI_SENSE_BUFFERSIZE

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

 



On Mon, Nov 26, 2018 at 11:02:42AM +0200, Avri Altman wrote:
> The size of the bsg job reply was set to SCSI_SENSE_BUFFERSIZE back then
> while it was part of the bsg_command. However, for the scsi transport
> that uses it, it does not carry the scsi sense information.
> 
> Rename it to clarify this point, and while at it, make it a little bit
> larger, so it'll be able to carry some useful information,
> e.g. ufs descriptors, should be needed.

So this will allocate a huge buffer for replies just in for your
read case.  Also shouldn't the descriptor being read be placed in
the actual data buffer in the bio, not in this magic field?



[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