RE: [PATCH v4 3/3] scsi: ufs-bsg: Allow reading descriptors

From: Avri Altman
Date: Thu Feb 07 2019 - 09:15:49 EST


Martin,
Is there any reason why this sires is not applied for 5.1?

Thanks,
Avri

> -----Original Message-----
> From: Avri Altman
> Sent: Tuesday, February 05, 2019 2:07 PM
> To: Martin K. Petersen <martin.petersen@xxxxxxxxxx>
> Cc: James E.J. Bottomley <jejb@xxxxxxxxxxxxxxxxxx>; SCSI <linux-
> scsi@xxxxxxxxxxxxxxx>; LKML <linux-kernel@xxxxxxxxxxxxxxx>; Avi
> Shchislowski <Avi.Shchislowski@xxxxxxx>; Alex Lemberg
> <Alex.Lemberg@xxxxxxx>; 'Evan Green' <evgreen@xxxxxxxxxxxx>
> Subject: RE: [PATCH v4 3/3] scsi: ufs-bsg: Allow reading descriptors
>
> 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>