Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp2260854rdb; Tue, 3 Oct 2023 15:55:03 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGJ9ebk0YOAIkQct97GWOyzWuOiAox2/hxvPNxLvuChsasDVSQxQDmkESmuHJsJ5Tb4ljcp X-Received: by 2002:a05:6e02:1a07:b0:34f:df0c:239d with SMTP id s7-20020a056e021a0700b0034fdf0c239dmr951067ild.15.1696373703410; Tue, 03 Oct 2023 15:55:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696373703; cv=none; d=google.com; s=arc-20160816; b=T8fVDAwu6e1+6945sc/6iwL0mG0pMVTaFHUEcZOHNWWWz7MTMRZ5sT7ivWdapVA56w 5V0HLBGlTdg3/UWsR++brDriAfOPvL3uPn1bAcCux4oi40ihGdokil7Aah4gAmw//RFD qKy9uNvMAkOiiLRgzwmzuIQqu8rI4rDcZPZ8+4z3S4bzfBShdgWqnIdYrNvNf6Xiuhxj p0BcNRubDV7r5ZMpg5dPPrgRUN5KUAAp/nMtSFfa9Vh1OGG9LONz6s7GS4McNMoN6GF3 Ruuw4SDTiPef8mJIyxfVS3rq/DgqsiVg7AWAcovza+V3reU1+pFpdi4e8hQ5I9jHS01B ie+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:feedback-id:dkim-signature:dkim-signature; bh=2jVHXmEhNGnLoThDwRPTaiXQ4VgtqdFS0mAcLW+bbUo=; fh=Kb38NBQK4t1rTApkmHJAFmoYyki42lH8ZL7GNbPVv04=; b=sjwJgOEOPkNO8AsQEkZTsItISfLeC9pzpamGfpBNwsoGP5G1GTVMyo7qzuSPql80Do AAVNj+BqPOWSCoUgzWapW5kwU3m1Lf1cDnHVaPn0jfKNpCty6sdM1XZrbCOqXnn47m96 HjvjUCGrsN0DDfJpbvWO7v09tpq33s1YtQRGAcsRzSdoStgviX3ZdYxtEcKbDijqnIAI FiEl3DrDYo32g/OFdH4V3/iHt37SD5gNvcseuNDt6DD4mLJNlAVc6T0fNZ9tZrUx/B5w rDZA6tCCVyJy9U1xRFLGVc5yOfvKAKvG2rhUHf1MHRC4MNPM32+JqamDM++wTxOvwK3B pygQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fastmail.fm header.s=fm2 header.b=IFhkv836; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=egPLEMD8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fastmail.fm Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id u190-20020a6385c7000000b00573f9a427d9si2527900pgd.717.2023.10.03.15.55.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Oct 2023 15:55:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@fastmail.fm header.s=fm2 header.b=IFhkv836; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=egPLEMD8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fastmail.fm Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 75B3E82EC57B; Tue, 3 Oct 2023 15:55:02 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231980AbjJCWzA (ORCPT + 99 others); Tue, 3 Oct 2023 18:55:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52006 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230237AbjJCWy6 (ORCPT ); Tue, 3 Oct 2023 18:54:58 -0400 Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E80EDB4; Tue, 3 Oct 2023 15:54:55 -0700 (PDT) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 185A63200B49; Tue, 3 Oct 2023 18:54:53 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Tue, 03 Oct 2023 18:54:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm2; t= 1696373692; x=1696460092; bh=2jVHXmEhNGnLoThDwRPTaiXQ4VgtqdFS0mA cLW+bbUo=; b=IFhkv836Ujjzz4C2Te8jaNK4yy5yagWg1P/KMPmBtP+4n2IQXBa BmL3DpoJYO2BiYOvgijAusiv/52+c83Q921gn4qrPC/03dVyvKOUUqIu4Azidibo sRA3I06mXeBlA1GANIpHRvDl94FVtkQOjEEwL43OlqysU43s3v8k9godLZQhXk6d mwx6s7htmDB8P3+tienqK8LriGaCCTllrpfJ3GojqbnJGCLRNsWjSj7EVJ3gYEFN m/Td9YaTngsxXGj4+tLli/NArQ09DPboAH7C7oMSB1NLnma1u/OYB7qHtlhaVtDW K/a1Ec2RmdC+NPWnZDjncviLe3SpooAnrig== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1696373692; x=1696460092; bh=2jVHXmEhNGnLoThDwRPTaiXQ4VgtqdFS0mA cLW+bbUo=; b=egPLEMD8Ni268aQlNmn/ScE2MzX3hNgSvoVz75KIExlNmuMPNxw g60ujvzGsPgMQSmY7K5b3KPbors8ma0tP29W0gdl1/wLrsN3NZfje2IItjQlyTZV +oIG0Syv7SNFl2yomimmjRnw2bkqH+r+NoBda8F7y/c25t4N2IvkYJR6PGrNs1AR sT12oLzNTRXj3SMhZj6RbWDdGFo9EGO7CpEkrpFI9YNO8jVp1sSpHvCniAmZIuGS ymIPtBsL8rx/HVvdG33J7X4tYNUc2Xk4GqfmWOqbX9ekpBlicQLZG9T8b6gSuEXj RCELFVTHbzZglTF93G6wfihWJ1biZPxqL2A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrfeekgdduhecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefkffggfgfuvfevfhfhjggtgfesthejredttddvjeenucfhrhhomhepuegvrhhn ugcuufgthhhusggvrhhtuceosggvrhhnugdrshgthhhusggvrhhtsehfrghsthhmrghilh drfhhmqeenucggtffrrghtthgvrhhnpeffjeevfeefjefghfefhfeiueffffetledtgffh hfdttdefueevledvleetfeevtdenucffohhmrghinhepkhgvrhhnvghlrdhorhhgnecuve hluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepsggvrhhnugdr shgthhhusggvrhhtsehfrghsthhmrghilhdrfhhm X-ME-Proxy: Feedback-ID: id8a24192:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 3 Oct 2023 18:54:51 -0400 (EDT) Message-ID: <18552fc7-184c-4bc7-9154-c885fae06d31@fastmail.fm> Date: Wed, 4 Oct 2023 00:54:49 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [resend PATCH v2 0/2] virtiofs submounts that are still in use forgotten by shrinker To: Krister Johansen Cc: Miklos Szeredi , linux-fsdevel@vger.kernel.org, Miklos Szeredi , linux-kernel@vger.kernel.org, German Maglione , Greg Kurz , Max Reitz References: <97163cdf-ab2c-4fb8-abf2-738a4680c47f@fastmail.fm> <20231003164823.GA1995@templeofstupid.com> Content-Language: en-US, de-DE From: Bernd Schubert In-Reply-To: <20231003164823.GA1995@templeofstupid.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,SPF_PASS 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Tue, 03 Oct 2023 15:55:02 -0700 (PDT) On 10/3/23 18:48, Krister Johansen wrote: > On Tue, Oct 03, 2023 at 12:18:42AM +0200, Bernd Schubert wrote: >> >> >> On 10/2/23 17:24, Krister Johansen wrote: >>> Hi, >>> I recently ran into a situation where a virtiofs client began >>> encountering EBADF after the client / guest system had an OOM. After >>> reproducing the issue and debugging, the problem is caused by a >>> virtiofsd submount having the nodeid of its root dentry fogotten. This >>> occurs because it borrows the reference for this dentry from the parent >>> that is passed into the function. >> >> >> Sorry, I didn't forget you, just didn't manage to review the 2nd version >> yet. Will definitely do this week. > > Thanks; I appreciate the feedback you've provided so far. > >> Please also note that there will be merge conflicts with atomic open patches >> from Dharmendra/me. Although probably not too difficult to resolve. > > Sure. I'm happy to reparent, resolve those conflicts, re-test, and send > another revision when we're ready. I suspect there are going to be > additional changes requested on the v2. With that in mind, I'll hold > off for the moment unless it is going to cause headaches for you. I certainly also didn't mean that you should check for merge conflicts, it was more an annotation that it might come up - depending on the merge order. Please don't stop to do improvements, resolving merge conflicts shouldn't be difficult. I'm going to add you to the atomic open patch series to keep you updated, if you don't mind. > > For the atomic-open-revalidate changes: should I be working from what's > on the list? This is the most recent patchset I see: > > https://lore.kernel.org/linux-fsdevel/20230920173445.3943581-1-bschubert@ddn.com/ > > I found a 6.5 relative tree of yours on GitHub by following the libfuse > pull request, but nothing that seemed in sync with fuse/for-next. I don't think there are conflicts with fuse-next right now, but I can check. Thanks, Bernd