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?