Received: by 10.192.165.148 with SMTP id m20csp4002667imm; Mon, 30 Apr 2018 10:00:08 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqNYtFuzK3JBTe52jRihfE9F7CeQDeUxKcDngb2HtF511WvRckpNMZrLn+LRGq5wtQepDIK X-Received: by 2002:a17:902:8d8c:: with SMTP id v12-v6mr13085647plo.366.1525107608701; Mon, 30 Apr 2018 10:00:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525107608; cv=none; d=google.com; s=arc-20160816; b=xWoPT7rDGk/y2cna2BMWxGK6NOwS0t1R3PlHa70/tfP2ZYfNdV/S54Lhpj2nHt5v2P JkqnrDt5da6HN2yID/6HAfjJsv20eex08aBhKo2AiUR5i17it2choW3fuI9BU3Guy5IM Z9OYNsa+uW0qT0zsXNzUGPrVDknFimzwl1LlQ8fLlKTEvnUDH1WylQk8/TBsoQNNw+Rn 7D7s+OvhUoVQB+L03b3gr2+uYW5V6B4j9iRHNR2yPtdRfc/M0P7U5+ZPbLrsV0kgesU7 kSy9de9LaHuqWxu22VOsIlLdex3wo5Xe9tcpRZfQCDrKzv8mOqRMWUpGjLrcF7t9GzEy 4VhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=NtoyNFFC1c/CHZD8cJtM/H8jBc3OacIrknteHyJn2pw=; b=ilw8/ZPuctgTNehSHtqOYcN/F9KRX4U8Z5wJG9f7rGNdaw9A4a8pqkeWvRqfs5aABi Oua2v1aSCUvHR6ZbPW9z31UPR2ZG6rUpw/j5WNlI/6rUlrDwd1xn0D0G5f97eFIvI3In ta0Ki7JyWdjslqqsFzjd6y2UqBsH+ae1oFTjQx16LIb1aBTVHcS9Ou8Gvh2x1+66yi+V HAL/CwO1gJWC5ohMFYFDRiANFoMwwrjThu2dcam6zsVYCvw8r8uITEoQHMuX5BFI5vE7 jO2JXbxUuruM0wMpT4AsptdT5u3svTOvSQwyD8cH/RNHGBnHkzNgGFS6+8i5x4r9O8PD 3wWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=SrrieLi7; 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 i35-v6si7542675plg.504.2018.04.30.09.59.54; Mon, 30 Apr 2018 10:00:08 -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=@wdc.com header.s=dkim.wdc.com header.b=SrrieLi7; 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 S1755153AbeD3Q6B (ORCPT + 99 others); Mon, 30 Apr 2018 12:58:01 -0400 Received: from esa2.hgst.iphmx.com ([68.232.143.124]:20729 "EHLO esa2.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755093AbeD3Q56 (ORCPT ); Mon, 30 Apr 2018 12:57:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1525107682; x=1556643682; h=from:to:cc:subject:date:message-id; bh=UFqEP9jVv7mrHiyCq7Bcb3Q71VohGha9BNOVJXSIRlA=; b=SrrieLi7RzNwtps0gM64wQlPUUHmMSWsTOcEUmhyjnAwN+W9SyNCyT1A N9NvsyuTwxW3V3v+uZWjB4avcvAHlHHrpwV05e6cAJN0tIPx/RutIY4Te l98CJO6FbF8T1K7A55fBft3TkgVdeQEPLa1Bzpv1TteCyLXILtd8cbRbS LKnUsbPxsrAw/1R1y3UeoaSVP5PBfA3xUj1drV+UNOvY2WiLkKLOj4gMU 2dbxsXsloxZH5ylNP4lEZhcg18LX3EyS33Bs1ty3wWiVqXVSIPtzgzIa8 W3Q0hHI5MQ8pnbt6gGSKgOZ3sO+8oOy94bqg9OQljj6I+eUA6H548+5TP g==; X-IronPort-AV: E=Sophos;i="5.49,346,1520870400"; d="scan'208";a="173714668" Received: from h199-255-45-15.hgst.com (HELO uls-op-cesaep02.wdc.com) ([199.255.45.15]) by ob1.hgst.iphmx.com with ESMTP; 01 May 2018 01:01:21 +0800 Received: from uls-op-cesaip02.wdc.com ([10.248.3.37]) by uls-op-cesaep02.wdc.com with ESMTP; 30 Apr 2018 09:49:18 -0700 Received: from penguito-adamm.sdcorp.global.sandisk.com ([10.11.47.13]) by uls-op-cesaip02.wdc.com with ESMTP; 30 Apr 2018 09:57:58 -0700 From: adam.manzanares@wdc.com To: viro@zeniv.linux.org.uk, bcrl@kvack.org Cc: linux-fsdevel@vger.kernel.org, linux-aio@kvack.org, linux-abi-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org, Adam Manzanares Subject: [PATCH 0/2] AIO add per-command iopriority Date: Mon, 30 Apr 2018 09:57:38 -0700 Message-Id: <20180430165740.2842-1-adam.manzanares@wdc.com> X-Mailer: git-send-email 2.15.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Adam Manzanares This patchset interprets the aio_reqprio field of an iocb as a per-command value iff the RWF_IOPRIO flag is set on the iocb. This feature is implemented for a block device, but could also be leveraged by any consumers of the iocb. See the following link for performance implications on a SATA HDD: https://lkml.org/lkml/2016/12/6/495 Adam Manzanares (2): fs: add RWF_IOPRIO fs: Add aio priority support for block_dev fs/aio.c | 9 +++++++++ fs/block_dev.c | 1 + include/linux/fs.h | 4 ++++ include/uapi/linux/fs.h | 5 ++++- 4 files changed, 18 insertions(+), 1 deletion(-) -- 2.15.1