Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp851020imm; Sun, 2 Sep 2018 00:59:38 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZYJZL2weEAF7ZcIbzQ18ealHQp53WSe/gN/tb7Wb6s/GqW1qDeZlvqkFYCKmLE2DUX+loJ X-Received: by 2002:a17:902:f213:: with SMTP id gn19mr17652813plb.266.1535875178774; Sun, 02 Sep 2018 00:59:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535875178; cv=none; d=google.com; s=arc-20160816; b=bW4BJd9VrLD1gEU4E3zkTYHMvBO4GVzHHdCiPk6HrrGYyqyqTB1jzf9j1Cp/nsXz3e 8dZCHM3XIq5XqXvpiVB9UuvMx3T/fRov8vIKZZ8m1q7NcvoOFTWJn9HzXEFiRqBJMi8Z ADjkPYU7i7m5GwDeI7x8cJeoK3e+lKCBDy01oooIxlRWTeWvIUztpKSXtutcdW+sxs7n sEV6ltfnf51cQhawJnUCBfZ2hFq6ZMljWt5mBfy7mmlgfJ4dSxlgQ7gHYH70Ed42ZDwh KIVSxX1J1jVrbrG12xs12X+J5WMEysmPMfKBqjEjMYSilme7nmpuBPp/GmwmNe6mFfWf SOEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=Kv/RxycLPh9o+m8s9zU/o+k/a68Tb+pGnpraBwseDnY=; b=q++6s5/mtMCwkA2A3DOIVzD5AccBpWdUktzdOknG7FZ913JbBn/WMs9atLuLetq1jX eSu/hI2sUsrZY/jacqrZIAPvS5Vxhgm9AxWMyWbt/BcPNCyrlgd8zyitWIxjUj71qZ9a 50Paa0AOUj+IOkpGPeShiUvVHs/Da5+GITz5hKCT/k4y58t5ASBybHZ3VI1u8AbVb5C9 AtAHXJtLBCR9G6KMIHXuL8PqUbLhowyO7piWBA2kWff9XWbh1OJdkAmcaLA2J17Mf2uC 93hZzYpl1ikNRPsFEHSAfiTw4pr3qXca2uR48DofmVWDfMsbP3dJKUKw5lTC4n4B8vc9 WBJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=qpnQiPOv; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t9-v6si14374356pgr.244.2018.09.02.00.58.57; Sun, 02 Sep 2018 00:59:38 -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=@kernel.org header.s=default header.b=qpnQiPOv; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726592AbeIBMLF (ORCPT + 99 others); Sun, 2 Sep 2018 08:11:05 -0400 Received: from mail.kernel.org ([198.145.29.99]:50498 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726000AbeIBMLF (ORCPT ); Sun, 2 Sep 2018 08:11:05 -0400 Received: from [192.168.0.101] (unknown [49.77.178.191]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C563220837; Sun, 2 Sep 2018 07:56:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1535874972; bh=vQ/Ipz/UsVKab4OkoXpElVZMlrbFmrgaDXwuz3mJvT4=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=qpnQiPOvimEfjnwcZqY1/kojEz5IY0YVmInwwZpEkh4jssblzJYCfdvCayLmyXO/K i5e/gCWwTjBR2OcvAtUYCUvxEbKyYi7DVNWksJaG5Rg134cAlkALLmbHcIl7FSlXCt dZ5k4EqILm9p9owy9BKieJRcDbkujuus5YTEaUxs= Subject: Re: [f2fs-dev] [PATCH v2 3/5] f2fs: cache NULL when both default_acl and acl are NULL To: Chengguang Xu , jack@suse.com, tytso@mit.edu, adilger.kernel@dilger.ca, jaegeuk@kernel.org, yuchao0@huawei.com, shaggy@kernel.org, hubcap@omnibond.com, martin@omnibond.com Cc: jfs-discussion@lists.sourceforge.net, linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, linux-ext4@vger.kernel.org, devel@lists.orangefs.org References: <20180831143352.22970-1-cgxu519@gmx.com> <20180831143352.22970-3-cgxu519@gmx.com> From: Chao Yu Message-ID: <900e5d34-f95a-279d-2d1b-bd8333be7f55@kernel.org> Date: Sun, 2 Sep 2018 15:55:52 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20180831143352.22970-3-cgxu519@gmx.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2018/8/31 22:33, Chengguang Xu wrote: > default_acl and acl of newly created inode will be initiated > as ACL_NOT_CACHED in vfs function inode_init_always() and later > will be updated by calling xxx_init_acl() in specific filesystems. > Howerver, when default_acl and acl are NULL then they keep the value > of ACL_NOT_CACHED, this patch tries to cache NULL for acl/default_acl > in this case. > > Signed-off-by: Chengguang Xu Acked-by: Chao Yu Thanks,