Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp4541334pxb; Tue, 22 Feb 2022 00:39:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJw2DpBD8D+OXU1zLj1J2MB1dybRGITC5/gbGEe3fEjhJ1QeHVy9lszQTGXiaYDfVLCvAbsF X-Received: by 2002:a17:906:cc8d:b0:6c9:6df1:7c55 with SMTP id oq13-20020a170906cc8d00b006c96df17c55mr18358842ejb.317.1645519143360; Tue, 22 Feb 2022 00:39:03 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1645519143; cv=pass; d=google.com; s=arc-20160816; b=n9xbITBE/OPGkpYVSFBvIboKgnV5N90FXQL4rp5hRSaNVjT3dIRXmH65HCSAuxruUt VPYgI0oSg2jhpJQQkZT7zlLf3w5C8DJFazbmux7kd4eWIqLj4OqU+nrq5x7ldMmNz30S LsDQkDWwX5z7m183HU9ewWe45tCWbvFrR8qDIhp5By3T7vSMRzDZxXL2d8dLsb9SzEj5 Z/9fmKioCX9WqgdovZuc/nkPillAWr2uRd/h3Zb23LBZTvb4Kir3zWDdamwMSX4kP1u/ kX3ihfOp+xHjHoflRBF0OpPHHXkdgnAog9NwAsYmZ2ETyLCL9rda7JzmF69iQzqAIO69 QCgg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence: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=WV33ILRz3qXOcgSHpKBcF/wSIzS0OJIj8kNWzV282yc=; b=R8pNRw03QZL2Pyeli9EYP+xYWyQT1dukilKvaB4DxkrLETOrI74BEEhq+YWvGgXJud w8LJdGBFNoMzefuaFVy4g5T3jGUEbkrK0X/E+XGfOwJ9ea/V7Vekk9pjWgd9L+yH1sqL mqJQH/DpGZo/C37CMRQEBm2mdenrjBUifL2GTzl2O6kyLbKyepe5c5mhMV+ex61imi8d n+GI+rieolYVzVtProQ4I35NhmnDQ3bS6WFFQztcjG3aMKkz6hl3U0xhp/ioA7Sx6WqU j1S6EUfmW3rw0yMyyx0ZH0qbgprkgohowtWjgEgM/myeEkt7W8aH/SytAoowH7JhzRFr R3lw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@fb.com header.s=facebook header.b=jD9wyz1I; arc=pass (i=1 spf=pass spfdomain=fb.com dkim=pass dkdomain=fb.com dmarc=pass fromdomain=fb.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=fb.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a20si6864703edt.7.2022.02.22.00.38.40; Tue, 22 Feb 2022 00:39:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@fb.com header.s=facebook header.b=jD9wyz1I; arc=pass (i=1 spf=pass spfdomain=fb.com dkim=pass dkdomain=fb.com dmarc=pass fromdomain=fb.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=fb.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229630AbiBVI13 (ORCPT + 99 others); Tue, 22 Feb 2022 03:27:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34494 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229448AbiBVI12 (ORCPT ); Tue, 22 Feb 2022 03:27:28 -0500 Received: from mx0a-00082601.pphosted.com (mx0a-00082601.pphosted.com [67.231.145.42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D70D299EFF; Tue, 22 Feb 2022 00:26:56 -0800 (PST) Received: from pps.filterd (m0044012.ppops.net [127.0.0.1]) by mx0a-00082601.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 21M813uM020259; Tue, 22 Feb 2022 00:26:56 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-id : content-transfer-encoding : mime-version; s=facebook; bh=WV33ILRz3qXOcgSHpKBcF/wSIzS0OJIj8kNWzV282yc=; b=jD9wyz1I4njc8849cathhGgfs6ktEaYVM0Q8vi4Ci0GJy5TO4X0rgsrcQ68sC59yE6Nr o7X+AUh9EWCPda+i+VE43xvvm3A1O0+7nI64NhZCGQMmYpc+DP7qBe3R9b7bj+/4FJjI MWn2fcQU/DA+MehwixoD1LSVtyyabpHPs0k= Received: from maileast.thefacebook.com ([163.114.130.16]) by mx0a-00082601.pphosted.com (PPS) with ESMTPS id 3ecajb4t73-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Tue, 22 Feb 2022 00:26:56 -0800 Received: from NAM02-SN1-obe.outbound.protection.outlook.com (100.104.31.183) by o365-in.thefacebook.com (100.104.36.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21; Tue, 22 Feb 2022 00:26:54 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TvWZC1f0rfKCSCmqYbRul3dgkw2f/tXRPK28gF3t0stTjZEC8qQmmKqQ4Spw4bR7mBxuPtYJHdgrnQskxItNT8GpltLjIF/TqW9paGMIPpQH/RFxmUcS05FNK7ioFlo7b3bizr8bmMJgl8/cN9TBEEYvKgWt/qJ3lqsZdIPfowG00XQuEgdWkplbnaA6zKNr4EkaD7fuY3EYJEg10ZrYxoBmECjqzshZt+YeZXNWVjG+hGYTbUu9f7JYUxb1QKXg4omU8LbSbsGGSjwSM4/mkau8Pe/rfEY2j7MQwPNXuMCsz0+6D+Npv1VMfDRE5+py0NaxpFS85duZMZ8KfS2x8w== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=WV33ILRz3qXOcgSHpKBcF/wSIzS0OJIj8kNWzV282yc=; b=AasJPFw2OxA2MvwE88BjLmc7Ygx7Yu8+O6QiFFhMP6SQ7WoyxRGxpoZU/RXgX5c6lPH/Gac27NQcmqIVVsNJjlp+2SWGL72t1pG3fR+EgREEkEKQoao2f7/C00t+Gb3wWKiwxiM/o2W6jN5EyIf0zzJdZ86MYcjnxtk0152tvKwFEqZ2aIYi5MgVSSnzgsOI3Eibjf5bkQedoS9eyE+QFRWxAz1oXcky9JrH4eF5Zgtos/bDjt4WnYuuz5EDma4+zbrvgivzEHroaSBhUaO2xKQaZv7SfFMxNRYODw+Gd5t4U0iw7HB8UIo34e4DB4zf7NJMSLhSh4WsYJv01cAKNQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=fb.com; dmarc=pass action=none header.from=fb.com; dkim=pass header.d=fb.com; arc=none Received: from SA1PR15MB4854.namprd15.prod.outlook.com (2603:10b6:806:1e1::19) by BN7PR15MB2401.namprd15.prod.outlook.com (2603:10b6:406:89::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4995.27; Tue, 22 Feb 2022 08:26:52 +0000 Received: from SA1PR15MB4854.namprd15.prod.outlook.com ([fe80::90df:a984:98b:d595]) by SA1PR15MB4854.namprd15.prod.outlook.com ([fe80::90df:a984:98b:d595%3]) with mapi id 15.20.4995.027; Tue, 22 Feb 2022 08:26:52 +0000 From: Dylan Yudaken To: "axboe@kernel.dk" , "asml.silence@gmail.com" , "io-uring@vger.kernel.org" CC: Kernel Team , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v2 4/4] io_uring: pre-increment f_pos on rw Thread-Topic: [PATCH v2 4/4] io_uring: pre-increment f_pos on rw Thread-Index: AQHYJy3DKkNH7lIuQ0i9mEbODtcbvayeS2iAgADyHoA= Date: Tue, 22 Feb 2022 08:26:52 +0000 Message-ID: <7cb73276b793dbae411938d7b84e20d8a2356749.camel@fb.com> References: <20220221141649.624233-1-dylany@fb.com> <20220221141649.624233-5-dylany@fb.com> In-Reply-To: Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 80ef56fa-88a4-4a8e-8e96-08d9f5dd1425 x-ms-traffictypediagnostic: BN7PR15MB2401:EE_ x-microsoft-antispam-prvs: x-fb-source: Internal x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 6UAQixFrJdK21YiGdn5vwseRLVN8MvKLreWsrjIfLsZ6v9R5T+0zPjUiuSjHW8ah9c+FqtOixq4GDrY/bf+khOvzv886Qh/nvx9+kV6jpxv7B8wzTkRd0wV+CEn5uv0DNluDxt6/kIbxsnQFiTE0bZgQkTbWW4E9Y4SDyVAZB/3JXoUqJaxGwtB4GazqHhmQ5u6VBvI5pcEvvfkKvTBNPWCFnllBkBjPdekVW3doktESS3k8ylZqEkbV89t1L0titfl9h5BHNd+xdiJOq6uUytyImvwKZZbhtp4OvPBUjphIuUNxdOqcHEHta+hRXX4aJqxJIJ2t8WyOVPZkcyPRUPOhnNr6HZBKrOjl66148RjhzDV6WUDgBZq93f658UqzT2xFfvfpEeAYb9ncJ0fk/a+BcFnw401sZauL0I83FDQWfCVqKE6uYJaE0pPjXm8pOigrAtrnFqzcYuFs/vB9Tvdt4dl4aJ9/YFKnuMZbHkI+2L11r9rXmPAp6uzn4KHEbo72YKYg4qkrgH0giCHVTVzttLzXXIB5/i5Yp93WEbk90iTuQ3IODzL7VixNU7dartHASlBcmdemlc7nIr5/oL3grM5lSKwP3LUVukqEhQ0U3GqJJL4vLZ32zGb7HimNLhXLWu4fmt29E6fcfkH8Cheys1NHr0jEIji7jqlBWm+Vth91dm/Ae5tO3m+dRisObPlJNjn9B+fMjoOgpFln3g== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SA1PR15MB4854.namprd15.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(366004)(6486002)(122000001)(83380400001)(8936002)(5660300002)(2906002)(508600001)(53546011)(6506007)(91956017)(36756003)(6512007)(76116006)(64756008)(66446008)(66556008)(8676002)(66476007)(86362001)(71200400001)(38100700002)(38070700005)(186003)(316002)(2616005)(54906003)(110136005)(4326008)(66946007);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?NXFVc0JxcElVelBwb2xjcGw0NlZjUjRXVnNKUXFaNmJSQTdiYjAwWjNkZ0Rp?= =?utf-8?B?VFAwYUJBK3F6U3lTZXd2V3RFRTJxR1BuWkNsOXoyWFdyVytMbFBaRklKRU1O?= =?utf-8?B?VWd2TWtEK0k4Y0MzR3JBczNRV1Rrd0lWZk5oK3NXakFIcXpSdkdjUW42SUpj?= =?utf-8?B?WGx2YTQrL1ZxZWRjNlFxYVBlM3VmMk1tOTlqK1NCRmhRbTd1TjRSSlNIVUJI?= =?utf-8?B?b0RZT1hWeWNCRjdjbUtvTGQ0RStHQ0VxYncxd0pIbHpqKy81OTlSUWIzYkx5?= =?utf-8?B?NjZ2ek9tcGJoRTNuT3BlbVhCQWRHbk5FT2pRdFUydEZ0OUlQSjRLbFJRQUdZ?= =?utf-8?B?Z1NNWUY5d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WHRydldSOFdoRGhhSTlzVUNL?= =?utf-8?B?b0E9PQ==?= Content-Type: text/plain; charset="utf-8" Content-ID: <69E60765D61AF5419416F373FD98B487@namprd15.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SA1PR15MB4854.namprd15.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 80ef56fa-88a4-4a8e-8e96-08d9f5dd1425 X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Feb 2022 08:26:52.3113 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 8ae927fe-1255-47a7-a2af-5f3a069daaa2 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: uPpUu2v6r6krlywkiJChARx8TfOENbJE/KsIH4qROKSlL1oBBx72M27je0KTCTLf X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN7PR15MB2401 X-OriginatorOrg: fb.com X-Proofpoint-GUID: g8uZL9V35_PPzOheoOiH5MovCHle5jRc X-Proofpoint-ORIG-GUID: g8uZL9V35_PPzOheoOiH5MovCHle5jRc X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.816,Hydra:6.0.425,FMLib:17.11.62.513 definitions=2022-02-22_02,2022-02-21_02,2021-12-02_01 X-Proofpoint-Spam-Details: rule=fb_outbound_notspam policy=fb_outbound score=0 suspectscore=0 phishscore=0 adultscore=0 priorityscore=1501 clxscore=1015 bulkscore=0 malwarescore=0 mlxscore=0 lowpriorityscore=0 mlxlogscore=832 impostorscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2201110000 definitions=main-2202220047 X-FB-Internal: deliver X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gTW9uLCAyMDIyLTAyLTIxIGF0IDE4OjAwICswMDAwLCBQYXZlbCBCZWd1bmtvdiB3cm90ZToK PiBPbiAyLzIxLzIyIDE0OjE2LCBEeWxhbiBZdWRha2VuIHdyb3RlOgo+ID4gSW4gcmVhZC93cml0 ZSBvcHMsIHByZWluY3JlbWVudCBmX3BvcyB3aGVuIG5vIG9mZnNldCBpcyBzcGVjaWZpZWQsCj4g PiBhbmQKPiA+IHRoZW4gYXR0ZW1wdCBmaXggdXAgdGhlIHBvc2l0aW9uIGFmdGVyIElPIGNvbXBs ZXRlcyBpZiBpdCBjb21wbGV0ZWQKPiA+IGxlc3MKPiA+IHRoYW4gZXhwZWN0ZWQuIFRoaXMgZml4 ZXMgdGhlIHByb2JsZW0gd2hlcmUgbXVsdGlwbGUgcXVldWVkIHVwIElPCj4gPiB3aWxsIGFsbAo+ ID4gb2J0YWluIHRoZSBzYW1lIGZfcG9zLCBhbmQgc28gcGVyZm9ybSB0aGUgc2FtZSByZWFkL3dy aXRlLgo+ID4gCj4gPiBUaGlzIGlzIHN0aWxsIG5vdCBhcyBjb25zaXN0ZW50IGFzIHN5bmMgci93 LCBhcyBpdCBpcyBhYmxlIHRvCj4gPiBhZHZhbmNlIHRoZQo+ID4gZmlsZSBvZmZzZXQgcGFzdCB0 aGUgZW5kIG9mIHRoZSBmaWxlLiBJdCBzZWVtcyBpdCB3b3VsZCBiZSBxdWl0ZSBhCj4gPiBwZXJm b3JtYW5jZSBoaXQgdG8gd29yayBhcm91bmQgdGhpcyBsaW1pdGF0aW9uIC0gc3VjaC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