>-----Original Message----- >From: linux-scsi-ow...@vger.kernel.org [mailto:linux-scsi- >ow...@vger.kernel.org] On Behalf Of Avri Altman >Sent: Sunday, January 27, 2019 8:08 AM >To: James E.J. Bottomley <j...@linux.vnet.ibm.com>; Martin K. Petersen ><martin.peter...@oracle.com>; linux-s...@vger.kernel.org; linux- >ker...@vger.kernel.org; Evan Green <evgr...@chromium.org> >Cc: Avi Shchislowski <avi.shchislow...@wdc.com>; Alex Lemberg ><alex.lemb...@wdc.com>; Avri Altman <avri.alt...@wdc.com> >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.alt...@wdc.com> Reviewed-by: Bean Huo <bean...@micron.com>