Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp180964iob; Wed, 11 May 2022 12:02:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx8UFdeQeHzdRd2flRlXW9nSkRve4p0HJrbNgFBsWenARZA7eHnbqJC4zmi9KOEklDGy9Nx X-Received: by 2002:a17:907:3da3:b0:6f4:4292:6d6 with SMTP id he35-20020a1709073da300b006f4429206d6mr25637062ejc.162.1652295740781; Wed, 11 May 2022 12:02:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652295740; cv=none; d=google.com; s=arc-20160816; b=hk2S3YfzB1/yP+e6KSQru6k/zwDxFzeoZSK/J+Mnq8/s0Ygv31ZOMzbLgr57vIILC7 Cv9eXciXpdgSqp2KdZsIYCI0uIMnDgu+tB8dOf3YUU9EZwP4cu38NQA/6ts3tMx7LaCQ xRK3WSmvcbZIujloyVgo4UcqYwIrq9iyWeW2/LO3OpK7FVLtyHvaQ496kI7IyFhAGalZ ggDR4GYqaCvCMnulu+vzykopSzM2Buza7wfbb+Z+juZQ3fWzDAccM6D6EI9l9FQaOWod 8yWiRmhZie/4EYcT3hMQ9HiXFIKXUQQTt2psOQJapHczUQ34bWoNpxawdtNOkZqu0dSR Q43A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=J7qdb1hLqH5S/Qijzmj6Il1EkPWwe2L7oUVkXG05Znc=; b=D2cRX6YeO6Bet73Tvjsi0o7AxQeqFvsrdxxazQj37rn1QuqnROrK1Vfwcpgn/8q4hi nQuDxPcCS5Okwxw2hVsiPrulq54sxie0XlJJ+xBZURaPpVLJMOYI1lJGAOdpBNd4K5dD 7f5QNzxXd62pA98d2U8yiJ3/DRd33GRJTR9rspFQRwDcKbNB/tSV8JpEaCnPdVgoTG4L EOG/Kt+L8crekxBRo6bbv+GiA39BKQDBajNHRalPAhb8t1wlEQtgJbptwaadmclC2p3b OiVStHS+aBh0L5ypJ7L8VQ2sfRGqgpAXEqMgQzt2OorrVc66lP+w49seh5cQr4QKzNtu DMVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=dJOWwBZV; 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=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cs10-20020a170906dc8a00b006df79ec22fdsi3404794ejc.567.2022.05.11.12.01.43; Wed, 11 May 2022 12:02:20 -0700 (PDT) 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=@chromium.org header.s=google header.b=dJOWwBZV; 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=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229498AbiEKJkH (ORCPT + 99 others); Wed, 11 May 2022 05:40:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54336 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234489AbiEKJie (ORCPT ); Wed, 11 May 2022 05:38:34 -0400 Received: from mail-yb1-xb35.google.com (mail-yb1-xb35.google.com [IPv6:2607:f8b0:4864:20::b35]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 875E649934 for ; Wed, 11 May 2022 02:37:23 -0700 (PDT) Received: by mail-yb1-xb35.google.com with SMTP id e12so2831592ybc.11 for ; Wed, 11 May 2022 02:37:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=J7qdb1hLqH5S/Qijzmj6Il1EkPWwe2L7oUVkXG05Znc=; b=dJOWwBZVi7xQ3DLFYimxYV6NWUkjRtnDp21YC96glDvJ7XtbuAr6oQBhLY6kKOcB1o 93nhch2e5dIYHSHu4m2eXJF5vve5qNg+cEsEvIZnd2DvGRWv3WRpaGNNAqH46jgXjfxr 3w6cXuxClKtZZDHqrskiHW8HwkPVpJvSgaf/s= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=J7qdb1hLqH5S/Qijzmj6Il1EkPWwe2L7oUVkXG05Znc=; b=pgKBBa/48G6A/Cs+wXl6pA8Ageo6H1ywhHZly1b/El7A5o9qmwVRwj+WttYEKujgVV DBpgU729xJn7xSn93glGAVFsxvF3RkHCWrHbHM5MIe0+7cp++peyrNrxIABPHFd1MixB +fWEkB7xcdAhu3o72/B+mj2EqhzCyQQN/gSfvacfE8v05hxTzeK2J8hFAsjW7n5qgpJO jwCMOm6NnhOjrh5nh9P7g4V5eh1G4Q7LErS4z/hrkosobTTv8U9s6wcjIOkyNtBPAzJ4 s0zEgLoFanaJIpWAYmnzw/V8J8OEEv6s8jUX/ZDIGzh7W0uRfbpXMFdCa21/pl4N/UU5 Rlmw== X-Gm-Message-State: AOAM533xjC96TqOPGaNBezy00We73Oz3WxiWAeXn3YQ6LTU3Wih6gXcl Ij8SnLRIIQBKVbt/6m7ndoKK6EJwL+jTy5kaRaCHmg== X-Received: by 2002:a5b:44e:0:b0:64a:c0be:c59c with SMTP id s14-20020a5b044e000000b0064ac0bec59cmr15610827ybp.573.1652261841760; Wed, 11 May 2022 02:37:21 -0700 (PDT) MIME-Version: 1.0 References: <20220511013057.245827-1-dlunev@chromium.org> In-Reply-To: From: Daniil Lunev Date: Wed, 11 May 2022 19:37:11 +1000 Message-ID: Subject: Re: [PATCH 0/2] Prevent re-use of FUSE superblock after force unmount To: Miklos Szeredi Cc: linux-fsdevel@vger.kernel.org, fuse-devel , linux-kernel@vger.kernel.org, Alexander Viro Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 > No progress has been made in the past decade with regard to suspend. > I mainly put that down to lack of interest. > That is unfortunate. > It is a legitimate operation, but one that is not guaranteed to leave > the system in a clean state. Sure, I don't think I can argue about it. The current behaviour is a problem, however, since there is no other way to ensure the system can suspend reliably but force unmount - we try normal unmount first and proceed with force if that fails. Do you think that the approach proposed in this patchset is a reasonable path to mitigate the issue? Thanks, Daniil