>-----Original Message----- >From: linux-scsi-owner@xxxxxxxxxxxxxxx [mailto:linux-scsi- >owner@xxxxxxxxxxxxxxx] On Behalf Of Avri Altman >Sent: Sunday, January 27, 2019 8:08 AM >To: James E.J. Bottomley <jejb@xxxxxxxxxxxxxxxxxx>; Martin K. Petersen ><martin.petersen@xxxxxxxxxx>; linux-scsi@xxxxxxxxxxxxxxx; linux- >kernel@xxxxxxxxxxxxxxx; Evan Green <evgreen@xxxxxxxxxxxx> >Cc: Avi Shchislowski <avi.shchislowski@xxxxxxx>; Alex Lemberg ><alex.lemberg@xxxxxxx>; Avri Altman <avri.altman@xxxxxxx> >Subject: [EXT] [PATCH v4 3/3] scsi: ufs-bsg: Allow reading descriptors > >Add this functionality, placing the descriptor being read in the actual data buffer >in the bio. > >That is, for both read and write descriptors query upiu, we are using the job's >request_payload. This in turn, is mapped back in user land to the applicable >sg_io_v4 xferp: dout_xferp for write descriptor, and din_xferp for read descriptor. > >Signed-off-by: Avri Altman <avri.altman@xxxxxxx> Reviewed-by: Bean Huo <beanhuo@xxxxxxxxxx>