Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp1054723ybg; Mon, 1 Jun 2020 23:35:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy4kBWwt3PYAZmaYl8H3N5Mf3lPCRcZTRBcgieHZ7zejGlwp77Ut6E3te9HL0iSKSYkWNmb X-Received: by 2002:aa7:c987:: with SMTP id c7mr17711705edt.268.1591079728973; Mon, 01 Jun 2020 23:35:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591079728; cv=none; d=google.com; s=arc-20160816; b=0tQSc0/sGiP+ru3YNjFokKb7vYVt8N9oEvNwynOKngC8YfVRq53bCXxV+n5G/vLJzk okbi6bSAt6NNv2lPpENQDRvjKn4S0Fum08C1IqlkdnbfM90R2fWXH3tzN5KoIVVUYUzt /RPyY0jfpHBsFmj7v5lDetFqRduZNX+WXo0I8KfLmDOFw+czS/ej4A3vZJ248VZyY5SL WXnNMmiqVdc4kuk2R25mi/3SYwIMyxYLQUJwjxfa/yvEojo+CT4RYgeuoPQRsFNeepCa RcPztqZ/bVonIfjijUkDrhqBvOXJMJJwdorkyc8g+HF+r+yU92nQrC4w2COtqzYGlfTz DAfQ== 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=SKTSQHN27yku0aCMVC0SXjrdfRnYbfPM0BNdMKlfeqs=; b=eaRLKVQ4cZQ2+5r7S8JWFwYzV/7IwPIoeX492qeSONQ/nyBu6ol14gUu/J3Kuxow48 akCMUv6fSODQFTXsDBd2VME27HiarNuxXm5dWLNwOAxSpTqmWULKQ+odpRuo6Mhud4Md iLoafActiP0AWwBozfHgx5o9G57VxyDM6cHpKMELykKOfNDJARwZ1bShhYfUEetWTRrT CmNWvCiQ4wWCJsTf5f+7j8++qqgGer6MD7wg77YrOVArmBt1jFlFmjO6yrTto7MzROXP bPOXk8ilc4jhmG3oqyh8WkiKpgbOj2Yh4X4hAZ8qIT3YkydYS6cBIJTfavPnqq9LAxmr UKhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=GaBAQhGI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id a1si914307edn.540.2020.06.01.23.35.04; Mon, 01 Jun 2020 23:35:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=GaBAQhGI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1726141AbgFBGdP (ORCPT + 99 others); Tue, 2 Jun 2020 02:33:15 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:51141 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725872AbgFBGdP (ORCPT ); Tue, 2 Jun 2020 02:33:15 -0400 Received: from epcas1p4.samsung.com (unknown [182.195.41.48]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20200602063310epoutp0110221213e3d95cd250ca640a3f7d4713~UpnVCNPP40594205942epoutp017 for ; Tue, 2 Jun 2020 06:33:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com 20200602063310epoutp0110221213e3d95cd250ca640a3f7d4713~UpnVCNPP40594205942epoutp017 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1591079590; bh=SKTSQHN27yku0aCMVC0SXjrdfRnYbfPM0BNdMKlfeqs=; h=From:To:Cc:In-Reply-To:Subject:Date:References:From; b=GaBAQhGI1P9XBuLD34JqT0Nl3lZ7bKNmGenl4z4tagc7w8s0GsyxQjwJPVmjr2fky 04h9TqkCqYTNyG2GXlj4zxjFZJ9zgTty8OIWhbVOyKynbEKpBjt0cl91hw02ZiiqOH L1XhWYwW9+8UjPVYPt5skQBAPgjceTlWd2/y+NA0= Received: from epsnrtp1.localdomain (unknown [182.195.42.162]) by epcas1p2.samsung.com (KnoxPortal) with ESMTP id 20200602063310epcas1p25d70858f33640f535c6f8900b5beff1f~UpnUX1Zyi2915829158epcas1p2b; Tue, 2 Jun 2020 06:33:10 +0000 (GMT) Received: from epsmges1p4.samsung.com (unknown [182.195.40.166]) by epsnrtp1.localdomain (Postfix) with ESMTP id 49bj0P0sc6zMqYm1; Tue, 2 Jun 2020 06:33:09 +0000 (GMT) Received: from epcas1p1.samsung.com ( [182.195.41.45]) by epsmges1p4.samsung.com (Symantec Messaging Gateway) with SMTP id 0B.EA.28581.3A2F5DE5; Tue, 2 Jun 2020 15:33:07 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas1p1.samsung.com (KnoxPortal) with ESMTPA id 20200602063307epcas1p1ac6a463514f46a1025d372a9806abcba~UpnRm0tY13253132531epcas1p1e; Tue, 2 Jun 2020 06:33:07 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20200602063307epsmtrp20ed0b8d91e867394124c4c960689c9f2~UpnRiHgk41350113501epsmtrp2E; Tue, 2 Jun 2020 06:33:07 +0000 (GMT) X-AuditID: b6c32a38-85df1a8000006fa5-66-5ed5f2a37644 Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 1D.04.08382.2A2F5DE5; Tue, 2 Jun 2020 15:33:07 +0900 (KST) Received: from namjaejeon01 (unknown [10.88.104.63]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20200602063306epsmtip15578da615ea3679a13e7110229905f0a~UpnRTr4ey2646826468epsmtip1B; Tue, 2 Jun 2020 06:33:06 +0000 (GMT) From: "Namjae Jeon" To: "'Tetsuhiro Kohada'" Cc: , , , , "'Sungjong Seo'" In-Reply-To: <1ffc01d6380d$656e3520$304a9f60$@samsung.com> Subject: RE: [PATCH] exfat: optimize dir-cache Date: Tue, 2 Jun 2020 15:33:06 +0900 Message-ID: <011201d638a7$ad371350$07a539f0$@samsung.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQKbEd8GOCYeHYQBe/Vm0kX/gmqw5wMD/7F2Af7EGpmnExSvgA== Content-Language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprMJsWRmVeSWpSXmKPExsWy7bCmru7iT1fjDHa90bV4c3Iqi8WevSdZ LC7vmsNmcfn/JxaLZV8ms1hs+XeE1YHN48uc4+webZP/sXs0H1vJ5tG3ZRWjx+dNcgGsUTk2 GamJKalFCql5yfkpmXnptkrewfHO8aZmBoa6hpYW5koKeYm5qbZKLj4Bum6ZOUAXKCmUJeaU AoUCEouLlfTtbIryS0tSFTLyi0tslVILUnIKDA0K9IoTc4tL89L1kvNzrQwNDIxMgSoTcjJe /V/JVPCKuWLhopOsDYy9zF2MnBwSAiYSX/9dB7OFBHYwSlx54tbFyAVkf2KU2L3oBDuE841R Yu2iy2wwHbOPLWCDSOxllPjdsIYRwnnJKDGpt40dpIpNQFfi35/9YB0iAu4SOxYeYAEpYhY4 zygxY/VvsASngJXE2Yt/wJYLC+hJfPz2kgnEZhFQkbi1YSULiM0rYCmxdeZPRghbUOLkzCdg cWYBeYntb+dAPaEg8fPpMlaIZU4Sd+f9Y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FgEViVsbVrKA2LwClhJbZ/5khLAF JU7OfAIWZxbQluh92MoIYctLbH87B+oFBYmfT5exQlzhJHF33g9miBoRidmdbcwTGIVnIRk1 C8moWUhGzULSsoCRZRWjZGpBcW56brFhgWFearlecWJucWleul5yfu4mRnAcaWnuYNy+6oPe IUYmDsZDjBIczEoivJPVL8UJ8aYkVlalFuXHF5XmpBYfYpTmYFES571RuDBOSCA9sSQ1OzW1 ILUIJsvEwSnVwGSZOCslRMA2dP5E+8qzYcxsKYvO3jm1SvLPC2uz/yJBhYLha5o/lT510i7n fXTvnkbZ6icvWNb4hppZHDiv0Fkx/Wf3l27VoiUmiY2zSm/+7dp5Nb8neXb7kWcBDaHz5lws YNFeryF0JDlC5NW6vQGBSx7/Nz9m1qdm7pd++v0TjxMtWyOtzfWrFXZ9nZpgLJLYvin/5NfA ixMOObaWSTGVZD4S08x6p7m+uV36QsOv8IMnP3/2y1G13Cje0O5VH/HD6mzcg8eG25TZ3k1c OlXie5+4m8KNtYe3vGDnt1jVsngp+/7lLhLvz/8KYQ6ePGuOyeyTty95P/xZ8XZu8eXZNRv0 RTZtZPZ5zm6UJKrEUpyRaKjFXFScCADAwsh3EgMAAA== X-CMS-MailID: 20200602063307epcas1p1ac6a463514f46a1025d372a9806abcba 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: 20200520075735epcas1p269372d222e25f3fd51b7979f5b7cdc61 References: <20200520075641.32441-1-kohada.tetsuhiro@dc.mitsubishielectric.co.jp> <1ffc01d6380d$656e3520$304a9f60$@samsung.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > > Optimize directory access based on exfat_entry_set_cache. > > - Hold bh instead of copied d-entry. > > - Modify bh->data directly instead of the copied d-entry. > > - Write back the retained bh instead of rescanning the d-entry-set. > > And > > - Remove unused cache related definitions. > > > > Signed-off-by: Tetsuhiro Kohada > > > > Reviewed-by: Sungjong Seo Applied your 5 patches. Thanks!