Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp4651985imm; Fri, 18 May 2018 08:30:57 -0700 (PDT) X-Google-Smtp-Source: AB8JxZq5XE/U0Jdu/eEAWWkKrK4odNAGgGdoBGrmvBI9v8e70oE0aQpaEmD9ylAkWhiV0/mXWks/ X-Received: by 2002:a17:902:8345:: with SMTP id z5-v6mr9770419pln.311.1526657457083; Fri, 18 May 2018 08:30:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526657457; cv=none; d=google.com; s=arc-20160816; b=DKE+XcjUT2B9hS9xjDDReBTQGiFC5sxPWoEERKObAm+r4Zq+8oO/vpejve4f+0wE6G ZgQ+YyjeW9ti5YD4OEjvjL4t4+AnNMtUzOgdQHOC8Dlc2Ntu0rvMMmIMSUitJvfBpXgA krI3kSYML6qCc1Gs8JaOo05NhUeNjAKEe+Ro2Jd+LFg3f5RZ6EaRtBAc2oCG8locDVDh /DmMMHfEH7f7aVVs/HLtpCuMD+PkZbxCuMS15HNLZprVddgjMJAW2vE7RtMX/TnAWZlm QL/HNQpBA1nniK0DwRB54mkrMQR/0D0t9JcUbxv1IAnkvP60OqCsY/jBrOkRxtLR3YQb z5PA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:spamdiagnosticmetadata:spamdiagnosticoutput :wdcipoutbound:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:cc:to :from:dkim-signature:dkim-signature:arc-authentication-results; bh=R4tk3mKtLYkdQW7hjNaDsy4XnmP92RIl8NG7MHRWGAc=; b=PbE7ytTLHwQv3QekQppG2fiL5OD/trw9GhgQss7CgY+j476AxzR/vLa1iDiGs334eh HuukUZ4bgp0qLsx23w/yIeh4gRjDrkxXByYzkeW2JWSD1ArnrZJXscGTTJ9lh+9SFqMJ Z19TDzL6KPNUoklCkvDSI+2abAouDWjozhOl4CpPa51LAfI60ha48AjMJgQ3/I5NOx/V Fxxsh4qHMSkP0eKYRbLVF917tS8/pPErOAbjDdINfw8/C+aQojKJDR1EpLRuSM5WiwzB HmTM5kQkE5/4fKGkJHAp53NPkMaC/67Ho9UVrDNILDg51IIbzhNj337BmYh02JGBPAXn GLug== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=fcf7IJba; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector1-wdc-com header.b=jxUu1KG/; 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 g9-v6si1286702pgs.65.2018.05.18.08.30.42; Fri, 18 May 2018 08:30: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=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=fcf7IJba; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector1-wdc-com header.b=jxUu1KG/; 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 S1751696AbeERP30 (ORCPT + 99 others); Fri, 18 May 2018 11:29:26 -0400 Received: from esa2.hgst.iphmx.com ([68.232.143.124]:20446 "EHLO esa2.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751009AbeERP3X (ORCPT ); Fri, 18 May 2018 11:29:23 -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=1526658373; x=1558194373; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=R4tk3mKtLYkdQW7hjNaDsy4XnmP92RIl8NG7MHRWGAc=; b=fcf7IJbaXc9QGXeT9MUhsmAmSSaowwz17TwVI8gdGJ1chLp7std8HZji J+i5fAhdkvcCEgRFB3jMhA6jsHzQtpMrvPxj2yFoo80jd742ElhV904Xg 2tYFytP5doGKXCVzF1WZa/ht4uJvjrR6WX3Icv05f9ji815Dt/xK7ZA+D MerhN1Gwk83b7tf3cA8qDzawVjxbt7v2jL+vqrkv4rUzIhk2fc8KaYen7 e1jkIIn1stebxhHMJQxKoVQktOeC13YlwzPI9HpFBkwrZ9/uh6dzrlIyG xIDTPg/99ziR61qDmKow/YLTgBUZACMgKVfohuZOClf2P8NIFNjx+EPLT w==; X-IronPort-AV: E=Sophos;i="5.49,415,1520870400"; d="scan'208";a="175142940" Received: from mail-cys01nam02lp0050.outbound.protection.outlook.com (HELO NAM02-CY1-obe.outbound.protection.outlook.com) ([207.46.163.50]) by ob1.hgst.iphmx.com with ESMTP; 18 May 2018 23:46:11 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sharedspace.onmicrosoft.com; s=selector1-wdc-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=R4tk3mKtLYkdQW7hjNaDsy4XnmP92RIl8NG7MHRWGAc=; b=jxUu1KG/KTURCfsbX9IcuWDdhVr5WudWXhqM0RvwIooMGzhx8dQ6XWiFEARWh5MqkTm0drf7/QBkmE+59hd45UiyQljBIqU0C6Js2bivfK59V07eHMw/LbArWBa+WWu+Mpx4njqV4WXO4SLv0L1KCVM7p4ghrjhS6bBKm05EeNQ= Received: from DM5PR04MB0282.namprd04.prod.outlook.com (10.168.234.147) by DM5PR04MB0938.namprd04.prod.outlook.com (10.174.191.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.776.11; Fri, 18 May 2018 15:29:21 +0000 Received: from DM5PR04MB0282.namprd04.prod.outlook.com ([fe80::92:96f4:d92a:2a7c]) by DM5PR04MB0282.namprd04.prod.outlook.com ([fe80::92:96f4:d92a:2a7c%17]) with mapi id 15.20.0776.010; Fri, 18 May 2018 15:29:21 +0000 From: Adam Manzanares To: Jens Axboe , "viro@zeniv.linux.org.uk" , "linux-fsdevel@vger.kernel.org" , "bcrl@kvack.org" CC: "mingo@kernel.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" Subject: Re: [PATCH v4 3/3] fs: Add aio iopriority support for block_dev Thread-Topic: [PATCH v4 3/3] fs: Add aio iopriority support for block_dev Thread-Index: AQHT7h8HZ2EK9VUEMke9xQtgYlZJXKQ1mXyAgAAEQwA= Date: Fri, 18 May 2018 15:29:21 +0000 Message-ID: References: <20180517203803.2664-1-adam.manzanares@wdc.com> <20180517203803.2664-4-adam.manzanares@wdc.com> <51cbf2e9-1ff9-b9e7-fb68-055a64d54da5@kernel.dk> In-Reply-To: <51cbf2e9-1ff9-b9e7-fb68-055a64d54da5@kernel.dk> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Adam.Manzanares@wdc.com; x-originating-ip: [199.255.44.174] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;DM5PR04MB0938;7:adtjJZCMnTmboh1JTusgCKWQuP+P3vsX/rg0ulm+lnSDzDgctil3QvZ3vN8GfpBbhRuAegfjR8Vgh2ujorh5+jERAlaV1x1+wKO5ZO5I/bdY3PqK0LshoQQhOzQ96kO/acFPTrHDfjMvfRgG1UNdmFkjSb/pHsYQMqYkUAIqlKjPKbZ9LsRroFy4rvhNCoXRX/l1UFVPwFpxCTNHCS9nM3UGy9kvT0+erENXSwP47/bs3QLMpM5p52Ol4TW31OyG;20:c5gCstE26XBHT08uNqOqUfWfBX2FET1umFdSby1OlKP/DVz4wPQdHjjVMRfxubsEIk4B0WBfFRZ7bkT/A4EbrTSLnpe7Mg6rR6Le6YBbZEj8DoH8MYuddhZyIUKOuj2+8HTjl7EehmxrIn2WWAt5ZrmZGYDI6y8cnkKcnkOoNbo= x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(5600026)(48565401081)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020);SRVR:DM5PR04MB0938; x-ms-traffictypediagnostic: DM5PR04MB0938: wdcipoutbound: EOP-TRUE x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(6040522)(2401047)(5005006)(8121501046)(3231254)(944501410)(52105095)(93006095)(93001095)(10201501046)(3002001)(6055026)(149027)(150027)(6041310)(20161123558120)(20161123564045)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011)(7699016);SRVR:DM5PR04MB0938;BCL:0;PCL:0;RULEID:;SRVR:DM5PR04MB0938; x-forefront-prvs: 0676F530A9 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(346002)(39380400002)(396003)(366004)(39860400002)(376002)(52314003)(189003)(199004)(305945005)(68736007)(229853002)(31696002)(6506007)(86362001)(6486002)(59450400001)(53546011)(105586002)(2900100001)(476003)(102836004)(2201001)(54906003)(110136005)(5660300001)(26005)(478600001)(316002)(186003)(486006)(6246003)(6512007)(76176011)(5250100002)(99286004)(2616005)(14454004)(6436002)(53936002)(7736002)(31686004)(81166006)(2501003)(81156014)(3660700001)(72206003)(8676002)(36756003)(8936002)(11346002)(97736004)(446003)(25786009)(106356001)(7416002)(3846002)(66066001)(2906002)(4326008)(6116002)(3280700002);DIR:OUT;SFP:1102;SCL:1;SRVR:DM5PR04MB0938;H:DM5PR04MB0282.namprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; x-microsoft-antispam-message-info: pAPCHfft1jWMDF0Hhm9FUMJSjKGWTSg9ekQxp4kQZZ4B9imofnK7pcHekTHw/5OY9I6/mmUZHS1Jfm4OIgg4+tI3G4CH7RSjmBadMhJgabbqkeyWC+jTofP+5/RuExVPFqV+RS43zNC4iqfAxnjhhdL0zxujucLkKouT0lunQHmR6apl0JbvEwo6IutFG/3q spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <771CC1CDFD8CCF41B6F8F04E18BDB6A4@namprd04.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 1dc2e6cb-c51c-461c-73ed-08d5bcd420fd X-OriginatorOrg: wdc.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1dc2e6cb-c51c-461c-73ed-08d5bcd420fd X-MS-Exchange-CrossTenant-originalarrivaltime: 18 May 2018 15:29:21.3956 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b61c8803-16f3-4c35-9b17-6f65f441df86 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR04MB0938 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQoNCk9uIDUvMTgvMTggODoxNCBBTSwgSmVucyBBeGJvZSB3cm90ZToNCj4gT24gNS8xNy8xOCAy OjM4IFBNLCBhZGFtLm1hbnphbmFyZXNAd2RjLmNvbSB3cm90ZToNCj4+IEZyb206IEFkYW0gTWFu emFuYXJlcyA8YWRhbS5tYW56YW5hcmVzQHdkYy5jb20+DQo+Pg0KPj4gVGhpcyBpcyB0aGUgcGVy LUkvTy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