Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp1508705imm; Tue, 3 Jul 2018 12:30:56 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeJVdqRr49WaVcCoKgH6yRf1N/6N9daZ/AMcLCKGh/OxbvnmPjPjKFbx+yqqi4xGKu2ZD7U X-Received: by 2002:a17:902:5a4f:: with SMTP id f15-v6mr24381132plm.253.1530646256584; Tue, 03 Jul 2018 12:30:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530646256; cv=none; d=google.com; s=arc-20160816; b=d/9R6HMC59i6bsDD0IzTesC8LE3je1AxBycYJ5tejYtlRsSYjbFDedym+3WTKyUmoQ uZYmynOMaARENlkKSBP2x7aumSLUrdqpq/dArI5uRtePGunKmz/wfK3U8njhfMFb/If3 DU/Mo5mMv0J1JAbLw1l/3Iz5hBq69cxAZ2ewsqNmStCUESIQpK09ZjwIPPbKoavvblQg +kfgoVKe5ehdVSxP4oo7DaHeJjx9cgg0uNiGkG2tldi7FmscSo+B/bWjEcy9maqVw0WM zkgKAj+UkY+m4EAFlfShazp8WtKeU1Al9Ty9iYkxAxjpAcjM4y0Mrb6JKRfeus2KqSsh K6Ug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=PvIUjRiz9jjoGESc5a6F/I6t/Rz1cXcAqCrE9ddnZtE=; b=BxtLBx9xeYqsMTzhC6ugk5V3TKzgUnGJ3PKNJ3bDWQ7xSkolJ+8M3QrnGhICLNnE5R /sLWJ9YxPmPN7tgZK3bRu/zY/MRj9TteitXzqLIzBbH9X6gO9Ck7D0VSYkxe+hLy1d0A MVZOa00HczFi2Je4+IHecjIOOJf0CYNN2nWaCTuaywG/aoKaYOH2oR2xKUDSwLvhsps1 mYPF1r6EirZDi/M9Dycgfw9qZAPi4rtvHND5YRdlbdPDGyZ0U7XH2FCdZQ2vPBUWTZLy knDEYmARtW4nC5yfJ0+wpIFaweII/Vjh0HVqM7jehEiSWc8ay3Hms66XleTbG6YGmukA WAlQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=GNBqE2fS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u6-v6si1699837pld.74.2018.07.03.12.30.42; Tue, 03 Jul 2018 12:30:56 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=GNBqE2fS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753635AbeGCT3Q (ORCPT + 99 others); Tue, 3 Jul 2018 15:29:16 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:37898 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752061AbeGCT3O (ORCPT ); Tue, 3 Jul 2018 15:29:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To: Subject:Sender:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=PvIUjRiz9jjoGESc5a6F/I6t/Rz1cXcAqCrE9ddnZtE=; b=GNBqE2fS0wqk6KtmJ51cfaDSW 2D6f+1pfekAFmYZBSzxMuLCTydk5y23OpxWrtjcFfTsScy2W3vXl9yw5CMgEAbDG229XjQgvIcoBJ vJmt4ryyrjTvfOrSKDK7wQ27SouVsP6tY/Jbv3qPg9CkUM2g/ZMiI3keUq2gmF2EIqZVPRfdYjexx XuTns1JaUtpjLsn7yFvYPLbVFg0Pn2iobpapNzVvQD0gcgapGp4j4dGylh6GCDJtH1ypfFFZ82ytj a6lse9w8WZdFtyRb7EWZSitXKXwqrKc5gEIXzuODMB/OtEMHYeSe4yw0dKynwxy9blouh4u2otr65 Z5pPtVaBA==; Received: from static-50-53-52-16.bvtn.or.frontiernet.net ([50.53.52.16] helo=dragon.dunlab) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1faQzC-0005yL-9R; Tue, 03 Jul 2018 19:29:14 +0000 Subject: Re: [PATCH 11/14] rq-qos: introduce dio_bio callback To: Josef Bacik , axboe@kernel.dk, linux-kernel@vger.kernel.org, akpm@linux-foundation.org, hannes@cmpxchg.org, tj@kernel.org, linux-fsdevel@vger.kernel.org, linux-block@vger.kernel.org, kernel-team@fb.com Cc: Josef Bacik References: <20180703151503.2549-1-josef@toxicpanda.com> <20180703151503.2549-12-josef@toxicpanda.com> From: Randy Dunlap Message-ID: Date: Tue, 3 Jul 2018 12:29:13 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20180703151503.2549-12-josef@toxicpanda.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/03/2018 08:15 AM, Josef Bacik wrote: > From: Josef Bacik > > wbt cares only about request completion time, but controllers may need Please spell out wt^Hbt. whatever it is. > information that is on the bio itself, so add a done_bio callback for > rq-qos so things like blk-iolatency can use it to have the bio when it > completes. > > Signed-off-by: Josef Bacik > --- > block/bio.c | 4 ++++ > block/blk-rq-qos.c | 10 ++++++++++ > block/blk-rq-qos.h | 2 ++ > 3 files changed, 16 insertions(+) -- ~Randy