[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5d33aa82-ed40-f4fb-a60d-99adc0f367ed@huawei.com>
Date: Tue, 22 Mar 2022 14:37:55 +0000
From: John Garry <john.garry@...wei.com>
To: Christoph Hellwig <hch@....de>
CC: <axboe@...nel.dk>, <damien.lemoal@...nsource.wdc.com>,
<bvanassche@....org>, <jejb@...ux.ibm.com>,
<martin.petersen@...cle.com>, <ming.lei@...hat.com>,
<hare@...e.de>, <chenxiang66@...ilicon.com>,
<linux-block@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<linux-ide@...r.kernel.org>, <linux-scsi@...r.kernel.org>,
<dm-devel@...hat.com>, <beanhuo@...ron.com>
Subject: Re: [PATCH 04/11] scsi: libsas: Send SMP commands through the block
layer
On 22/03/2022 11:23, Christoph Hellwig wrote:
> Wouldn't it make more sense to have a new member in th Scsi_Host_template
> that gets called for these request early from ->queue_rq instead of the
> new request_queue and custome ops?
I had something like this before, but it also has its disadvantages.
Let me revisit.
>
> FYI, I think reusing the block layer for all these command is a good
> idea but the way it is done here seems a bit ugly and not very
> maintainable.
>
Cheers,
John
Powered by blists - more mailing lists