Received: by 2002:a05:7412:6592:b0:d7:7d3a:4fe2 with SMTP id m18csp863159rdg; Fri, 11 Aug 2023 02:09:30 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFaUVkkYK6ks+5aQ9KzmihnfVf3MP7wDoPm4Ohcb+hbKfIOX2bO1kjymTlcTwwygQUGQBlu X-Received: by 2002:a17:907:77d0:b0:993:d7c4:1a78 with SMTP id kz16-20020a17090777d000b00993d7c41a78mr1138239ejc.10.1691744969758; Fri, 11 Aug 2023 02:09:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691744969; cv=none; d=google.com; s=arc-20160816; b=K7UVpodS2rcHTl9OZpIVxOIvyfouFKCL1T3IIc4jfzevqocLIMPqxpmucEDd073Wdd 7FmPLgka6zmL9caTWABAY1UtmzLKMFCPcFq5VwVJNAKRe3T1xTlfFrZKTudnd0lhe6Al zvmX9PoIA5wAny+daMux/YGe7EFAxS/psWQDR9Fvbm6pxOwN4pet/n458qhyGReS9TOW objKN8AdOLeq9R097U5PIUkCK4AJPFIprBx2hZA5tnmx38TC95xVhdA9Lwa6AlhqKZ8g tIb5dzu0L01KywVDRIoWTxoMI2W+REoZhtR5qhtZiB5CAo5KKIwYwDL5o/YV6NBqJKqk am8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=hfdkR9kkfWiciTthbyWojxCuh/fTtklGO9D6xspDOsw=; fh=r9dzMiZ+OUeplXp8cUO0LJUNlMrro36KWi/UZofcM8s=; b=rQTVYtf6EnaQkg0Ds8iAR+T37zUD4/7RdozPiG5C68gLIWXlWzyrYcnb2O9IQhk4tI dB484IOk4oLAfWr8LDWJLVEk5l/A7TPjCx+xGHaWJWPCIGvhVWmGIOGeRqH0t6mN0XyU HQbGYD20SsAWZxri39wTTLsn8mxjHYOioz3YiIZ+WdLqb4IKR0IYbFJEp7TiB3VBuv8K hdP03b3hrFEj2Z9ZPGXaNbOPXFHejovzpccOuMEgB7godYPCdOCTwHW3bRNIlnTNjFqy Q56/cHdrSCMfEnLhKw9uG801xd5r6U5TiTReFpW1hjCORpNoIAyFVZNzZEg5R3fhVG8Q rgPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cwgZR5Ms; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id fx19-20020a170906b75300b009895e9b8819si3151783ejb.1051.2023.08.11.02.09.04; Fri, 11 Aug 2023 02:09:29 -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=@kernel.org header.s=k20201202 header.b=cwgZR5Ms; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234279AbjHKHxH (ORCPT + 99 others); Fri, 11 Aug 2023 03:53:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42090 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230414AbjHKHxG (ORCPT ); Fri, 11 Aug 2023 03:53:06 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 62CA29C; Fri, 11 Aug 2023 00:53:06 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id EBB82639F9; Fri, 11 Aug 2023 07:53:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 67C28C433C7; Fri, 11 Aug 2023 07:53:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691740385; bh=MTJarVIvr4WRNyvhoo/0slfSO8LXGQpypLwKg1eCCi0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=cwgZR5Msj1ZoEutKFBoQXBW3LUkSiSp1+DQCPtl4T8nK48K4RGZm6Cc/mki4Y3LdE E7VpqAUuGNiXzgfE/LTKuDAGif0xRBzm3TQjB48epzHgRdFCXUNxydcvbsjReG5IiR fcyourzsDlHE1wBopf24Oyz2D809MES8azf4VD4ykNjQotIULMsiz+Sg6Mp4pX22jD NDoLfOhEYeKJvhlgTEw8b36rUvb+bH3PzhGL4kP+lYCuqs/5RDQ2ECh2qTGdFwaMnU XvZjzSVX6Ds2LFLeDd0x2LqymqgJQqfHfcX2j5NHrsN7g2KPGJw+fvu5SvoskO24r4 +CtLwT9VlMpbw== Date: Fri, 11 Aug 2023 09:52:58 +0200 From: Christian Brauner To: Linus Torvalds Cc: Kent Overstreet , "Darrick J. Wong" , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-bcachefs@vger.kernel.org, dchinner@redhat.com, sandeen@redhat.com, willy@infradead.org, josef@toxicpanda.com, tytso@mit.edu, bfoster@redhat.com, jack@suse.cz, andreas.gruenbacher@gmail.com, peterz@infradead.org, akpm@linux-foundation.org, dhowells@redhat.com, snitzer@kernel.org, axboe@kernel.dk Subject: Re: [GIT PULL] bcachefs Message-ID: <20230811-wandmalerei-denkpause-e9670c291635@brauner> References: <20230706155602.mnhsylo3pnief2of@moria.home.lan> <20230712025459.dbzcjtkb4zem4pdn@moria.home.lan> <20230810155453.6xz2k7f632jypqyz@moria.home.lan> <20230810223942.GG11336@frogsfrogsfrogs> <20230811040310.c3q6nml6ukwtw3j5@moria.home.lan> <20230811052922.h74x6m5xinil6kxa@moria.home.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,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 > So may I suggest that even if the immediate issue ends up being sorted > out, just from a robustness standpoint the "consider EBUSY a hard > error" seems to be a mistake. Especially from umount. The point I was trying to make in the other thread is that this needs fixing in the subsystem that's causing _unnecessary_ spurious EBUSY errors and Jens has been at his right away. What we don't want is for successful umount to be equated with that an immediate mount can never return EBUSY again. I think that's not a guarantee that umount should give and with mount namespaces in the mix you can get your filesystem pinned implicitly somewhere behind your back without you ever noticing it as just one very obvious example. > > Transient failures are pretty much expected Yes, I agree.