Received: by 2002:a05:6622:f08:0:0:0:0 with SMTP id l8csp4290589ivc; Tue, 3 Nov 2020 08:00:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJxEhx/3/l+7RWvpCii9ErV8LPX+lSsjhTKkSxUUOAUXJ7v3c9SeLWJGJwiUdDGsUM48oKlM X-Received: by 2002:a2e:9055:: with SMTP id n21mr8438167ljg.440.1604419243098; Tue, 03 Nov 2020 08:00:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604419243; cv=none; d=google.com; s=arc-20160816; b=BX2lpr/mYvmk1sv+70kUyBF/fBo89RMebCix60AhIOQZeatHAtgaKTJPTXJaizFnKC OpQKUAi8BWlq7KLlVSaoGSYO3V9uvjwEOoNgywl0A+8ya/+q95vrVeVmzXiuvu8msMGQ O3nPh17Ca1Wgaj1bDzrtikM9I+sq/8ZwD+HHcewIfp6v6CjLA/o4/x7XKn6EmPi+7tpQ 1SzrSQmfQproThDq1JVDnhHkt7KbnItbFx/Qtu+NT/WPBltzZlhXDXa7lTk6uZlroK26 8eKeCkDHz6pazkRs1BNngM7QfyaMvpzEQpK0SFkNwqFlX2uL5CWTzSI5YzSnGrxBL+NE 9ntg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject:dkim-signature; bh=f29d1wETJnFFOtXCHry4rt0aAdsEHjADIZSHXNcZEw4=; b=OuNWqjoiO51QrLl9eI/rG4wxvDLzKoTyvGHxefNRaIn9McSH+6mOvuRw1K6x3+Y/HW mUoPnX5uZwrRbTExq8V8riUjyYsI3K389sZUrqKS3rWq+x7dwYIbRrvix0VVH0AhN/Ji +xDh032ADaRwO+t436Ty+pcV7bVtFOPyuEPr4Dq5ajkmqby75Pft3bNe1xadBcdB+5KA VWAND2FtLMRqxlmyOepcRLsgCtoF1vgfn5s49B4FSgyir4q9DvmoUjVJrlf5ahDUUOr4 +TfynDpXFf33yuo85XUzOWjPcS/amG/YD/JJK28nGDiWnd+e4iIAcoZq+9ZSb7OX2AXH 1tng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=mDmilPl3; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h19si9316452ejg.9.2020.11.03.08.00.17; Tue, 03 Nov 2020 08:00:43 -0800 (PST) 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=@kernel.org header.s=default header.b=mDmilPl3; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728015AbgKCP6u (ORCPT + 99 others); Tue, 3 Nov 2020 10:58:50 -0500 Received: from mail.kernel.org ([198.145.29.99]:42212 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726312AbgKCP6u (ORCPT ); Tue, 3 Nov 2020 10:58:50 -0500 Received: from [192.168.0.112] (unknown [117.89.214.195]) (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 8133F20870; Tue, 3 Nov 2020 15:58:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604419129; bh=f29d1wETJnFFOtXCHry4rt0aAdsEHjADIZSHXNcZEw4=; h=Subject:To:References:Cc:From:Date:In-Reply-To:From; b=mDmilPl3uHLlORwpgRDaKaE+rOVUG8Oo71Cbiy9N42GlzeZ5WECj2DTNmmTZpsa0U 965hDAg7OT0Iz0S5+CQg473ryEPxeyaE7keYtQnncduHSjc3jhTIHHfr/IAAuo/WkT JGdC5BfRgrFb59B5i8bMdFZP9cmCi/khNzphFIyo= Subject: Re: [PATCH] erofs: derive atime instead of leaving it empty To: Gao Xiang , Chao Yu References: <20201031195102.21221-1-hsiangkao.ref@aol.com> <20201031195102.21221-1-hsiangkao@aol.com> <20201103025033.GA788000@xiangao.remote.csb> Cc: linux-erofs@lists.ozlabs.org, LKML , nl6720 , stable From: Chao Yu Message-ID: <275b73d7-9865-91c0-ecf2-bceed09a4dae@kernel.org> Date: Tue, 3 Nov 2020 23:58:42 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <20201103025033.GA788000@xiangao.remote.csb> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Xiang, On 2020-11-3 10:50, Gao Xiang wrote: > Hi Chao, > > On Sun, Nov 01, 2020 at 03:51:02AM +0800, Gao Xiang wrote: >> From: Gao Xiang >> >> EROFS has _only one_ ondisk timestamp (ctime is currently >> documented and recorded, we might also record mtime instead >> with a new compat feature if needed) for each extended inode >> since EROFS isn't mainly for archival purposes so no need to >> keep all timestamps on disk especially for Android scenarios >> due to security concerns. Also, romfs/cramfs don't have their >> own on-disk timestamp, and squashfs only records mtime instead. >> >> Let's also derive access time from ondisk timestamp rather than >> leaving it empty, and if mtime/atime for each file are really >> needed for specific scenarios as well, we can also use xattrs >> to record them then. >> >> Reported-by: nl6720 >> [ Gao Xiang: It'd be better to backport for user-friendly concern. ] >> Fixes: 431339ba9042 ("staging: erofs: add inode operations") >> Cc: stable # 4.19+ >> Signed-off-by: Gao Xiang > > May I ask for some extra free slots to review this patch plus > [PATCH 1/4] of > https://lore.kernel.org/r/20201022145724.27284-1-hsiangkao@aol.com > > since it'd be also in linux-next for a while before sending out > to Linus. And the debugging messages may also be an annoying > thing for users. Sorry for the delay review, will check the details tomorrow. :) Thanks, > > Thanks a lot! > > Thanks, > Gao Xiang >