Return-Path: Subject: Re: [PATCH 04/28] ide: convert to blk-mq To: Jens Axboe , linux-block@vger.kernel.org, linux-scsi@vger.kernel.org, linux-ide@vger.kernel.org Cc: David Miller References: <20181025211039.11559-1-axboe@kernel.dk> <20181025211039.11559-5-axboe@kernel.dk> From: Hannes Reinecke Message-ID: Date: Sat, 27 Oct 2018 12:51:31 +0200 MIME-Version: 1.0 In-Reply-To: <20181025211039.11559-5-axboe@kernel.dk> Content-Type: text/plain; charset=utf-8; format=flowed List-ID: On 10/25/18 11:10 PM, Jens Axboe wrote: > ide-disk and ide-cd tested as working just fine, ide-tape and > ide-floppy haven't. But the latter don't require changes, so they > should work without issue. > > Add helper function to insert a request from a work queue, since we > cannot invoke the blk-mq request insertion from IRQ context. > > Cc: David Miller > Signed-off-by: Jens Axboe > --- > drivers/ide/ide-atapi.c | 25 ++++-- > drivers/ide/ide-cd.c | 175 +++++++++++++++++++++------------------- > drivers/ide/ide-disk.c | 5 +- > drivers/ide/ide-io.c | 101 +++++++++++++---------- > drivers/ide/ide-park.c | 4 +- > drivers/ide/ide-pm.c | 28 ++----- > drivers/ide/ide-probe.c | 68 +++++++++++----- > include/linux/ide.h | 13 ++- > 8 files changed, 240 insertions(+), 179 deletions(-) > There are some things here which are curious (like always setting the queue depth to 32, and the insert_head thingie), but as this is legacy anyway: Reviewed-by: Hannes Reinecke Cheers, Hannes