Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp10875321rwp; Fri, 21 Jul 2023 06:20:15 -0700 (PDT) X-Google-Smtp-Source: APBJJlF+VMLAN4w5dBSVHggKhyYUCW3EOZ94INVd4bqnUXI88CvMLPOF++GJ7ro1znynT8Q5GWI/ X-Received: by 2002:a17:906:51c8:b0:978:8e8c:1bcb with SMTP id v8-20020a17090651c800b009788e8c1bcbmr1745836ejk.43.1689945615387; Fri, 21 Jul 2023 06:20:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689945615; cv=none; d=google.com; s=arc-20160816; b=y1lqCkYD7mjXsGumkogwhsI9d4+sHLUWWWMRb3C0hjCnNSE10hSB0s11DF/eFKXVLB ydhWKwIJm17dAMXzXn7kI0WRVWrKzQMncG+Ny/ewO5ADvJW8nkluf46rdte6ghjdajJ/ kSLpTaHE6dbk0B1dH/16vFCS4s1+3VuM78FAYwWJ6lLdvuu9X/Kc5WbVFNo4ybXfUrCY lJy0UnhdzsvftqpCfWCHtJUJkYt27ecbrwWoVoXy3Cb9rG5rre5w2pQ3FFLINazgpljy ZDbJ3ATA6G8MDH9ycjl/mo3JoMU7qPk8bsHCyuQuwpAZwpLgyFbkPzJbHlNPiQtEGP67 A9fQ== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=7pgrm/4/sQSsWynyv8Edj5UkbwNV9qRv5dg/RVi0edI=; fh=lwHk9A5nX03vNFBLU4w9CVmVpCtROZ1hNxu0w+pzwLo=; b=y+7hMURX9r5HpS0sHaZmnsjQYZ65iwus4mw9A+6vaeXEAJZ4nWIx+qNO6wTgWm8j4i ANlSwstlOkJ5r2oKIVDwlFi08y5zkFzIMm0hFzhkTHQn3o1LKmemSEutNphOTYNKmg5e D/xtAr9uY+cXhXY0vyJ1DLo6/zi8rQ6QrwGj86QR2NCIl9IRvTXDNMBDc5o6dflSd0BP 4dBM62kn6/XkyVpTiqnvC0TpN2ONU6Wy53AbR0wgciBpNj7XtkizQun2/wYOHTYQUgsN L+1zoP+2iXwh+lWOlIeiaNhiXEaSe1V807bvKQYrl5MwJ/z4cubdnNKQxDtfsttKuY9Z mbXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mit.edu header.s=outgoing header.b=NSja1rjO; 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=mit.edu Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id pj13-20020a170906d78d00b00993860a6d38si2312305ejb.314.2023.07.21.06.19.50; Fri, 21 Jul 2023 06:20:15 -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=@mit.edu header.s=outgoing header.b=NSja1rjO; 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=mit.edu Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230260AbjGUNMU (ORCPT + 99 others); Fri, 21 Jul 2023 09:12:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55374 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230226AbjGUNMT (ORCPT ); Fri, 21 Jul 2023 09:12:19 -0400 Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 01D2130C4 for ; Fri, 21 Jul 2023 06:12:17 -0700 (PDT) Received: from cwcc.thunk.org (pool-173-48-116-181.bstnma.fios.verizon.net [173.48.116.181]) (authenticated bits=0) (User authenticated as tytso@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 36LDA9Is023051 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 21 Jul 2023 09:10:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mit.edu; s=outgoing; t=1689945016; bh=7pgrm/4/sQSsWynyv8Edj5UkbwNV9qRv5dg/RVi0edI=; h=Date:From:Subject:Message-ID:MIME-Version:Content-Type; b=NSja1rjOCccsyKizrZwCdTYgMk86cnNU9NyTbVfABTL3g5Xdjaizm20PZ1HDVbu5S sozAq6RDeqLxyeymHIE4gZUKXeT4EXqXX5KEeym0sd7Gyn4/XCzQLIOG5SaARm9Hz1 Ke4i7k2d2XKNAi2rlB/3mLmKS71VYeXUs8k/xqakak1W7zuxvJx90D6XMVjZPorw0C hjvVVpMGKAtbExIsA0ZhT0AnA+P/fLn9WUBXUHpkMohhwl5f0qoUDTR8E3kDhJH/y7 QGwkHW6SYJW6QfveKS6MtKQB5cCvV+FYqG9vOkjZf9Ps847Hn/5AS0pZTMJWwBd2D0 rHlDkxK2wJRXw== Received: by cwcc.thunk.org (Postfix, from userid 15806) id 6905E15C04D6; Fri, 21 Jul 2023 09:10:09 -0400 (EDT) Date: Fri, 21 Jul 2023 09:10:09 -0400 From: "Theodore Ts'o" To: Finn Thain Cc: Matthew Wilcox , Dave Chinner , Jeff Layton , 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@vger.kernel.org, debian-ports Subject: Re: [syzbot] [hfs?] WARNING in hfs_write_inode Message-ID: <20230721131009.GE5764@mit.edu> References: <50D6A66B-D994-48F4-9EBA-360E57A37BBE@dubeyko.com> <2d0bd58fb757e7771d13f82050a546ec5f7be8de.camel@physik.fu-berlin.de> <868611d7f222a19127783cc8d5f2af2e42ee24e4.camel@kernel.org> <60b57ae9-ff49-de1d-d40d-172c9e6d43d5@linux-m68k.org> <3eca2dab-df70-9d91-52a1-af779e3c2e04@linux-m68k.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <3eca2dab-df70-9d91-52a1-af779e3c2e04@linux-m68k.org> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE 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 On Fri, Jul 21, 2023 at 06:14:04PM +1000, Finn Thain wrote: > > I'm not blaming the unstable API for the bugs, I'm blaming it for the > workload. A stable API (like a userspace API) decreases the likelihood > that overloaded maintainers have to orphan a filesystem implementation. You are incorrect. The HFS file system has gotten zero development attention and the bugs were not the result of the API changes. The main issue here is that the HFS file system does not have maintainer, and decreasing the workload will not magically make someone appear with deep knowledge of that particular part of the code base. It's also the case that the actual amount of work on the "overloaded maintainers" caused by API changes is minimal --- it's dwarfed by syzbot noise (complaints from syzbot that aren't really bugs, or for really outr? threat models). API changes within the kernel are the responsibility of the people making the change. For example, consider all of the folio changes that have been landing in the kernel; the amount of extra work on the part of most file system maintainers is minimal, because it's the people making the API changes who update the file system. I won't say that it's _zero_ work, because file system maintainers review the changes, and we run regression tests, and we sometimes need to point out when a bug has been introduced --- at which point the person making the API change has the responsibility of fixing or reverting the change. An unstable API are much painful for out-of-tree kernel code. But upstream kernel developers aren't really concerned with out-of-tree kernel code, except to point out that the work of the people who are promulgated out-of-tree modules would be much less if they actually got them cleaned up and made acceptable for upstream inclusion. - Ted