RE: [PATCH 6/8] bsg-lib: handle bidi requests without block layer help

From: Avri Altman
Date: Mon Nov 19 2018 - 07:31:59 EST




> -----Original Message-----
> From: linux-scsi-owner@xxxxxxxxxxxxxxx <linux-scsi-owner@xxxxxxxxxxxxxxx>
> On Behalf Of Christoph Hellwig
> Sent: Sunday, November 11, 2018 3:32 PM
> To: axboe@xxxxxxxxx; martin.petersen@xxxxxxxxxx; ooo@xxxxxxxxxxxxxxx
> Cc: Johannes Thumshirn <jthumshirn@xxxxxxx>; Benjamin Block
> <bblock@xxxxxxxxxxxxxxxxxx>; linux-scsi@xxxxxxxxxxxxxxx; linux-
> block@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx
> Subject: [PATCH 6/8] bsg-lib: handle bidi requests without block layer help
>
> We can just stash away the second request in struct bsg_job instead
> of using the block layer req->next_rq field, allowing for the eventual
> removal of the latter.
>
> Signed-off-by: Christoph Hellwig <hch@xxxxxx>
Tested-by: Avri Altman <avri.altman@xxxxxxx>

Regardless of the ongoing discussion with Benjamin -
Tested the scsi pass-through (ufs-bsg) path - nothing is broken.