From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 531CCC433DB for ; Sun, 21 Feb 2021 19:40:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1004F64E04 for ; Sun, 21 Feb 2021 19:40:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230263AbhBUTkJ (ORCPT ); Sun, 21 Feb 2021 14:40:09 -0500 Received: from eu-smtp-delivery-151.mimecast.com ([207.82.80.151]:38809 "EHLO eu-smtp-delivery-151.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230174AbhBUTkI (ORCPT ); Sun, 21 Feb 2021 14:40:08 -0500 Received: from AcuMS.aculab.com (156.67.243.126 [156.67.243.126]) (Using TLS) by relay.mimecast.com with ESMTP id uk-mta-212-qxf1crOUMJuZHCnF-243zg-1; Sun, 21 Feb 2021 19:38:26 +0000 X-MC-Unique: qxf1crOUMJuZHCnF-243zg-1 Received: from AcuMS.Aculab.com (fd9f:af1c:a25b:0:43c:695e:880f:8750) by AcuMS.aculab.com (fd9f:af1c:a25b:0:43c:695e:880f:8750) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Sun, 21 Feb 2021 19:38:26 +0000 Received: from AcuMS.Aculab.com ([fe80::43c:695e:880f:8750]) by AcuMS.aculab.com ([fe80::43c:695e:880f:8750%12]) with mapi id 15.00.1347.000; Sun, 21 Feb 2021 19:38:26 +0000 From: David Laight To: 'Jens Axboe' , 'Lennert Buytenhek' , Al Viro , "linux-kernel@vger.kernel.org" , "linux-fsdevel@vger.kernel.org" , "io-uring@vger.kernel.org" CC: Matthew Wilcox Subject: RE: [PATCH v3 0/2] io_uring: add support for IORING_OP_GETDENTS Thread-Topic: [PATCH v3 0/2] io_uring: add support for IORING_OP_GETDENTS Thread-Index: AQHXBfFRAjVxpRid2k+E4G2FbTp65qphUAowgAAQsQCAAaBWMA== Date: Sun, 21 Feb 2021 19:38:26 +0000 Message-ID: References: <20210218122640.GA334506@wantstofly.org> <247d154f2ba549b88a77daf29ec1791f@AcuMS.aculab.com> <28a71bb1-0aac-c166-ade7-93665811d441@kernel.dk> In-Reply-To: <28a71bb1-0aac-c166-ade7-93665811d441@kernel.dk> Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.202.205.107] MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=C51A453 smtp.mailfrom=david.laight@aculab.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: aculab.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org RnJvbTogSmVucyBBeGJvZQ0KPiBTZW50OiAyMCBGZWJydWFyeSAyMDIxIDE4OjI5DQo+IA0KPiBP biAyLzIwLzIxIDEwOjQ0IEFNLCBEYXZpZCBMYWlnaHQgd3JvdGU6DQo+ID4gRnJvbTogTGVubmVy dCBCdXl0ZW5oZWsNCj4gPj4gU2VudDogMTggRmVicnVhcnkgMjAyMSAxMjoyNw0KPiA+Pg0KPiA+ PiBUaGVzZSBwYXRjaGVzIGFkZCBzdXBwb3J0IGZvciBJT1JJTkdfT1BfR0VUREVOVFMsIHdoaWNo IGlzIGEgbmV3IGlvX3VyaW5nDQo+ID4+IG9wY29kZSB0aGF0IG1vcmUgb3IgbGVzcyB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