Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp1887291imm; Tue, 22 May 2018 10:55:48 -0700 (PDT) X-Google-Smtp-Source: AB8JxZr1b3aSp6S0hW/RQa4ayFxehaAYu9kJncOI0T9E2x9eZuar1HjzwaWXQgfY2xnx0Cjrqpta X-Received: by 2002:a63:31d4:: with SMTP id x203-v6mr2014212pgx.389.1527011748365; Tue, 22 May 2018 10:55:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527011748; cv=none; d=google.com; s=arc-20160816; b=lVEnYBLU50SRFI/aaRYXXP0AXwfoI4KV0iflAEETaucw8n7/LHcSio3/QvDuBtluEh ZITGvT0RZhDQcSQyeaMYzN0RAZYZCK8TPKjyCZ7xWke68U1UKmidAQUEc6CrwiMpZh5R xGygqt9yQxAbty5/cDNHKxo7s0fs5J5uxagYI4hAdhqAkzarIn40bl3s2lrdEWRVwh7m pPx1tUFlM4xd5JTzDWO8gQIqnuBgtGh3XU5n3SeBP0I2BI5zC13xXv8LOwCOpCgQHSLJ idqm6qXSjDwYZve+htG+59bCTMj4rvQSGBmKB1O2usQKJ64ksZO3uGLP3450gvbD7t2g mqow== 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=fzPGJ32K6svMHu7l05AzonpgChHbV/kKueYN8QjzyZ8=; b=e/3o6ku6jvrxjV2Og+/x2boRkmDceh/t6fe4UstyLjmxHH0/IX4L9/96+sbVgolzuQ urhCFbjF+nE9visLhk/CQSltxAN14Q+qElBIkph76bdilcY13T3IS9nRCO7FLfoYZCZH nv1X+TTgW0cz5eoQrZH8+LaKEVN9ncwFhgGZ2J28fMW0wyzJte8zKnQnOMPMThzcBJTn qdopHqfwLQpx6gJq4+K8p+WqsTotGKQsd3PPU+r1mtAoiYtUPqW8OUK6GmmXWIPUW95h 33WnXOLGV+B2FNoQJSb1v2OdYPviFFdd+wiTT0E58YYjd05J83rvkIV/euElZXXfEw/6 H7Ww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b=2RxxNROG; 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 o1-v6si13332976pgp.273.2018.05.22.10.55.33; Tue, 22 May 2018 10:55:48 -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=2RxxNROG; 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 S1752187AbeEVRzK (ORCPT + 99 others); Tue, 22 May 2018 13:55:10 -0400 Received: from mail-io0-f194.google.com ([209.85.223.194]:32805 "EHLO mail-io0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751605AbeEVRzH (ORCPT ); Tue, 22 May 2018 13:55:07 -0400 Received: by mail-io0-f194.google.com with SMTP id e78-v6so19522696iod.0 for ; Tue, 22 May 2018 10:55:07 -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=fzPGJ32K6svMHu7l05AzonpgChHbV/kKueYN8QjzyZ8=; b=2RxxNROGd90o9euS1JKCAP7KeKFLymQ3QqywTQxaC/BOOeVgGIJpeSRtObHqdIcn9Y Aj3kLGA/wtOl0mEHz9+ObRud9b4sRIt7YLN+bFg6jZqmAg1JK1AOt3tQrXnxgXAuy5yY TlSr+7Eib8QvxjIgw+XXx0lxv1HppPkoVugBlzG+0HtnBv6CHrs4RuCM2eE1cQ3+9NNn hktew8RHekm0xHaVTWe7SWLlHEfrZVTN147rQhuuzN/paFI8kTlGvxhwGRZNxwUg3e8p ffhIy708+b4eTtyUFCH6nfqle0xH3TfHJ1dVeMCFcYXwIc8+Dst+mohbqzA2Yx1gqA5k Q3FA== 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=fzPGJ32K6svMHu7l05AzonpgChHbV/kKueYN8QjzyZ8=; b=fbjZqEPvyiNCNunc6ci2aWnlh1N7ifYXtbQOgvfWtGYypy2E9z4IqAoJt+rs8apwJn igqy+WUzuD4k+Bi9oaF1ucLFfB/XsBWB+2h3AV2Q9gjwkMPewqE3q3iNQKSrYxOZSLlD s1wibvYEAbLtCEzyspSARvT3snOlzley4b8Ec+r+Aj6K2eEtUjDotFbxO11vuUKmRPf5 aRl9UWNaJV8cc9Al/nmhS7BnJPjdRt0M7AJeFn3qSmYboYUkHDgALHGQy+/1kqMQuJvx hQqTdh205PD9rWgumPWXUtPVJ19ZUk/Ix1tz8N0kDWU9HVNQkpOp/SGOwHg4jJ+1q3Uo GYbA== X-Gm-Message-State: ALKqPwfUxI1SqZ+5ZdkbeyRfOTmYvjt6QwMn+pa4yNOwajCkWAN4Fyrj qAToJ3YvNCIVFvIuplDavzNzxw== X-Received: by 2002:a6b:11df:: with SMTP id 92-v6mr26261395ior.156.1527011707312; Tue, 22 May 2018 10:55:07 -0700 (PDT) Received: from [192.168.1.167] ([216.160.245.98]) by smtp.gmail.com with ESMTPSA id s10-v6sm9022687ioc.84.2018.05.22.10.55.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 22 May 2018 10:55:06 -0700 (PDT) Subject: Re: [PATCH v7 0/5] AIO add per-command iopriority To: adam.manzanares@wdc.com, viro@zeniv.linux.org.uk, linux-fsdevel@vger.kernel.org, bcrl@kvack.org Cc: 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> From: Jens Axboe Message-ID: Date: Tue, 22 May 2018 11:55:04 -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: <20180522175221.2391-1-adam.manzanares@wdc.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 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? -- Jens Axboe