Martin, Any further comments? Thanks, Avri > -----Original Message----- > From: Evan Green <evgreen@xxxxxxxxxxxx> > Sent: Monday, January 28, 2019 8:42 PM > To: Avri Altman <Avri.Altman@xxxxxxx> > Cc: James E.J. Bottomley <jejb@xxxxxxxxxxxxxxxxxx>; Martin K. Petersen > <martin.petersen@xxxxxxxxxx>; SCSI <linux-scsi@xxxxxxxxxxxxxxx>; LKML > <linux-kernel@xxxxxxxxxxxxxxx>; Avi Shchislowski <Avi.Shchislowski@xxxxxxx>; > Alex Lemberg <Alex.Lemberg@xxxxxxx> > Subject: Re: [PATCH v4 3/3] scsi: ufs-bsg: Allow reading descriptors > > On Sat, Jan 26, 2019 at 11:08 PM Avri Altman <avri.altman@xxxxxxx> wrote: > > > > 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: Evan Green <evgreen@xxxxxxxxxxxx>