Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp3820839pxb; Tue, 7 Sep 2021 08:16:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzXlIRQi094qrO6HOvfw9RZlKkEvauWnyLRON7U5npJDJfAYxk3ojdm6H8knNNv192V58ip X-Received: by 2002:a6b:f919:: with SMTP id j25mr14413464iog.2.1631027789715; Tue, 07 Sep 2021 08:16:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631027789; cv=none; d=google.com; s=arc-20160816; b=TL3E+Bzu3LqjO6csXGmEuDnvm/o27YEQZFx9L9PyOBYQztYo+OaYVTMZKtbGnPY69/ 8jctakveMSihXRFXPU1W0WLdFsz6dEPAoJmGfB3Wb2Fqhj8R8w47Ap+UwwmtnAicxer5 CFnAUr3GeTmIN78xdKGe96oEjBznu6BiB/Q8HwELv5LJTUTrH8tuiNY9cJTG44ll6sWH o81ia4febvgwlWY3R912lMJ1L8wWz36ZqL8+9eX5ws5iX58Oz74MuhmXj0hqeIL7nAjv +9ZL/wIpBx9Kb81hnE0vRr66Nv73Xds5F0YvITogEJVMJ7fzMMcFIjL/bhZQ/F/X+rvJ Xheg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=gsd2cdPywaCZVtygSGO4OtqLBtYoIbpYjnfPbYYEukA=; b=zeJN01jVASqkOUoQnonjYHbIB7UISHSzv34omhbw62/AJzMHtrcsoOVKoYSqmgI3LS mZnQo3f8Gbbp90h26F0TgAO3cVW33h8e+BvHgF+A/R7q2QPlYrPNoX6tl9PN+2j/vPNH xNIJ4rNG/SBi8cBfnPIEd8vfYbQaWwREZk/X+HKHdxog+FDpEoVgaWcEk5MEUR5zj68T 8xgs6PaRVMWdHqJOHiKRxdPNEoOmDcLu45+Kz1OBNQ4q6Ax+B2TVml14wIPclE2yBSgR tVjarjG5X1rI+PYcFh5EBPUCwxkFViUzHUibwj51P6Xy5rssmx/IyvHZGnKAJfZoU1mc IEtg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f5si12121002ils.71.2021.09.07.08.16.15; Tue, 07 Sep 2021 08:16:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345034AbhIGPQR (ORCPT + 99 others); Tue, 7 Sep 2021 11:16:17 -0400 Received: from mail-pj1-f42.google.com ([209.85.216.42]:38414 "EHLO mail-pj1-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345032AbhIGPQN (ORCPT ); Tue, 7 Sep 2021 11:16:13 -0400 Received: by mail-pj1-f42.google.com with SMTP id g13-20020a17090a3c8d00b00196286963b9so1729168pjc.3; Tue, 07 Sep 2021 08:15:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=gsd2cdPywaCZVtygSGO4OtqLBtYoIbpYjnfPbYYEukA=; b=OW2Qxr1FwjbcJTXcs0OSRhCJ/LEx5L9QlivS0pSwUIdIMlPjtcGrFooSgIDDTmu5He VSo6ak+628gZqILyb4aFNw8R/eJcfzUej9fq/u4d83uHSZx4vxiqsBlUUpX0e+1LsSqG XnaPCGvYaMmKm9Dvv5tV5UQEv/EF+LC8KpSEGrqIPFE8qGOXNw/zHEPSEAaXtiEjbcjU NI893fb854bBVlpstRtfN4otuaJ7WRB+X/2vNcSxNGeZq8zWJbC9a0D9apbWll5KyJvZ MjvnhwiXnsmJazubpdrG8AALAlJuLhXzDI5zXfAlw/bcXO3G9om/6+MehIVI9thhNINY bjbw== X-Gm-Message-State: AOAM5339LHKOj8IW3FZguAAZrWgSk1l5BNUWmE/EnKCm9pwr1Aqi3fGY 3UluTlpi4gFr+yF6ebb+shrrGmd5Tx8= X-Received: by 2002:a17:90b:120a:: with SMTP id gl10mr5102122pjb.234.1631027706589; Tue, 07 Sep 2021 08:15:06 -0700 (PDT) Received: from [192.168.50.110] (c-73-241-217-19.hsd1.ca.comcast.net. [73.241.217.19]) by smtp.gmail.com with ESMTPSA id 15sm11209207pfu.192.2021.09.07.08.15.04 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 07 Sep 2021 08:15:05 -0700 (PDT) Subject: Re: [PATCH 2/2] Revert "mq-deadline: Fix request accounting" To: Niklas Cassel , Jens Axboe Cc: Damien Le Moal , Paolo Valente , Ming Lei , "linux-block@vger.kernel.org" , "linux-kernel@vger.kernel.org" References: <20210907142145.112096-1-Niklas.Cassel@wdc.com> <20210907142145.112096-3-Niklas.Cassel@wdc.com> From: Bart Van Assche Message-ID: Date: Tue, 7 Sep 2021 08:15:03 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <20210907142145.112096-3-Niklas.Cassel@wdc.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/7/21 7:21 AM, Niklas Cassel wrote: > blk-mq will no longer call the I/O scheduler .finish_request() callback > for requests that were never inserted to the I/O scheduler. I do not agree. Even with patch 1/2 from this series applied, finish_request() will still be called for requests inserted by blk_insert_cloned_request() although these requests are never inserted to the I/O scheduler. Bart.