Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp1924280imm; Tue, 22 May 2018 11:32:57 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqqeMGOIuV3gY/ovEiQRIVaffRGhxq7hvdWXtrUSSJQ6DKc4u+iwDlZke8IMbzSOLRj82hD X-Received: by 2002:a17:902:1c7:: with SMTP id b65-v6mr25724265plb.298.1527013977119; Tue, 22 May 2018 11:32:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527013977; cv=none; d=google.com; s=arc-20160816; b=VK05LEF6CGADMyrdVaKsFu3/YbC1de9A5lPH24rpg1mMz3c46wnpUXhWFT3GxjU3N5 mAyR2uQ6J31IND+anshxu9a+FcIMsp61GaRL0ohKPVIzlID7v/of6Cd+0iEgdjZ+iF36 A2c6nXoDOHIfNKCGq+JQK71a47nUlfxIy0HcgM6AVQSPJiV7TtnzXsvGiZl3YMbE5+qs zCWfCyGYPKHn4MUX0WWkqfi9X5VLePk/LbSykXkxu88Ten5EuQEGrq+k9I/hlhbYj7Dd ULx+WVQi44lnw3H5gXyI+d8S6zCrzwCgZQRZgPs+CJN2UpciYhumEzXtPu+VO6l0vvqA nlQA== 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=Rxxt1DS3HwoiiPKd2qm/okkdQ06MPdoL7ajOpQBa9Rg=; b=IAxYmnsqB3eOOEW0f8Wq3SSDa55cgZNFW2vLHjgVlEZZ4QEgrYo372cwT28bwDDdHp OS29fy+bMGgTQmjatGcBwkR+HoMXJaqXGLCWoFFdAUp5KA88FY9iWpmoBgkkCnCMAlA2 2NanzkgAomLYWOV8xYB0pwaIwYFM2EZJkY9IY4M0EbolLWCEGz4vomSz5ETmaJkrMdOC iGRmaaPGURiB3rcLh365JpskkQ93/hK//J42QB8oUcPW5/9VDpM17RMZnh86QOFoMIKC Sxo5zCGiMOomywQM5bB/RH+8WPLsI4trD0MvvZEOZkYVR3z3Wipeti6puwOCdl/922WJ c52w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b=bnHgbDG8; 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 t20-v6si16448405plo.326.2018.05.22.11.32.42; Tue, 22 May 2018 11:32:57 -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=pass header.i=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b=bnHgbDG8; 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 S1751813AbeEVSbB (ORCPT + 99 others); Tue, 22 May 2018 14:31:01 -0400 Received: from mail-io0-f196.google.com ([209.85.223.196]:45404 "EHLO mail-io0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751740AbeEVSa6 (ORCPT ); Tue, 22 May 2018 14:30:58 -0400 Received: by mail-io0-f196.google.com with SMTP id c9-v6so19649423iob.12 for ; Tue, 22 May 2018 11:30:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=Rxxt1DS3HwoiiPKd2qm/okkdQ06MPdoL7ajOpQBa9Rg=; b=bnHgbDG8n+aYXXiFLM+e638O0+IAorIF3tnaaHcUrALN7iAR7mgCxB1gmgYijDGGrb t7YT6Zy2rqcyYoDjthYbk/iT7E5jnvBNPcMXCgOxfO5ua01g2gpfM0aqC3c67/Crbedq Gn3O89cqvLFfAZnWrbpIrMT4kyKjhBPoXtQiVfgGOL7uRwkjC/+lF9al9Z87dVdt+bdJ otTObxfjkHfZzwowusbZpTBvbBGOrnZdFoL2Rz82sRjNwb0FZB2EDBPVX8KKj01ei/UR KcPatsn/Ki5PjhjGwgXFHdGUDnIHF3poSm4Vp9/ppYhGIUqvZmG+lwV/AWU6jP05Gze2 B+4g== 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=Rxxt1DS3HwoiiPKd2qm/okkdQ06MPdoL7ajOpQBa9Rg=; b=kmKnW/sovKiM53BQFkzW0EKTonDtMewvMPNznW61nyyYupA8WMtAqGI2mZJ67XV8M/ RTmu8EoaVkz0mQUq6DJcwZ3aQK0/opK3JlBPZGlx2U+3jVt1XtJ437xroB3467EH2WH6 e7WK86vMXhpLT4SIZ7jTefPSy5UvUYIrXi+KICyNeYGLqU6v0JeGmnXumn+7gpPFJgNd tJyjL4xUzavyLRioSpVbnOsFiBtOQDkvugCzinAupL2bW4FuJOXXah28D4Qxl56rFqDC LAVosCw1zLOvMICLBBRsarePUToicbe11M+fGEjvDM/6FQEdwYPI7kgbJRm6PXfuVvdb G4rw== X-Gm-Message-State: ALKqPwexifn38Ox6uWdZCNHmt/Gl4N4CsyLdNZhQ+lJ5CBrxzhzsJmY0 grFN6cK4W3YgY5JuL46d/3x5yg== X-Received: by 2002:a6b:e80f:: with SMTP id f15-v6mr26474187ioh.146.1527013857914; Tue, 22 May 2018 11:30:57 -0700 (PDT) Received: from [192.168.1.167] ([216.160.245.98]) by smtp.gmail.com with ESMTPSA id z72-v6sm12185618ioz.64.2018.05.22.11.30.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 22 May 2018 11:30:56 -0700 (PDT) Subject: Re: [PATCH v7 0/5] AIO add per-command iopriority To: Al Viro 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 References: <20180522175221.2391-1-adam.manzanares@wdc.com> <20180522183019.GD30522@ZenIV.linux.org.uk> From: Jens Axboe Message-ID: <4b8732e8-1c51-3181-56a1-d03f7b229f63@kernel.dk> Date: Tue, 22 May 2018 12:30:53 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: <20180522183019.GD30522@ZenIV.linux.org.uk> 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 5/22/18 12:30 PM, Al Viro wrote: > 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... Alright, sounds good, thanks Al. -- Jens Axboe