From patchwork Thu Sep 19 09:45:45 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hannes Reinecke X-Patchwork-Id: 11152031 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0B56E17E6 for ; Thu, 19 Sep 2019 09:45:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E00A6208C0 for ; Thu, 19 Sep 2019 09:45:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388872AbfISJpw (ORCPT ); Thu, 19 Sep 2019 05:45:52 -0400 Received: from mx2.suse.de ([195.135.220.15]:59254 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2387767AbfISJpv (ORCPT ); Thu, 19 Sep 2019 05:45:51 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id D53F5B66A; Thu, 19 Sep 2019 09:45:49 +0000 (UTC) From: Hannes Reinecke To: Jens Axboe Cc: linux-scsi@vger.kernel.org, "Martin K. Petersen" , James Bottomley , Christoph Hellwig , linux-block@vger.kernel.org, Hans Holmberg , Damien Le Moal , Hannes Reinecke Subject: [RFC PATCH 0/2] blk-mq I/O scheduling fixes Date: Thu, 19 Sep 2019 11:45:45 +0200 Message-Id: <20190919094547.67194-1-hare@suse.de> X-Mailer: git-send-email 2.16.4 Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org Hi all, Damien pointed out that there are some areas in the blk-mq I/O scheduling algorithm which have a distinct legacy feel to it, and prohibit multiqueue I/O schedulers from working properly. These two patches should clear up this situation, but as it's not quite clear what the original intention of the code was I'll be posting them as an RFC. So as usual, comments and reviews are welcome. Hannes Reinecke (2): blk-mq: fixup request re-insert in blk_mq_try_issue_list_directly() blk-mq: always call into the scheduler in blk_mq_make_request() block/blk-mq.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-)