Received: by 10.223.185.116 with SMTP id b49csp1420304wrg; Fri, 23 Feb 2018 18:49:05 -0800 (PST) X-Google-Smtp-Source: AH8x224Sv4jWaozC3XoZXoiT9iazyR2AFI2tQA1D3pqAGrEbyJid422OoeLZT/cwflovDo7fZoUw X-Received: by 2002:a17:902:8a98:: with SMTP id p24-v6mr3577052plo.147.1519440545333; Fri, 23 Feb 2018 18:49:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519440545; cv=none; d=google.com; s=arc-20160816; b=q9aSZa0wl4c0/V5QW/l2eCopDWVxCAHFgn4twNlbjGwvcUl42zMtx8DsYdQsKQGta6 Jc1BB8ugjycZQx0AoNiqhOsdf3ceeQXUuulVyy7WV11DabDQDqf9+7qmvmODCcjqlyWn zs1CGLpATFljCXD1vIWam8/PH/3GCCZ0uEjOFfI1cs8IrjLS3YcO9v9OlqQO0Df/C5TC SDX1W9Bp1xLQf9eIf4mR36eYG/3B9MvcoWACsIRdnNl4hCDYbFC4HRxAnPNVNuqEKnPw wx6YX7MUNl+fzKF8oGOkzsr3MRKyvGyyjUFwJgWFsRtDcmBFXUriwMgLSMunvYII63TJ nrrQ== 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:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject:arc-authentication-results; bh=GQOnDHcOY3BIYtk8dbb/O5cYzzoFJfpZpY2rDrzcPmQ=; b=fmplf1iVsQa54+Q6TjULeVwh01VCIf+P0hO4r6nIqkWZY77k83vteYFvz0ItvL8NWQ tVL/bSD+RMIJqTLGImzivuNvYsoY7YNBQtrIFVUs5XUWoELRoxQXaAA8uWR0XZ/9s0us zSWutU6gL4msjUYI8VOY1El2FiB3GtxKwcxlNSg/tBtf30L7yFuFaS7UbWWcU6B0tMb+ 5olOhqdx34QrRg1Tkpsa0SWWeX9XUaDpOXxngvaMwtptEVG/5jfJ/O+2hbNEZdMNfDZs Z9KzE3yWGDsYLYedWmctVIWbZe8WYenO0SvKshwbnbw5z/CK456DjFsJYwTAA59oibQV KSeg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b10si2334177pgf.613.2018.02.23.18.48.51; Fri, 23 Feb 2018 18:49:05 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753171AbeBXCrs (ORCPT + 99 others); Fri, 23 Feb 2018 21:47:48 -0500 Received: from szxga04-in.huawei.com ([45.249.212.190]:5665 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753154AbeBXCrp (ORCPT ); Fri, 23 Feb 2018 21:47:45 -0500 Received: from DGGEMS414-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id E0CE893EDFE82; Sat, 24 Feb 2018 10:47:31 +0800 (CST) Received: from [127.0.0.1] (10.177.16.168) by DGGEMS414-HUB.china.huawei.com (10.3.19.214) with Microsoft SMTP Server id 14.3.361.1; Sat, 24 Feb 2018 10:47:29 +0800 Subject: Re: [V9fs-developer] [PATCH] fs/9p: don't set SB_NOATIME by default To: , References: <5A7D3C08.7020309@huawei.com> CC: , , , , "Latchesar Ionkov" , Greg Kurz From: jiangyiwen Message-ID: <5A90D23F.5070601@huawei.com> Date: Sat, 24 Feb 2018 10:47:27 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <5A7D3C08.7020309@huawei.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.177.16.168] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2018/2/9 14:13, jiangyiwen wrote: > User use some syscall, for example mmap(v9fs_file_mmap), it will not > update atime even if user's mnt_flags have MNT_NOATIME, because > v9fs default set SB_NOATIME in v9fs_set_super. > > For supporting access time is updated when user mount with relatime, > we should clear SB_NOATIME by default. > > Signed-off-by: Yiwen Jiang > --- > fs/9p/vfs_super.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/fs/9p/vfs_super.c b/fs/9p/vfs_super.c > index af03c2a..48ce504 100644 > --- a/fs/9p/vfs_super.c > +++ b/fs/9p/vfs_super.c > @@ -94,7 +94,7 @@ static int v9fs_set_super(struct super_block *s, void *data) > if (v9ses->cache) > sb->s_bdi->ra_pages = (VM_MAX_READAHEAD * 1024)/PAGE_SIZE; > > - sb->s_flags |= SB_ACTIVE | SB_DIRSYNC | SB_NOATIME; > + sb->s_flags |= SB_ACTIVE | SB_DIRSYNC; > if (!v9ses->cache) > sb->s_flags |= SB_SYNCHRONOUS; > Hi Alexander Viro and Eric, My patch has already sent two weeks, but nobody help me to review, I have a question about now who is the v9fs's maintainer? Or who can help me review the patch? I hope v9fs's maintainer can give me some advices or merge into the mainline if it has no problem. Thanks, Yiwen.