Received: by 2002:ac0:da4c:0:0:0:0:0 with SMTP id a12csp142663imi; Thu, 21 Jul 2022 17:57:46 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tu0yxFddP6KC/dXM9pcISA7DUbzDOyDGu6pcuA/qZCyeI0v/hcgVp2Dnp0W9MhuxY207Jr X-Received: by 2002:a17:907:7f8e:b0:72f:11ec:f5f8 with SMTP id qk14-20020a1709077f8e00b0072f11ecf5f8mr1019862ejc.343.1658451466777; Thu, 21 Jul 2022 17:57:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658451466; cv=none; d=google.com; s=arc-20160816; b=aHovpx/r/5Q3MFV4hUEdSKjd7cjbOPubkjEG4LKYEQY6O3vB7/DMq3DlhzJulrTwrl 7yDUCPQ65tS8gv8cgAwEd3xMFHiC8Hqg3LDe6lDuFkSDjX7ODEjPdsd8cmOHziHVki9I 6sHgkm/sAzg1kfew4Ru0qb/dSVSulHWPd0HywDOxJc0cvt6++X9QsutgnDkVBEvORQ5M V/pQtKJgTDQxwX5vRqe9WoQTKyMIGTu1O4CvUZI0OgaFoKwqBRheia9SQqiXPe3A0rRj +jpAlghtAQVRGjWsl/25kHfQ33C0FcE0fJZTxsCgOmQnMGuGZZfwD/IM3X5BBCrgIEmp 5XyQ== 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=zWIVvYuXfIBjeEz1L1BUQJGM60Wr07LvtDNRs/D6R2E=; b=nMdTFefPkcceaF6CP2ynLHPmTOemZb8mx4rdtPSiOCBl55oLmH86Q3SehLATOE0zDG IsFRPgVbpwHfvXDv3hxdI7ZQaFnp75fYAsN/vegz5k+V8wdeF4Z9J0+qiJO8C3tEopJ4 SymKypC9KTmIy4IviGRrSQ7WG2C1qbrw1WygZk2718ivpSpKs0tMfcJCWQoKWwYZ2OmB vDo3rOYEIj48rzdCZofU0xbUl2m//b77ZcvQ+MbGbY96rNeKMkvIaj4LS7CHWiqmL57G cK/uHbGqUWdKtvUg87g74VL+v0yVswasAayHyP9cLgDb4zLrPLp4agWOSn/HKqwmyR0I dh+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=eAmLULbA; 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 sg12-20020a170907a40c00b00726b4eb3517si4982259ejc.501.2022.07.21.17.57.21; Thu, 21 Jul 2022 17:57:46 -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=eAmLULbA; 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 S229761AbiGVAul (ORCPT + 99 others); Thu, 21 Jul 2022 20:50:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39248 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230248AbiGVAuj (ORCPT ); Thu, 21 Jul 2022 20:50:39 -0400 Received: from mail-yw1-x112a.google.com (mail-yw1-x112a.google.com [IPv6:2607:f8b0:4864:20::112a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4E6AC95C37 for ; Thu, 21 Jul 2022 17:50:38 -0700 (PDT) Received: by mail-yw1-x112a.google.com with SMTP id 00721157ae682-31e7c4b593fso33432607b3.13 for ; Thu, 21 Jul 2022 17:50:38 -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=zWIVvYuXfIBjeEz1L1BUQJGM60Wr07LvtDNRs/D6R2E=; b=eAmLULbAhQWopUkGzyAvOQn37WHywZEHMsK6LudhADG0r2Dl1qcbci6rKpNDscS0Eu PIHTrIsozJ4K4+x1t9s8KWZ7z1DPHwAqkja+/xNv8S9eQAf/bAYfB4L4LCYMI3CNTrsa vg5Kfy4MDfb+8JzUsOjWC8qp9LIcpNCm6uil8= 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=zWIVvYuXfIBjeEz1L1BUQJGM60Wr07LvtDNRs/D6R2E=; b=52kQsKqQddMtQWXnoBwJzFrcAvE4hBm0srVU+B7TE63fxE7e0s2LKD8q5DRWCBZZa6 8pOLHoQclwI+6BQjH0S4U3i8FXf8D14DQqdWddbng2ZvZjmiHCzEcDaUxGeXopLx4ba6 DUAgzYx5aEEwssfHiWjZql1VTk9R7zBwQ9i2EqwR8qAlvM/mh/NxYEa9BJ/yxP6CMSN5 vhqMT3mbVcFY070UymiUa8FD9rEV2+zbyxC9RNievw2LrBee3KqROudY9pGDR7DNnB/e j9/WbewMOJLCZeP9PHPgaOkdeZ8cV9P+zn1z1KVTebqFXn0rMgn8RzF9zDWfWYzcQsWm 71Mw== X-Gm-Message-State: AJIora817J8Yj8S1MUz4ja1qfFK/dhELNf/jJZqo8Gmql6AcF5QsO5u8 RDqa8u5dJwiNgL492rSnSqdfc7DuSr2IKYEQH4TAR2A3SsjWTQ== X-Received: by 2002:a81:3dd7:0:b0:31e:347e:ef18 with SMTP id k206-20020a813dd7000000b0031e347eef18mr1060784ywa.420.1658451037394; Thu, 21 Jul 2022 17:50:37 -0700 (PDT) MIME-Version: 1.0 References: <20220601011103.12681-1-dlunev@google.com> <20220601111059.v4.2.I692165059274c30b59bed56940b54a573ccb46e4@changeid> In-Reply-To: From: Daniil Lunev Date: Fri, 22 Jul 2022 10:50:26 +1000 Message-ID: Subject: Re: [PATCH v4 2/2] FUSE: Retire superblock on force unmount To: Miklos Szeredi Cc: linux-fsdevel@vger.kernel.org, Al Viro , Christoph Hellwig , "Theodore Ts'o" , linux-kernel@vger.kernel.org, fuse-devel , Daniil Lunev Content-Type: text/plain; charset="UTF-8" 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_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 Hi Miklos, Thanks for your response and apologies for my delayed reply. > Why the double sign-off? Some misconfiguration on my side. I will remove the extra line in the next patch version > And this is called for both block and non-block supers. Which means > that the bdi will be unregistered, yet the sb could still be reused > (see fuse_test_super()). Just to confirm my understanding, fuse_test_super needs to have the same check as the super.c test_* function, correct? --Daniil