Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp2583383ybl; Sat, 31 Aug 2019 18:42:27 -0700 (PDT) X-Google-Smtp-Source: APXvYqwDI9f0lm9BKQBomjJZsO3fRf0WdBlK9wIRr+2Hcp85mIagH1d2fHWgXe0u/NC4gfvsySpt X-Received: by 2002:a17:902:2bc7:: with SMTP id l65mr22238434plb.119.1567302147614; Sat, 31 Aug 2019 18:42:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567302147; cv=none; d=google.com; s=arc-20160816; b=lLVU2IBM+ukDCcvS/xskuob0xhvkt+B8VxVIwmbON1WDaS46r6Y9evIRcaS77C8Ivg AetOe84i1H0dG3pkLALaTckX2sSe0s2wHUpi/jbzmfKQl4EFPh9MkjU0Wc6i5E5dStw8 yTzhlwnZu6bPKD1v5iPN0op8WUB77p4EDOFJvx39e+9D2CCfy/BOl0+es66Pf+rxx5pk BZhiQmMDPzewDf/NUQ/UVmzT0GPcLQjAR7Wv16L9bWc5lrnD/qwF/0pIj2JTi5kd1IqL 2qmdddpwQLGFsoJ/wszume05IIgBiImDyrsRLUYPHYwLbL2u1RNE85X3a6MI7CHJhVnN BNgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=h5kluZPg6YyzYPkg7FMpxAkd2+TEu8mj8Oli0gjbxxI=; b=mdWNaVp0+uaGzepao3WYd/Ey8EkBxeEUuu+kK88wUH8KaCchzIK70IfyKWeFq0r+7Z WOIPOVZV71Ejz9Ys2MkgSwYfwWmbi5+WROvzjcY+GbS0eKKdo36a4dPhx3BcVTdznJkn d5t1jTU0vnRCwd0OEym9GnYudUROH64Rb4O1adV6shGti0kupaVYs44BWMo0lm1NVJZL P6s7BUBlNm4L/oNFlJut4PYjM9yWT2LABCEhGMEObQUZvTjq5t/JgRiK4IdB4Aix0/RE 2Bw74iHfU38vFbnA/iozh+4O5OjQBEkwqw191GyKZeiwG6s+kM5Au5s/mpWF/je6uTqY Izlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@aol.com header.s=a2048 header.b=TpitVzhj; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=aol.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f12si8241320pgp.218.2019.08.31.18.41.08; Sat, 31 Aug 2019 18:42:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@aol.com header.s=a2048 header.b=TpitVzhj; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=aol.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728517AbfIABhc (ORCPT + 99 others); Sat, 31 Aug 2019 21:37:32 -0400 Received: from sonic306-21.consmr.mail.gq1.yahoo.com ([98.137.68.84]:40180 "EHLO sonic306-21.consmr.mail.gq1.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726903AbfIABhc (ORCPT ); Sat, 31 Aug 2019 21:37:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1567301850; bh=h5kluZPg6YyzYPkg7FMpxAkd2+TEu8mj8Oli0gjbxxI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From:Subject; b=TpitVzhjwc6MLeoUX8KU8Q9Ll99RNBscvIx+uFUKZSkMAuTqZAiffc213/I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sqcmtzQKh9SdFpFBBNlmSFaiPbGOyN6d56rjLFGXg_sLrk P1p0IsO8H28MguzCS7dsQMfRJiwprjBpIXKk_8VVK02XMIfcRXM9S_Zqcj.STs_E5.QbdzRdKvCa 7XkeGnJRpAqFpBsPowGArIfKditknctkK1k04UK7yAX0YM2tTcULjtFvZGUgT5Wrs4Cq4VtWYH32 s7URbUA0FzxFUfaRht1QUhlKArv2lMoGuwXo6zMyF6J8xj1L1YSQ33g2ZmBQXIlVP_bEoeIOCmkz 8Lvom4CA7rboIiKHPE1Z0a_e16.Xbmm1CMmDr7Ze3qFYxKhDM3cyfit6xRFpmoCahbRu84jC0F28 VwIAb4CM6pepF..Lnxg6desBjGIy87GafksQEBD_Z3qvIDYO.ojox..2QgFYhtIbRYaiFQQeNrJp EmbZCs0ErPWmD0xRrzWkNynH.5yBxDnELUFzRDDGGEMTb9hNdvq3CS_8ByyA0F02ahzpBWHh61f4 zlViWVpRGCPFauj0khrq265Vk Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.gq1.yahoo.com with HTTP; Sun, 1 Sep 2019 01:37:30 +0000 Received: by smtp412.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 24369f664944151e8107c236514cbc63; Sun, 01 Sep 2019 01:37:26 +0000 (UTC) Date: Sun, 1 Sep 2019 09:37:19 +0800 From: Gao Xiang To: Dave Chinner Cc: Valdis =?gbk?Q?Kl=A8=A5tnieks?= , Christoph Hellwig , Greg Kroah-Hartman , Sasha Levin , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] drivers/staging/exfat - by default, prohibit mount of fat/vfat Message-ID: <20190901013715.GA8243@hsiangkao-HP-ZHAN-66-Pro-G1> References: <245727.1567183359@turing-police> <20190830164503.GA12978@infradead.org> <267691.1567212516@turing-police> <20190831064616.GA13286@infradead.org> <295233.1567247121@turing-police> <20190901010721.GG7777@dread.disaster.area> MIME-Version: 1.0 Content-Type: text/plain; charset=gbk Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190901010721.GG7777@dread.disaster.area> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Dave, On Sun, Sep 01, 2019 at 11:07:21AM +1000, Dave Chinner wrote: > On Sat, Aug 31, 2019 at 06:25:21AM -0400, Valdis Kl??tnieks wrote: > > On Fri, 30 Aug 2019 23:46:16 -0700, Christoph Hellwig said: > > > Since when did Linux kernel submissions become "show me a better patch" > > > to reject something obviously bad? > > > > Well, do you even have a *suggestion* for a better idea? Other than "just rip > > it out"? Keeping in mind that: > > > > > As I said the right approach is to probably (pending comments from the > > > actual fat maintainer) to merge exfat support into the existing fs/fat/ > > > codebase. You obviously seem to disagree (and at the same time not). > > > > At this point, there isn't any true consensus on whether that's the best > > approach at the current. > > Which, quite frankly, means it has been merged prematurely. > > Valdis - the model for getting a new filesystem merged is the one > taken by Orangefs. That was not merged through the staging tree, > it was reviewd via patches to linux-fsdevel that were iterated far > faster than the stable merge cycle allows, allowed all the cleanups > to be done independently of the feature work needed, the structural > changes we easy to discuss, quote, etc. fs/orangefs/dir.c 61 static int do_readdir(struct orangefs_inode_s *oi, 62 struct orangefs_dir *od, struct dentry *dentry, 63 struct orangefs_kernel_op_s *op) 131 static int parse_readdir(struct orangefs_dir *od, 132 struct orangefs_kernel_op_s *op) 189 static int fill_from_part(struct orangefs_dir_part *part, 190 struct dir_context *ctx) fs/orangefs/file.c 19 static int flush_racache(struct inode *inode) 48 ssize_t wait_for_direct_io(enum ORANGEFS_io_type type, struct inode *inode, 49 loff_t *offset, struct iov_iter *iter, size_t total_size, 50 loff_t readahead_size, struct orangefs_write_range *wr, int *index_return) fs/orangefs/super.c 304 305 int fsid_key_table_initialize(void) 306 { 307 return 0; 308 } 309 310 void fsid_key_table_finalize(void) 311 { 312 } ----> no prefix and empty functions fs/orangefs/xattr.c 31 static int is_reserved_key(const char *key, size_t size) 40 static inline int convert_to_internal_xattr_flags(int setxattr_flags) 54 static unsigned int xattr_key(const char *key) > > These are the sorts of problems we are having with EROFS right now, > even though it's been in staging for some time, and it's clear we > are already having them with exfat - fundamental architecture issues > have not yet been decided, and so there's likely major structural > change yet to be done. > > That's stuff that is much more easily done and reveiwed by patches > on a mailing list. You don't need the code in the staging tree to > get this sort of thing done and, really, having it already merged > gets in the way of doing major structural change as it cannot be > rapidly iterated independently of the kernel dev cycle... > > So when Christoph say: > > > "Just rip it out" > > what he is really saying is that Greg has jumped the jump and is - > yet again - fucking over filesystem developers because he's > taken the review process for a new filesystem out of hands _yet > again_. > > He did this with POHMELFS, then Lustre, then EROFS - they all got > merged into stable over the objections of senior filesystem > developers. The first two were an utter disaster, the latter is > rapidly turning into one. I don't know what "rapidly turning" means: This round I am working on all suggestions from fs developers; and I have been addressing what Christoph said for days, he hope that all functions should be prefixed with "erofs_" and I am doing. That is all. Thanks, Gao Xiang