Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp10295502rwp; Thu, 20 Jul 2023 18:40:29 -0700 (PDT) X-Google-Smtp-Source: APBJJlGE1tHqu7lAe+QCzVyLfqNThB7dAvKYZhzsFDio5GLDhijvodWIF8RhEwGIZdAvXSSBl7Xi X-Received: by 2002:a92:c948:0:b0:348:8158:c386 with SMTP id i8-20020a92c948000000b003488158c386mr650524ilq.8.1689903629352; Thu, 20 Jul 2023 18:40:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689903629; cv=none; d=google.com; s=arc-20160816; b=HE6fCz7LXQT4JqIomOEHTBpZnKk8XI/fFnestUEI8gvRPFPnJz+ORG5mhHQCjT6Vhy tN8bh4Eep62UEs3/ayBKNyuV9xAULw0J3sRC/sJxrVhb+mL79pUegDBY/nyYTgU/4hqy 6zbLciqGIwJaV47XdS68517I9CX0hOxTyyqE2XOAVrPDIQkk1q/f+hrGzJ73Q7C6/tea wbZcKmmr/BOosUEMcJsKpBatxnEp+S+libFa3Ak/K66fjUKym4tcusppKYjzJfQkQmuO zk8i8BLRp4OFpNeFgl9o+/vmhHPojkHCFSrMfjpJDBYLL4Klg7RiOWm66oTRjvxQQLAT jtdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:message-id:in-reply-to :subject:cc:to:from:date:feedback-id:dkim-signature; bh=R4ZNGlYIzZjqTKdh2uUCCHfXsCMNde46ZsMLHyedF/I=; fh=iWqLDEL0jaZ/SZGvgKp4VIU2V+AE4+BWHuWnn0fawrY=; b=dL/Shr9ohEQKRqB4J80h92K7gpkMYe93jO2YJOI9ZL+qgctEzcfTtql6gQZ+4yD99X F7rxJ1aM2Zvm0mts+PTz5POAa8erQqxGEklIO86BxDRpIIrzeZ687Pj2yDv7iKP5Q0V8 c8zSns2pAJqNs62p8WgrD+WRccNOoCbCn6JUv2eslA9wjP8vusf8KJcdCWLQK45fuVZE 9lNu29L6mJgWP890je+3pChUkRaooVdrGExYn4Tn4Y87zzIX/0D4BDHUWVBnBvYdS+9q JxTqQbynbsAxRqbdXUgQbTrrBYrrOoMev1XNVn+z4WLfN3W4JyHDa8szebFeDcNIxgHu JCOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=X26iwK3g; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d23-20020a656217000000b005634b511d74si1896460pgv.310.2023.07.20.18.40.16; Thu, 20 Jul 2023 18:40: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=@messagingengine.com header.s=fm3 header.b=X26iwK3g; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229503AbjGUBDj (ORCPT + 99 others); Thu, 20 Jul 2023 21:03:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42468 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229452AbjGUBDi (ORCPT ); Thu, 20 Jul 2023 21:03:38 -0400 Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 44EE5E75; Thu, 20 Jul 2023 18:03:36 -0700 (PDT) Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id E369A5C00F4; Thu, 20 Jul 2023 21:03:32 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Thu, 20 Jul 2023 21:03:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc: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=fm3; t=1689901412; x=1689987812; bh=R4ZNGlYIzZjqT Kdh2uUCCHfXsCMNde46ZsMLHyedF/I=; b=X26iwK3gCgmCENMCp/fW1ETWcUzEN 9rwLuq4E33Zo0dhDnC7nZvOCLnw3oA8kr5MhSLJ14LNMtTJlvQdeKciQl4R51mU5 OjD/BSnJTKaA3e102aHkf3HKi/xD/nWE1sQP9GaWV0hJhSKdElBPI77oiLieA6/0 oUKi90TVMJ92HpZCZ4gDOHLzl4q9Llaqfl1yiulga84go00d47fg1yFWgL8XpwSU uykfbLG4c3SPEQHR2Ok/FuAN8NS7ns+9n9zY3uJDEugcaSMXhmiarDaaTGrpc/zk 6qmwkuQde+Fbb2VlewWSj5CSduAOjRvxdeh1f1dw/dXeSZewpMzlPx0ZQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrhedugdegtdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvvefujgfkfhggtgesthdtredttddtvdenucfhrhhomhephfhinhhnucfv hhgrihhnuceofhhthhgrihhnsehlihhnuhigqdhmieekkhdrohhrgheqnecuggftrfgrth htvghrnhepleeuheelheekgfeuvedtveetjeekhfffkeeffffftdfgjeevkeegfedvueeh ueelnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepfh hthhgrihhnsehlihhnuhigqdhmieekkhdrohhrgh X-ME-Proxy: Feedback-ID: i58a146ae:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 20 Jul 2023 21:03:28 -0400 (EDT) Date: Fri, 21 Jul 2023 11:03:28 +1000 (AEST) From: Finn Thain To: Dave Chinner cc: Jeff Layton , Matthew Wilcox , John Paul Adrian Glaubitz , Dmitry Vyukov , Viacheslav Dubeyko , Arnd Bergmann , Linus Torvalds , syzbot , Andrew Morton , christian.brauner@ubuntu.com, Damien Le Moal , Linux FS Devel , LKML , syzkaller-bugs@googlegroups.com, ZhangPeng , linux-m68k@lists.linux-m68k.org, debian-ports Subject: Re: [syzbot] [hfs?] WARNING in hfs_write_inode In-Reply-To: Message-ID: <60b57ae9-ff49-de1d-d40d-172c9e6d43d5@linux-m68k.org> References: <2575F983-D170-4B79-A6BA-912D4ED2CC73@dubeyko.com> <46F233BB-E587-4F2B-AA62-898EB46C9DCE@dubeyko.com> <50D6A66B-D994-48F4-9EBA-360E57A37BBE@dubeyko.com> <2d0bd58fb757e7771d13f82050a546ec5f7be8de.camel@physik.fu-berlin.de> <868611d7f222a19127783cc8d5f2af2e42ee24e4.camel@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,SPF_NONE,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 On Fri, 21 Jul 2023, Dave Chinner wrote: > > I suspect that this is one of those catch-22 situations: distros are > > going to enable every feature under the sun. That doesn't mean that > > anyone is actually _using_ them these days. I think the value of filesystem code is not just a question of how often it gets executed -- it's also about retaining access to the data collected in archives, museums, galleries etc. that is inevitably held in old formats. > > We need to much more proactive about dropping support for unmaintained > filesystems that nobody is ever fixing despite the constant stream of > corruption- and deadlock- related bugs reported against them. > IMO, a stream of bug reports is not a reason to remove code (it's a reason to revert some commits). Anyway, that stream of bugs presumably flows from the unstable kernel API, which is inherently high-maintenance. It seems that a stable API could be more appropriate for any filesystem for which the on-disk format is fixed (by old media, by unmaintained FLOSS implementations or abandoned proprietary implementations). Being in userspace, I suppose FUSE could be a stable API though I imagine it's not ideal in the sense that migrating kernel code there would be difficult. Maybe userspace NFS 4 would be a better fit? (I've no idea, I'm out of my depth in /fs...) Ideally, kernel-to-userspace code migration would be done with automatic program transformation -- otherwise it would become another stream of bugs.