Received: by 2002:a25:2c96:0:0:0:0:0 with SMTP id s144csp448463ybs; Sun, 24 May 2020 10:13:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwAz/qciZSrWym2q6OePXZN4R8CQ50oUzxnydLUp4eybL5U4A/KEDXvMGFPOB1pf7F5uIsf X-Received: by 2002:a17:906:2448:: with SMTP id a8mr15375786ejb.310.1590340428117; Sun, 24 May 2020 10:13:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1590340428; cv=pass; d=google.com; s=arc-20160816; b=D2nK0Db8zAQ5yPx35XMoPjX1mLcrWho+5lPhLvbK279wi//ehBbPwYTK/MB1PNelFA ynxkGVxSAOdox3tHf0N0PEP4t5kQb+3TO7T/uNtIL76mzU2MJKvEJQ6166PIvcP9xV5M 6YIIXNvQUq10y5wfrZY6xZx7QdDED7fbnrLeQRZTMUUNmMkAhGj/fUPinhhwVBhNle5f uf2eEbm1cXpTUycB3FkiI/vogmfvIQEhnyxrNy0Nhc0jWT6o/aHaHRjDxkM1WgXAGz6H 8Gs2vYRPjADZJOrYKXxtasmuVNuE5trpFDpuk9MtU7NGsWRcnT6WOkES+VZCLZkflTRG OgjQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=OzvW1eejcRQpn08IvFhMWZeG1Ua7twYXYBmjAZ9Sj+A=; b=dJTrqpvsVAreeSpDtrW0EwtVidnnrXIMxFflQWrlJZ3i0Zeii3AhmSBp/ekri+RbTO gS9RqXg3IPufJPQ7mnn7+4aV6dMzUCQUfAQKpeXuSfXIOsc/a2QW2p2hk6qs8NeJpSqb 4TOZNDBBT7rZtxVPVu+YZPOTkOb+EEOv79Bwy6N5t7evj5Bq1kYB5L4KTYNtuTBWvlUA N5bdIvgRC5YqHRdjMhCEcIRUkriWYXGwYbS+EeJabzvBcQtoJSDpQsdNz89HYQm/72fu 6eg3oe8Rl6HnQMs5EEzBAgwzfIOgZQubQgpelBUEl2znRv4a5u2F+YjX76VGlEeH2DmC co9w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@hammerspace.com header.s=selector2 header.b=B8HGsQ14; arc=pass (i=1 spf=pass spfdomain=hammerspace.com dkim=pass dkdomain=hammerspace.com dmarc=pass fromdomain=hammerspace.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=hammerspace.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 4si7254730edw.72.2020.05.24.10.13.24; Sun, 24 May 2020 10:13:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@hammerspace.com header.s=selector2 header.b=B8HGsQ14; arc=pass (i=1 spf=pass spfdomain=hammerspace.com dkim=pass dkdomain=hammerspace.com dmarc=pass fromdomain=hammerspace.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=hammerspace.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387797AbgEXRLN (ORCPT + 99 others); Sun, 24 May 2020 13:11:13 -0400 Received: from mail-co1nam11on2136.outbound.protection.outlook.com ([40.107.220.136]:47841 "EHLO NAM11-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728888AbgEXRLM (ORCPT ); Sun, 24 May 2020 13:11:12 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YXWa+ojRzEpUjaAs0TFzSSO0ToDeLyDMfhQqct6i6G4bQtf8QmaTrkjNOU0CeFsdNKY3p59fmZ6PHX6EfqXLbSboo5EIrIwQiotJRKUCZDrFWk6PCEg17VOc5Z4b0yAsjNXlYFi2DZuG2Fb63naWznrfIPllLq7JfBDTtBjgBYu2V1zpR6Pf4K+PI3EWnEXXvZtbaKgR7js4XXeyPYNoE7XnCD0KV6EGwgGMamZ44QMIxQWcPdyskbeEK9o0SG+LH+L8KWCL1r8OC2GN0XFhmzRWfoTRWvYSBraJJcbruYR0BpynnxNfha+BDkxss+BgqxH2x75W2AI4f5jpTpENUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=OzvW1eejcRQpn08IvFhMWZeG1Ua7twYXYBmjAZ9Sj+A=; b=GBrbqobYCnb6A1iZkYO5xse9WUAeoE8VNtaVJkTMiQ3GPQcmWweCduBM6XKWWTJLghOqeT90y3KOfB+Xyqp40ew6GXXY9kRcQF3R0c0YmzqTS1D3uPqBD3Or0L4IfUsLRO4CEscWjGhTpr7vGdhtzlOCrSIyxHXJuFECCgL4+orlEG3kie6bWoDmz3ivs26212BjHs2Q/yILMAhF36mknzeyuJsfrpL4SizWu1NYT+odPi5c+wyjFrXXOFfEYBaC5i4LUIvQhinz7DSB+AyL+SEZelbqfta3XzYcqoT+cDS1fQ+hfpwOlTE6ZRo8U6tDOpOKOrAeCA6+gsT8KfB2CQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=hammerspace.com; dmarc=pass action=none header.from=hammerspace.com; dkim=pass header.d=hammerspace.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hammerspace.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=OzvW1eejcRQpn08IvFhMWZeG1Ua7twYXYBmjAZ9Sj+A=; b=B8HGsQ145IuXKejZI82fqixYmcw51TqgAO5KzS4Ci2hfetjtCeU8xQls8S9OtUW0McCQS4UkXdSAq6QN3jCKV9U7fbxaKEjIY+jJ37rgUpLOr1VwClxI2MyNwGtSHWWiIcJ/piQB/fmKbxd75THmpT/m3m4Q8k6qWUsMDQwnnMI= Received: from CH2PR13MB3398.namprd13.prod.outlook.com (2603:10b6:610:2a::33) by CH2PR13MB3400.namprd13.prod.outlook.com (2603:10b6:610:26::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3045.9; Sun, 24 May 2020 17:11:08 +0000 Received: from CH2PR13MB3398.namprd13.prod.outlook.com ([fe80::49f6:ce9b:9803:2493]) by CH2PR13MB3398.namprd13.prod.outlook.com ([fe80::49f6:ce9b:9803:2493%6]) with mapi id 15.20.3045.009; Sun, 24 May 2020 17:11:08 +0000 From: Trond Myklebust To: "axboe@kernel.dk" , "io-uring@vger.kernel.org" CC: "linux-mm@kvack.org" , "linux-fsdevel@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH 05/12] mm: support async buffered reads in generic_file_buffered_read() Thread-Topic: [PATCH 05/12] mm: support async buffered reads in generic_file_buffered_read() Thread-Index: AQHWMTQyNgEk/N+TVkeE2BGKfkqi2qi3RlkAgAAolACAAAKhgIAACKmA Date: Sun, 24 May 2020 17:11:08 +0000 Message-ID: References: <20200523185755.8494-1-axboe@kernel.dk> <20200523185755.8494-6-axboe@kernel.dk> <264614fc4fa08df2b0899da1cd38bb07150cd7f3.camel@hammerspace.com> <2fa7104a-ea85-55f2-692c-514eb3b88a88@kernel.dk> In-Reply-To: Accept-Language: en-US, en-GB Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: kernel.dk; dkim=none (message not signed) header.d=none;kernel.dk; dmarc=none action=none header.from=hammerspace.com; x-originating-ip: [68.36.133.222] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 40accb32-bd97-4d61-35d5-08d800057369 x-ms-traffictypediagnostic: CH2PR13MB3400: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3383; x-forefront-prvs: 0413C9F1ED x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: I/rwMP4BKsNFIH80E3Xyx/MAzl/Aa5HTERk+d6JUWMjNYmId0SllGCwm+8+tduVSRBOS82oiD15CFYWQTnDTxxLqa5MA0ei//RNHCfy4hoL8xxoIwv2GHfxmcGtxhjZ5+KnZhDUI+hBUdGz4a6Knnzlf9Qzk5vLJ00yqWej6ZQe/OFhjOAW5mOjgvOB/NN+BWTHLB+OyO30DEESzYPmxsMFzInpbYoOCEi44QCsUMmACyF3Gd5X6HWcyf8f/sHt7N9dYaq0t6iMNZ/j3SKbbqPY6e+17VDHXc5FPX3fwO4ZccTUM9ULc/AicC/nqlS9Xn3sXgOD7KE/Ya5EstfdyuGEneOdRkEjfTqQnJzt6e6LM/xyckEsVRLAZJSjdpEuD x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CH2PR13MB3398.namprd13.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(376002)(39830400003)(396003)(136003)(346002)(366004)(5660300002)(4326008)(478600001)(36756003)(6512007)(71200400001)(26005)(6486002)(64756008)(86362001)(2616005)(316002)(53546011)(6506007)(2906002)(54906003)(76116006)(8936002)(66946007)(8676002)(66446008)(110136005)(66556008)(66476007)(186003)(41533002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: Fl5m/nWUmzq7KwwHqGpBUsPr+YUwcKfmK/nmas2aeYBqVOcw/j2ZRoBOYpbpntnd1w/i1lwbu+UpQFcECjNa89Wxo1tF9RTVLy95OGvtYrMlM76b53JMYbNgPCaihaecBAC0ZFUGCKcfpFr06tpBRZ3+MGPis4PrtrTPGEFMeifAtfWRvCVC5Lh+v80k9ezOShj1NE9+kGEF1NMBQzSm9CgDL2KbknYqtHkcWMhrF4LiBcq7dmMwvOsJIa7SYFgtM43cvBbVEuB4XegjmgvscNnLlaip2Q7f9imb+rD0a/s7yOdSkbh6j1htQUGxSLJWTstcymbNrJkn3gRykcmyLOcHk2LzoFS1weiuFxahYPohfkJVAwo1jPEQ0sry4sCjI363qC9l/blBQF0M09rXZ1zrDSNK4XHJUbvTsM3F0HrVviSI8A5nMU1CAwhe47OHmzOYd7B/2tuejzuR0iCVHdPmujYOcWM7Vga6uBT5pF8= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: hammerspace.com X-MS-Exchange-CrossTenant-Network-Message-Id: 40accb32-bd97-4d61-35d5-08d800057369 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 May 2020 17:11:08.2707 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 0d4fed5c-3a70-46fe-9430-ece41741f59e X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: RAXRp1Vos/iVimppHXjEEAp+Qv+eYaAI16qhuxYMxa55Ikk0QtokDjXeKAqUWH5YtM3Kseke8nb4dG1/3q/y5g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR13MB3400 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gU3VuLCAyMDIwLTA1LTI0IGF0IDEwOjQwIC0wNjAwLCBKZW5zIEF4Ym9lIHdyb3RlOg0KPiBP biA1LzI0LzIwIDEwOjMwIEFNLCBKZW5zIEF4Ym9lIHdyb3RlOg0KPiA+IE9uIDUvMjQvMjAgODow NSBBTSwgVHJvbmQgTXlrbGVidXN0IHdyb3RlOg0KPiA+ID4gT24gU2F0LCAyMDIwLTA1LTI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