Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2337701pxp; Mon, 21 Mar 2022 17:21:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxmNNlZz5unru0ZJj/ExOopFIMxHZDlMNsPdPIpaKSdCObX9diRBxHyJ1zUXxReIGigezZz X-Received: by 2002:a17:90a:8581:b0:1b2:7541:af6c with SMTP id m1-20020a17090a858100b001b27541af6cmr1867440pjn.48.1647908474379; Mon, 21 Mar 2022 17:21:14 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1647908474; cv=pass; d=google.com; s=arc-20160816; b=GVtWUymeYnQMNKAahBWwMDgMFeYhIhVxG4X5zX4XVxAxfyWBH/wVY+ZNn7uuVxX99n eY5S9WliKWboysiwoU5yFuEyiDGk6moqs7MeMp5wFfGxsdGbxCeSnSvWA17pY+hUQMCW IYwiPw3qQnUSasUWezXQPUn9RqTURDHFOov5aobofmVPBsI8Pevtly7AXepFLBbeEbsS r/A8toGIQ3kZ8JRTCpQ8hDVvPYwyvui63tYBKwBavlifrsIK7LSUqgqoh4t1E7CpfUXR 2kFsHKUFkyTfHAwuaFMZg9CRTJoP+v1+ZFaHAYMqwDUDccnEpkcDrriy124kkr21SN8o 53Mw== 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=bwtrzpU645C1GzBPJ9lo4WwhWdgIh2k0wqrb61hv0Po=; b=K9hhLurd0/swXTlDi8LlWXIcPW818Qy/ffQ0NFd2/coi/DTKAAfthETVA9U/y0/9YQ /bTVK7QV8akBE0P3jfs+AsI7lH1SLxmaw5JwxFWnMiHo26a2iWdeMO47iz/23/oVITV4 MDpxPG/aLKRYJf5/XdpxvMqJyPiVegTPJkZTCHEUTRJOnjnUcCWc4FsdCA+xh0vvN9ef IN2y7zZYxjxrSpfPGRJopibcqcc+sOXIIWVWFVSgeqD4hfjL1ngxD1ts3O/jauHjw6l1 jiVTgI4djSLvfS9yzRfiTpNwTWfHcFKfiViQ4acmPUY/Iq9H0N15l5YSwu+u830RhM41 rzSg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@hammerspace.com header.s=selector2 header.b=chFHEbWs; arc=pass (i=1 spf=pass spfdomain=hammerspace.com dkim=pass dkdomain=hammerspace.com dmarc=pass fromdomain=hammerspace.com); spf=softfail (google.com: domain of transitioning linux-nfs-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=hammerspace.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id b3-20020a170902d88300b00153b2d164e0si11471102plz.232.2022.03.21.17.21.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 17:21:14 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-nfs-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@hammerspace.com header.s=selector2 header.b=chFHEbWs; arc=pass (i=1 spf=pass spfdomain=hammerspace.com dkim=pass dkdomain=hammerspace.com dmarc=pass fromdomain=hammerspace.com); spf=softfail (google.com: domain of transitioning linux-nfs-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=hammerspace.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 65A4665164; Mon, 21 Mar 2022 16:51:09 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233513AbiCUXwa (ORCPT + 99 others); Mon, 21 Mar 2022 19:52:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39764 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233499AbiCUXw2 (ORCPT ); Mon, 21 Mar 2022 19:52:28 -0400 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2103.outbound.protection.outlook.com [40.107.244.103]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E5BA41905AE; Mon, 21 Mar 2022 16:50:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OtlbXgVTCT6mkoUyN2mTI8TbiWnvmN5gVMeuzaRoDXehzcrZH79SB92FJ1Zu5J/XpKNcF/O0vY61N0DiXzgF+iS3kWBAa3cv5reKj/mO30bL4+zZX5Ti983HHq8/ET4XXlig0ORZpb4gtrRjB+vqCyjGpl2ne2djTQyZXRDbQB/0kikgOr4mVMA/4hKBWm011aJDJaizTUsPZbDIsvshhC60rR0leoP3FN0zdRqhRYNEyv4rHUH8z2+u6haCWTniyKSKgaiQe505l+hWfrJ9VzWdt2L1qy8MrM7In2ZfgurXfekWYjZvmutuvKniVTW9EQVy2YYrrcAJAvbfmAdd1Q== 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=bwtrzpU645C1GzBPJ9lo4WwhWdgIh2k0wqrb61hv0Po=; b=jIVW4CH6dGG8AgaO6xi/9NNK9/bfO/UlHeDNEXP6pXhlqo15zBDL3fsQLP2+IRFbprlZEFc8H6MdA9qkWSQ0C/QAsX2/+iul1eU/aoG0KqN6I1R997BLge3+J7uilLT8qxq0KDJ2n/lTApNOwvCsxC68mh088So9YgsYnAxX7x8MmoqbWOybTx/6DJCDmjGF3F/jDUP2qytKqW8/qV/fQvicN/Vifa+GrUIsKUzgxTFQjKzmHAnOPeuoxYYm/ovH3EwXLVdZarXTDEZjGN6fI9VfpbK8GN71P/cisKMXrpr7ltsRPLLg1XyB9iqmnp9OrKN63besQpGBnBuKjL6UoQ== 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=bwtrzpU645C1GzBPJ9lo4WwhWdgIh2k0wqrb61hv0Po=; b=chFHEbWs1hKaZJkbFE8HVMWweFTUnei2/scXH6o4KgvVvMGHUei/nYeY51aQJkTkBEpyw9x2zpyNHUJeh8hsmhRA8ULe5dXa8sIhXLSmjIOoZfEuvqvWUJZ8kJhiZEBayfnjRQK3VgDnk1quq9t1VEngJccd1oAf0Mz/nETElTc= Received: from CH0PR13MB5084.namprd13.prod.outlook.com (2603:10b6:610:111::7) by MN2PR13MB3135.namprd13.prod.outlook.com (2603:10b6:208:135::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5102.7; Mon, 21 Mar 2022 23:50:36 +0000 Received: from CH0PR13MB5084.namprd13.prod.outlook.com ([fe80::c0b:4fda:5713:9006]) by CH0PR13MB5084.namprd13.prod.outlook.com ([fe80::c0b:4fda:5713:9006%6]) with mapi id 15.20.5102.015; Mon, 21 Mar 2022 23:50:35 +0000 From: Trond Myklebust To: "khazhy@google.com" , "gregkh@linuxfoundation.org" CC: "jack@suse.cz" , "chuck.lever@oracle.com" , "linux-mm@kvack.org" , "linux-kernel@vger.kernel.org" , "jlayton@kernel.org" , "bfields@fieldses.org" , "linux-nfs@vger.kernel.org" , "amir73il@gmail.com" Subject: Re: [PATCH RFC] nfsd: avoid recursive locking through fsnotify Thread-Topic: [PATCH RFC] nfsd: avoid recursive locking through fsnotify Thread-Index: AQHYOyajLa8/8HRLJEmjaX9teCCEe6zF3FKAgACW7ICAA0KLAIAAv/GAgAAM0gCAAAQQAA== Date: Mon, 21 Mar 2022 23:50:35 +0000 Message-ID: References: <20220319001635.4097742-1-khazhy@google.com> <20220321112310.vpr7oxro2xkz5llh@quack3.lan> <31f7822e84583235d84b8c7be24360c46c7450f7.camel@hammerspace.com> In-Reply-To: Accept-Language: en-US, en-GB Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=hammerspace.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 690cbd23-29d2-4bb5-1d7b-08da0b959846 x-ms-traffictypediagnostic: MN2PR13MB3135:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: S4bOWTQr14ZQg/5rc3sQ6PnyvbrKkiX7KmzMrzO/n1PlhqHiz1YmF1Bdg0dEHmcBHhR51Rx2TOtWR7gQMUUbgYLZuvkxQM12cRnYfzioG1MyZso/okDd597nGU+AydhgjH7EqY/uEvg2v4pdQz66H4OJVntZZRqtUw2MFa8/N1K8XvTsuFVWnkJtkLnWOrACksvQjhdFBGx8eVz8g1bXprxasCW9st3GLnU6HHur2uSamhP00SZIwhWTW5FOWgDHph2BaUPABGkXyn6OF81HzDjeAobqoJQ5f4rcWf65QlepIX5293gR3UUfQvQpfB3A+Z2/mh8NacFMt2GZJhXaiY9jn9nv1l4fPrvhaHNw2DfFa0eyQT+tbf8x/FCrw5B1gWIk6K8bwaxG07Lve0DgouXwfQ1nEtyAaoZEHiiiiatft3qlfKAAjDEs6swnpzZ45c5WWT1VQzdyJbg65P12+Yd3x75WMT9wQfn+IHP51/A2/1sUtt+ybguyVBBScR9KfcNORQ+5VgnRWlTif5E6/JZk44De8JRpkQG+edw6TZ9tHj6iemIT03yOIlSV2wUZYL2kxunnph5Qe3Lgeaqwid7LMC2U6PaJ8/TmCYR8y29oGTVoVFzK4ZsT765DrwwPoQKVcZlNNzbhXdOSXVLhq+5T4Hec4bBTCGmI1Ei8X7Q1vResBauFnwzu92Xo0B9/+ThoL1ftCCUnAyeKpROj6UtjagCCVI7aTZswII0+9+LLOAXLDb8dNv5N0YHFn0YN x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CH0PR13MB5084.namprd13.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(366004)(86362001)(76116006)(8676002)(53546011)(66556008)(66946007)(64756008)(66476007)(66446008)(4326008)(122000001)(71200400001)(6506007)(6486002)(316002)(38070700005)(110136005)(54906003)(38100700002)(508600001)(83380400001)(6512007)(26005)(2616005)(186003)(5660300002)(8936002)(36756003)(4744005)(2906002)(7416002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?M0hwK3Y2SEE1YThGdS9CaFUyZ0hwM3hzR242aHV4ZVRudVJyUlh6NWxyYnkr?= =?utf-8?B?N2grTm9wcS8wQkRGR3c4aVVrWWtDd0Q0R2wvM1Q2d0IyWkNHaGJhcHBSd3RP?= =?utf-8?B?VENrRGxXV1NJZ1ZKSmkxZDJodzNJR05yQ0JQSUJOeGxlU2ZkamJxMTBZNTlF?= =?utf-8?B?VVBhbS9OYS9GWEdtQ3M1aGoxZUhKRmZVZjMvOGJzWjBiblJOTktXVVpoZ3RH?= =?utf-8?B?b1pHU0t2K213SUY0SllUOGJxYWtPd1IzeEpXWkswaHpZZFM0RWVCYkliVDBs?= =?utf-8?B?cEpQS2s4WEdGUXRRbVozWFVaQzNITHhON2xUYzV3c3gvWUZYVDVZUEQ1UU1q?= =?utf-8?B?akNZMXkwQklLaD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U0wr?= =?utf-8?B?T2t2bFQzbkpWam9HSlpBYkVtbVdsVnhoZ3phMGxjSnBETHNzWmExQTZKdU1a?= =?utf-8?B?TWM0TW52czR2Mk9wYWlTOUNRZm9wYklxTy9GN3M1b1lhaFpFdUN2bE5uMGc2?= =?utf-8?B?bUxRRUtHV1lNVzJiVy9LNDRwTURJTmtiUzJDd0pybE94VWNneldwaTcxK3BM?= =?utf-8?B?enVLUHNtdFVRZHVYK1gzV1B5ZDJ6TFo0bFo1SHQ4T2pBL21KRmc0Y0ZZYkUw?= =?utf-8?B?R2g5elNKWnAzbTh3SkNkTklqTDBWOHczWEdXUHUxTTFIcUNXYTFJQjJrOUFw?= =?utf-8?B?OVhoR01lMnNYbmZpbkcrenJ4VjJzaUt2ZExPMXNDdHB1Smd0YnVCUnlzZTVK?= =?utf-8?B?eTQwUW5PV3pEVHNpSm4wVEFLOFhKSDFuVmhRMGtVOSsrZ3JrUGN0MnI4YTBt?= =?utf-8?B?aFd6VEh3UzFNRkpnVVV0Tzh0dXVCOXhLdTBaVWhsNjUzbTd0WFU4Y0FKOWM2?= =?utf-8?B?R25ScTQ5bGF1czNZbkpvTStBRDYyY3VoV1JROThzYXVkMWdLQ3NsV0lEY2FF?= =?utf-8?B?bEI0MzN2WlBGUHYrREJEV2FoWm1vMTBTN2JWa2RyUkFSSzNiWFZOanBXMmNE?= =?utf-8?B?NU9sc2lIaFVBV04ySWJtWG54WS83cE00ZGk0dUhTNi9GZ0MwZTNqdEZKbVlI?= =?utf-8?B?T2ZFZVhOd3RmalZPWUpmMUV5U1BGNkVzV2lQT28vbmR1K0hOZ3dueTVDYnNk?= =?utf-8?B?bVAyVXRPY3VnPT0=?= Content-Type: text/plain; charset="utf-8" Content-ID: <34773B91C79B434CBFDDF5C7F569E9C6@namprd13.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: hammerspace.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CH0PR13MB5084.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 690cbd23-29d2-4bb5-1d7b-08da0b959846 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Mar 2022 23:50:35.7861 (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: 1NduiEGIVLJC2FRFk4Zj3sdDCyIzeQ2ZEAWPJw/jQC3EvWyYkb1fPH/2iIV17uRrqGfxaEhDn0tcVNa/Ny9oQQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR13MB3135 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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-nfs@vger.kernel.org T24gTW9uLCAyMDIyLTAzLTIxIGF0IDE2OjM2IC0wNzAwLCBLaGF6aHkgS3VteWtvdiB3cm90ZToN Cj4gT24gTW9uLCBNYXIgMjEsIDIwMjIgYXQgMzo1MCBQTSBUcm9uZCBNeWtsZWJ1c3QNCj4gPHRy b25kbXlAaGFtbWVyc3BhY2UuY29tPiB3cm90ZToNCj4gPiANCj4gPiBBcyBoYXMgYWxyZWFkeSBi ZWVuIHJlcG9ydGVkLCB0aGUgcHJvYmxlbSB3YXMgZml4ZWQgaW4gTGludXggNS41IGJ5DQo+ID4g dGhlDQo+ID4gZ2FyYmFnZSBjb2xsZWN0b3IgcmV3cml0ZSwgYW5kIHNvIHRoaXMgaXMgbm8gbG9u Z2VyIGFuI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