Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp1402000ybc; Tue, 19 Nov 2019 20:34:57 -0800 (PST) X-Google-Smtp-Source: APXvYqwgjSefGFC3VAmZ6mrug5Bi1mwrZphFWVFb5BJo1TWNG8gudjeoX5laJZeo/jRP72F38/2h X-Received: by 2002:a17:906:fad4:: with SMTP id lu20mr2338117ejb.9.1574224496981; Tue, 19 Nov 2019 20:34:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574224496; cv=none; d=google.com; s=arc-20160816; b=Mjfs69sckwyftcbyA02/ALbovX/kmxSkfY9EWsxUEkm+ndbju98kW8JPRJmveJ72Pb +MdeZWsBp05u0UfA6m3lMMeUsRzG4KiZO7uv9hCq/B5gSFvz/U7BkDxasdmBLgU2hbh4 GVw/NGoXEw7r/4WgLRW9tIbcYXB9+v7g05F3kKbtpBc0SuSYFDpxd7d2bo9tZ4UMxL8B Z+Whrj8EfcT0TJNT7hdfZ2S5mUOBIjhRziwUbpFRofIsokQFAnfH/gFCtAI3JJcGx9LH ugOQ7fwZ9uS5W/g1hsAgT15XBW8RNlhFfwVVMflkXuIgijAXlQhL7DyNuRAYpl07RcPj /uPQ== 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 :thread-index:content-language:content-transfer-encoding :mime-version:message-id:date:subject:in-reply-to:cc:to:from :dkim-signature:dkim-filter; bh=+WrvUKRWjigTO8zWpKSQfeGnJ6UtPUA5CN1IJiTH4vs=; b=repw3BAaLB81GIY3BOHbbwoUYNdhZjHrSjpSzArZrTrRx0eMXvIAGIEGvap5NQj7Hk iYKVdr/VemgX+TIvdIWR/mUq3wF8PSBU9VIoYxzbcebShmdeuMq2TOj4/JFAga4MygLF QaEMVBf15GJajuV/JxNTJSnHkzXXeNpt0HxfGg8IT7TdlcO9MqrMOZVK6UqA40RN9eh5 MI29jf/EtqrMAfIntN5zPgkvxVJBzmT+mZk8fqYsu0iRG4Y8EWykk9kMrE8QQ3DRXK0H /RkZUmfejHPBPvYA8040hkoMKT0fWCc6W+EZPxg7vk4Xw27fB+5uS4TfQDQwXcFUTmIp dtCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=kDBuTaID; 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 l15si15751904ejc.27.2019.11.19.20.34.32; Tue, 19 Nov 2019 20:34:56 -0800 (PST) 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=kDBuTaID; 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 S1727465AbfKTEdV (ORCPT + 99 others); Tue, 19 Nov 2019 23:33:21 -0500 Received: from mailout2.samsung.com ([203.254.224.25]:39035 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727395AbfKTEdV (ORCPT ); Tue, 19 Nov 2019 23:33:21 -0500 Received: from epcas1p3.samsung.com (unknown [182.195.41.47]) by mailout2.samsung.com (KnoxPortal) with ESMTP id 20191120043319epoutp02b7801f778999e017013ee6046b2afcc2~YxMAYmZf91666316663epoutp02K for ; Wed, 20 Nov 2019 04:33:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.samsung.com 20191120043319epoutp02b7801f778999e017013ee6046b2afcc2~YxMAYmZf91666316663epoutp02K DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1574224399; bh=+WrvUKRWjigTO8zWpKSQfeGnJ6UtPUA5CN1IJiTH4vs=; h=From:To:Cc:In-Reply-To:Subject:Date:References:From; b=kDBuTaIDIWHX1FtJixoZ0lWSKWKhFm3rIGG5VTeDjMObmloujWy+7QP0FeAeE7K/7 pC2fPTBAoo4eA5pbHB+YCyHuF6VFaudRrZg5GpJRHSZZh3gNqATaaESbCNVPShyNA3 9nIP5JTtErAP/Pqm8ClyY3fdueDI2X0wKB6HYeHw= Received: from epsnrtp2.localdomain (unknown [182.195.42.163]) by epcas1p2.samsung.com (KnoxPortal) with ESMTP id 20191120043318epcas1p2e23d237b91c282f7c5c093a9613bd272~YxL-9mAQ11649016490epcas1p2w; Wed, 20 Nov 2019 04:33:18 +0000 (GMT) Received: from epsmges1p2.samsung.com (unknown [182.195.40.162]) by epsnrtp2.localdomain (Postfix) with ESMTP id 47HqZ53wWLzMqYkf; Wed, 20 Nov 2019 04:33:17 +0000 (GMT) Received: from epcas1p4.samsung.com ( [182.195.41.48]) by epsmges1p2.samsung.com (Symantec Messaging Gateway) with SMTP id 05.C0.04235.D02C4DD5; Wed, 20 Nov 2019 13:33:17 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas1p2.samsung.com (KnoxPortal) with ESMTPA id 20191120043316epcas1p2ead7f625cfdd1574387fb4d58dc98365~YxL_btG0w3201932019epcas1p2R; Wed, 20 Nov 2019 04:33:16 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20191120043316epsmtrp21a6d7e0ee72ba6e30dd1a6d55354a333~YxL_a_RwI2914729147epsmtrp2X; Wed, 20 Nov 2019 04:33:16 +0000 (GMT) X-AuditID: b6c32a36-defff7000000108b-8b-5dd4c20d2445 Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 5E.54.03654.C02C4DD5; Wed, 20 Nov 2019 13:33:16 +0900 (KST) Received: from DONAMJAEJEO06 (unknown [10.88.104.63]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20191120043316epsmtip2409e867c6a92859f2b0bd6e515c223a8~YxL_NZsuU0399303993epsmtip2U; Wed, 20 Nov 2019 04:33:16 +0000 (GMT) From: "Namjae Jeon" To: "'Christoph Hellwig'" Cc: "'Daniel Wagner'" , , , , , , , In-Reply-To: <20191119171752.GA20042@lst.de> Subject: RE: [PATCH v2 02/13] exfat: add super block operations Date: Wed, 20 Nov 2019 13:33:16 +0900 Message-ID: <007901d59f5b$a0eb6780$e2c23680$@samsung.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Content-Language: ko Thread-Index: AQEo1XJlLzywHhHshRBLsQkFEP9+bwICkZlvAboM/rECPrXdMAJVBHmKAkbIIb+omFKvQA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrNJsWRmVeSWpSXmKPExsWy7bCmgS7voSuxBl/OSlscfjyJ3aJ58Xo2 i5WrjzJZXL97i9liz96TLBaXd81hs/g/6zmrxZZ/R1gtLr3/wOLA6bFz1l12j/1z17B77L7Z wObRt2UVo8fm09UenzfJeRza/obN4/azbSwBHFE5NhmpiSmpRQqpecn5KZl56bZK3sHxzvGm ZgaGuoaWFuZKCnmJuam2Si4+AbpumTlA5ykplCXmlAKFAhKLi5X07WyK8ktLUhUy8otLbJVS C1JyCgwNCvSKE3OLS/PS9ZLzc60MDQyMTIEqE3Iyfl/nL7jKWrHr9yymBsZNLF2MnBwSAiYS vf/vs3YxcnEICexglPiw5w4jhPOJUWLBpAVsEM43Rokp0x4wwrQcv30dKrGXUeLb93csEM4r RokJ69rYQKrYBHQl/v3ZD2aLCKhJnPnZxg5SxAwy9/7MbqBRHBycAjoSe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SZgF5ie1v5zBD nKkgsePsa6i4iMTszjawk0UEwiQ+bA6awCg8C8mgWQiDZiEZNAtJ8wJGllWMkqkFxbnpucWG BYZ5qeV6xYm5xaV56XrJ+bmbGMExp6W5g/HykvhDjAIcjEo8vBaXLscKsSaWFVfmHmKU4GBW EuH1e3QhVog3JbGyKrUoP76oNCe1+BCjNAeLkjjv07xjkUIC6YklqdmpqQWpRTBZJg5OqQbG SEWVdI05u49mqYff/2zvm1h5I+VmM/9H+RMPfhTd5tN8deTj9nUiOZsd0z00X5hpTYzY++/a k13LS0rq5y3sSTfaWV3O3bYr520Rq+77a2xL2e4rlAoXJGz99Tmp2fCss6RXzYSycwKbDacY tNiejbWJvi954FCdDrdPY+fXliX5UenzhZ2VWIozEg21mIuKEwF1F7VBtQIAAA== X-CMS-MailID: 20191120043316epcas1p2ead7f625cfdd1574387fb4d58dc98365 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: 20191119071403epcas1p3f3d69faad57984fa3d079cf18f0a46dc References: <20191119071107.1947-1-namjae.jeon@samsung.com> <20191119071107.1947-3-namjae.jeon@samsung.com> <20191119085639.kr4esp72dix4lvok@beryllium.lan> <00d101d59eba$dcc373c0$964a5b40$@samsung.com> <20191119171752.GA20042@lst.de> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > On Tue, Nov 19, 2019 at 06:22:28PM +0900, Namjae Jeon wrote: > > > No idea what the code does. But I was just skimming over and find the > > > above pattern somehow strange. Shouldn't this be something like > > Right. > > > > > > > > if (!READ_ONCE(sbi->s_dirt)) { > > > WRITE_ONCE(sbi->s_dirt, true); > > > > It should be : > > if (READ_ONCE(sbi->s_dirt)) { > > WRITE_ONCE(sbi->s_dirt, false); > > I will fix it on v3. > > The other option would be to an unsigned long flags field and define > bits flags on it, then use test_and_set_bit, test_and_clear_bit etc. > Which might be closer to the pattern we use elsewhere in the kernel. I will replace it with test_and_set/clear_bit(). Thanks!