Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp6080948ybe; Tue, 17 Sep 2019 19:45:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqyHnYlnlSrYKQ3TQtWPmE12bmaepojq3sORsbOLT4EgHTfcn/sBmiffkpafXRxImb5JLMog X-Received: by 2002:a50:99d5:: with SMTP id n21mr8075027edb.50.1568774758210; Tue, 17 Sep 2019 19:45:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568774758; cv=none; d=google.com; s=arc-20160816; b=aOpjOA7Bx5Gzbk/5bM10Ysxe5aeJmOkZKC3dN4e8ZJLoZrT91GHl4HWhxITyVTaEVf w77CB/KgjUb8+2QD7Jp6FiNn/EJJrgadOeqRZMHOVmOpaWf3q9UMCSaED2FXELBkYeYs 6NBAlUPDEgm2aHJRHVpJVRn+Y2cgn88xBYw8HMjcXnKHDFnLPGfKllEscNSUngYJTTtY QI8EoSKw+KSt0BIIvrLB72KdVW9PWQAajrZPPx8mo9oUL/bttkA2H3jYnealw4n9YqUw ILOkXZR7umSyPfHQ2X6MbQd+9pupK6TLcVj8ly694X90CzHZKoLuZujspPaL9x1Pb0b8 LCnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:dlp-filter:cms-type :content-language:thread-index:content-transfer-encoding :mime-version:message-id:date:subject:in-reply-to:cc:to:from :dkim-signature:dkim-filter; bh=Z8B4t6x2SThW7y10AxlkdXvg/95O7AxZFmJlnEcGh/E=; b=upbJGJ4T7jK6BKFQSpIMMhXkN8Wiuse6gZmlinvVEGmU3GipQYPkyh9bYe7Xm+Sdpf +lrFgtBQ76/RARYZmYBVAFDi6DS8RKkSoU3ffQ/XwF9J9rHI61yfw0grI1gAuJR1P3VX 9ranMMw1Yn0Wsyi4eFreUehcfpPcNNEXpbIOGYMe11wWSVeS+jbFL4Bq7vIZLO1G6PGl CjWobm20EvG92ZZ9G61iBloB2m7bFjIUNWFYLTKJsJaPzb17ezfAx0Qsv2yN8PYPD8Tv MHQAQJT/vbDS0fs3dSMNmaLTc2jl6kVfx2pETNWNF16AxTJTXnTNhW+DyhO564WxG2n6 n2yw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=V1xa2vhA; 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=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p39si2403064eda.416.2019.09.17.19.45.35; Tue, 17 Sep 2019 19:45:58 -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=@samsung.com header.s=mail20170921 header.b=V1xa2vhA; 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=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726993AbfIRCfQ (ORCPT + 99 others); Tue, 17 Sep 2019 22:35:16 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:60230 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726691AbfIRCfO (ORCPT ); Tue, 17 Sep 2019 22:35:14 -0400 Received: from epcas1p3.samsung.com (unknown [182.195.41.47]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20190918023511epoutp016a2875d22d4b5afcb559b5ee6db384a6~FZ74X80HP1697316973epoutp01W for ; Wed, 18 Sep 2019 02:35:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com 20190918023511epoutp016a2875d22d4b5afcb559b5ee6db384a6~FZ74X80HP1697316973epoutp01W DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1568774111; bh=Z8B4t6x2SThW7y10AxlkdXvg/95O7AxZFmJlnEcGh/E=; h=From:To:Cc:In-Reply-To:Subject:Date:References:From; b=V1xa2vhAHd2HeXrf8KlughqQfLSj4soigQcNIBfwqP/6T9MioVCPypQLRsq4FnUmr x1Mx9CmK4y8f5FW7JW9soR5LVfBcesSGkuFu2yzcs/S3H1/56Wh8vjMzTup/vddxLN hbIW5ijOEfHyXeWxa64T5lA4budaFHMO/7lxAaLs= Received: from epsnrtp6.localdomain (unknown [182.195.42.167]) by epcas1p2.samsung.com (KnoxPortal) with ESMTP id 20190918023510epcas1p2a0ad8f9794f47da39fdaf11820901605~FZ73tUebs1969819698epcas1p2s; Wed, 18 Sep 2019 02:35:10 +0000 (GMT) Received: from epsmges1p1.samsung.com (unknown [182.195.40.160]) by epsnrtp6.localdomain (Postfix) with ESMTP id 46Y3ws3mHjzMqYkf; Wed, 18 Sep 2019 02:35:09 +0000 (GMT) Received: from epcas1p2.samsung.com ( [182.195.41.46]) by epsmges1p1.samsung.com (Symantec Messaging Gateway) with SMTP id F2.27.04088.DD7918D5; Wed, 18 Sep 2019 11:35:09 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas1p1.samsung.com (KnoxPortal) with ESMTPA id 20190918023508epcas1p1940b2b59fce55f7c1332b7d2aefd2bd4~FZ72DcvP52200622006epcas1p1j; Wed, 18 Sep 2019 02:35:08 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20190918023508epsmtrp289a18dc9cc88b153781a6a2d0f3be25b~FZ72CnLmL0361903619epsmtrp2b; Wed, 18 Sep 2019 02:35:08 +0000 (GMT) X-AuditID: b6c32a35-845ff70000000ff8-42-5d8197dd36d8 Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 5F.C4.03706.CD7918D5; Wed, 18 Sep 2019 11:35:08 +0900 (KST) Received: from DONAMJAEJEO06 (unknown [10.88.104.63]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20190918023508epsmtip103e760208fab5fe6118943268f992655~FZ71387dc3265732657epsmtip1k; Wed, 18 Sep 2019 02:35:08 +0000 (GMT) From: "Namjae Jeon" To: "'Ju Hyung Park'" , "'Greg KH'" , "'Valdis Kletnieks'" Cc: , , , , , , In-Reply-To: Subject: RE: [PATCH] staging: exfat: add exfat filesystem code to Date: Wed, 18 Sep 2019 11:35:08 +0900 Message-ID: <004401d56dc9$b00fd7a0$102f86e0$@samsung.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQGT5RAmYrUvbIdPV5wSdu6UWeOkRAHEPqcjASg+jxcBWaTXGQHGgTvdp4Nh1VA= Content-Language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA01TWUwTURTNY9qZQqx5VMRLTbSO4UMj2KEWBwPELWaIxGD8MSqpE5i0hG52 WiMYYxULAu5LxApG8MMlGggSrChLwCUQVAJG1Agad1FxAXdFp50a+Tv33nPuPfctKkLTSmpV eXa34LLzVpqMUjR2zEpMGDiyLVt/ujGWbTnynGCvdP+g2KKTtSTbP/BACps7FWxfUyXJXnta TbLnR55SbMPYVSXb+/6DYmEUN9jSoeAu+QcorrXqHMX5Ar8pbk/DWcSN1E/j2i++JbOoNdZU i8DnCi6dYM9x5ObZzWn08lWmJSZjsp5JYFLY+bTOztuENHppZlbCsjyr5I/WbeStHimVxYsi PTc91eXwuAWdxSG602jBmWt1MnpnosjbRI/dnJjjsC1g9Poko8Rcb7Uc9Q4SztIZm3ZUPCK8 qCauDEWqAM+D7y87I8pQlEqDAwj+eL3h4BOC4Y8V4eALguPl9Yp/Ep+vm5ALzQgOj/YogwUN H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mIW0JbofdjKCGHLS2x/O4cZ 4lQFiR1nX4PFRQT8JH61TmaDqBGRmN3ZxjyBUXgWklGzkIyahWTULCQtCxhZVjFKphYU56bn FhsWGOallusVJ+YWl+al6yXn525iBEehluYOxstL4g8xCnAwKvHwHjjVECvEmlhWXJl7iFGC g1lJhDegtj5WiDclsbIqtSg/vqg0J7X4EKM0B4uSOO/TvGORQgLpiSWp2ampBalFMFkmDk6p BsZIUW22xo1y6XavUyapa7xQzdzRxzsrv4351JS4zc7liyv4d573bNQoOZRuu+DpJbdVL6Wq inRfl1aWh1lM05ij+ZXPjeHjm+89rf4cCYcmHGn6+KstoLJ0y005/tB5Zx9q/FRor266l9/7 KmL3zKjHffkrb8zKV4nVdAjqu6Pyuu7m4xz5YCWW4oxEQy3mouJEADULHNW+AgAA X-CMS-MailID: 20190918023508epcas1p1940b2b59fce55f7c1332b7d2aefd2bd4 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-Sendblock-Type: SVC_REQ_APPROVE CMS-TYPE: 101P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20190917060433epcas2p4b12d7581d0ac5477d8f26ec74e634f0a References: <8998.1568693976@turing-police> <20190917053134.27926-1-qkrwngud825@gmail.com> <20190917054726.GA2058532@kroah.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org I've summarized some of the big differences between sdfat and exfat in linux-next. 1. sdfat has been refactored to improve compatibility, readability and to be linux friendly.(included support mass storages larger than 2TB.) 2. sdfat has been optimized for the performance of SD-cards. - Support SD-card friendly block allocation and delayed allocation for vfat-fs only. - Support aligned_mpage_write for both vfat-fs and exfat-fs 3. sdfat has been optimized for the performance of general operations like create,lookup and readdir. 4. Fix many critical and minor bugs - Handle many kinds of error conditions gracefully to prevent panic. - Fix critical bugs related to rmdir, truncate behavior and so on... 5. Fix NLS functions Note, that Samsung is still improving sdfat driver. For instance, what will be realeased soon is sdfat v2.3.0, which will include support for "UtcOffset" of "File Directory Entry", in order to satisfy exFAT specification 7.4. Thanks! > -----Original Message----- > From: Ju Hyung Park [mailto:qkrwngud825@gmail.com] > Sent: Tuesday, September 17, 2019 3:04 PM > To: Greg KH; namjae.jeon@samsung.com; Valdis Kletnieks > Cc: devel@driverdev.osuosl.org; linkinjeon@gmail.com; linux- > kernel@vger.kernel.org; alexander.levin@microsoft.com; > sergey.senozhatsky@gmail.com; linux-fsdevel@vger.kernel.org > Subject: Re: [PATCH] staging: exfat: add exfat filesystem code to > > On Tue, Sep 17, 2019 at 2:47 PM Greg KH wrote: > > It's the fact that it actually was in a form that could be merged, no > > one has done that with the sdfat code :) > > Well, I'm more than happy to help if you guys are happy with merging > the new base. > > > What fixes? That's what I'm asking here. > > I gave this as an example in my previous email: > https://github.com/MotorolaMobilityLLC/kernel-msm/commit/7ab1657 > > > How do we "know" that this is better than what we currently have today? > > We don't, so it's a bit hard to tell someone, "delete the work you did > > and replace it with this other random chunk of code, causing you a bunch > > more work in the process for no specific reason other than it looks > > 'newer'." :( > > The new sdFAT base I'm suggesting, is just as "random" as the one > staging tree is based on. > > If exFAT gets merged to Torvald's tree, there will be a lot more eyes > interested in it. > If there's a better base, we better switch to it now and prevent > further headaches long-term. > > It's really hard to compare those 2 drivers base and extract > meaningful changelogs. > > But regardless, here are some diff stats: > > Kconfig | 79 +- > Makefile | 46 +- > api.c | 423 ---- > api.h | 310 --- > blkdev.c | 409 +--- > cache.c | 1142 ++++----- > config.h | 49 - > core.c | 5583 ++++++++++++++++++++++++-------------------- > core.h | 196 -- > core_exfat.c | 1553 ------------ > exfat.h | 1309 +++++++---- > exfat_fs.h | 417 ---- > extent.c | 351 --- > fatent.c | 182 -- > misc.c | 401 ---- > nls.c | 490 ++-- > super.c | 5103 +++++++++++++++++++++------------------- > upcase.c | 740 ++++++ > upcase.h | 407 ---- > version.h | 29 - > xattr.c | 136 -- > 21 files changed, 8186 insertions(+), 11169 deletions(-) > > > Kconfig | 79 +- > Makefile | 46 +- > blkdev.c | 409 +--- > cache.c | 1142 +++++----- > core.c | 5583 ++++++++++++++++++++++++++---------------------- > exfat.h | 1309 ++++++++---- > nls.c | 490 ++--- > super.c | 5103 ++++++++++++++++++++++--------------------- > 8 files changed, 7446 insertions(+), 6715 deletions(-) > > > I recommend looking at what we have in the tree now, and seeing what is > > missing compared to "sdfat". I know a lot of places in the exfat code > > that needs to be fixed up, odds are they are the same stuff that needs > > to be resolved in sdfat as well. > > Would there be any more data that I can provide? > It's really hard to go through the full diff :( > > Thanks.