RE: [PATCH 6/8] bsg-lib: handle bidi requests without block layer help
From: Avri Altman <Avri.Altman@wdc.com>
Date: 2018-11-19 12:31:59
Also in:
linux-scsi, lkml
From: Avri Altman <Avri.Altman@wdc.com>
Date: 2018-11-19 12:31:59
Also in:
linux-scsi, lkml
-----Original Message----- From: linux-scsi-owner@vger.kernel.org <redacted> On Behalf Of Christoph Hellwig Sent: Sunday, November 11, 2018 3:32 PM To: axboe@kernel.dk; martin.petersen@oracle.com; ooo@electrozaur.com Cc: Johannes Thumshirn <redacted>; Benjamin Block [off-list ref]; linux-scsi@vger.kernel.org; linux- block@vger.kernel.org; linux-kernel@vger.kernel.org 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@lst.de>
Tested-by: Avri Altman <avri.altman@wdc.com> Regardless of the ongoing discussion with Benjamin - Tested the scsi pass-through (ufs-bsg) path - nothing is broken.