Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp1922469imm; Tue, 22 May 2018 11:31:01 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpt8TY46pxDybqtvNgm78PtmYbMYNv8xIldNRmrnua+idh+iq1EF3FczGhoTwNbuhGmBxlM X-Received: by 2002:a63:7a5a:: with SMTP id j26-v6mr12297355pgn.421.1527013861654; Tue, 22 May 2018 11:31:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527013861; cv=none; d=google.com; s=arc-20160816; b=ZqAGmja0GUJ0nrmSJNYBIvG3xkUjsnkA3xBg8HJZ9pT3NHDkgOLLCb2bv32LO7O4cb mxZciXFRHBIuSszLsB7hFxjmEvHqniQQhsNJaSm3gvfqmiiLtuglYlznXxHs17+kSILI UoOnaQfQlY8DZhcE4yBPor8u/LS7YhbyQ+xF/bVp0zozU7JSyj3/2e2qNC1S1HMmjv5Z iEpZHQbjOQT2+DbN6NEbmA8HEbytxAiPj+GmfZGbCwyh9/xnrGsHKVQe6vfB9S1xMyAy KyoMavKAhtUaeL2QZdGifhi/8ddUtAXDcrA7bt9w8tMMe76Ixksk223NY8MKk8xN+j96 wNlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=PyCItAzk/UtYSlTetaL1UPGkxDJB232XVVPcqDm7U1w=; b=QGaNDwO0ifYb6+Yu/3c+gPYEWyrv23ewVbeDFcsqQJAhgM68oRiAoEAytLPQgVrRIv 6Hd8MKA+8nlnFunpovcHseUgqKD4FKhLEM2ZBicW+XKjI32ren+Qpw7aKAdSosMyZkgR vqV6vhlG50ePZtNW/bme8edyfPqOzPS0kG1uo+ONZLyiZ733V061/9BYdocU+fXFsXa4 loLMO7zTR9zIH0MYwBSMky1+/YLvPEQRTvxE3S2ElogeLdFhfIhpmdkH6SqObt82cyNp fbETqkliFLnY0gROpR3ZOO4tFBqJJ2NXY/JtTQknghLCagIOe0b/7e1+fs07rMcp8oAp Loeg== ARC-Authentication-Results: i=1; mx.google.com; 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 v66-v6si16814996pfv.48.2018.05.22.11.30.46; Tue, 22 May 2018 11:31:01 -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; 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 S1751567AbeEVSa3 (ORCPT + 99 others); Tue, 22 May 2018 14:30:29 -0400 Received: from zeniv.linux.org.uk ([195.92.253.2]:43870 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751434AbeEVSa1 (ORCPT ); Tue, 22 May 2018 14:30:27 -0400 Received: from viro by ZenIV.linux.org.uk with local (Exim 4.87 #1 (Red Hat Linux)) id 1fLC39-00072O-I2; Tue, 22 May 2018 18:30:19 +0000 Date: Tue, 22 May 2018 19:30:19 +0100 From: Al Viro To: Jens Axboe Cc: adam.manzanares@wdc.com, linux-fsdevel@vger.kernel.org, bcrl@kvack.org, mingo@kernel.org, tglx@linutronix.de, kstewart@linuxfoundation.org, peterz@infradead.org, pombredanne@nexb.com, gregkh@linuxfoundation.org, bigeasy@linutronix.de, rgoldwyn@suse.com, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, linux-aio@kvack.org, linux-api@vger.kernel.org, hch@infradread.org, jmoyer@redhat.com Subject: Re: [PATCH v7 0/5] AIO add per-command iopriority Message-ID: <20180522183019.GD30522@ZenIV.linux.org.uk> References: <20180522175221.2391-1-adam.manzanares@wdc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 22, 2018 at 11:55:04AM -0600, Jens Axboe wrote: > On 5/22/18 11:52 AM, adam.manzanares@wdc.com wrote: > > From: Adam Manzanares > > > > This is the per-I/O equivalent of the ioprio_set system call. > > See the following link for performance implications on a SATA HDD: > > https://lkml.org/lkml/2016/12/6/495 > > > > First patch factors ioprio_check_cap function out of ioprio_set system call to > > also be used by the aio ioprio interface. > > > > Second patch converts kiocb ki_hint field to a u16 to avoid kiocb bloat. > > > > Third patch passes ioprio hint from aio iocb to kiocb and initializes kiocb > > ioprio value appropriately when it is not explicitly set. > > > > Fourth patch enables the feature for blkdev. > > > > Fifth patch enables the feature for iomap direct IO > > LGTM, you can add: > > Reviewed-by: Jens Axboe > > Al, are you picking this series up, or should I? Probably better if I do, once I finish reviewing Christoph's patchset - we already have a bunch of stuff around fs/aio.c in this cycle...