Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp200294pxb; Mon, 2 Nov 2020 18:52:37 -0800 (PST) X-Google-Smtp-Source: ABdhPJxcss3iJDrOJjFQtjoIroYsVc2C4rgoT1grVdz8+gwXk2e4Nln4pKMhMDhXQ70RBEu8L+Cu X-Received: by 2002:a17:906:7704:: with SMTP id q4mr4712112ejm.92.1604371957774; Mon, 02 Nov 2020 18:52:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604371957; cv=none; d=google.com; s=arc-20160816; b=LGJ3vFjymRqdA1s41BKczkyl6Jbkc/9YDANoO9zKUbONXrhSEiGY+TNcCsoQJn/UY2 /Nj2sm6LqvXO2iKRBSeGzBrZYtwnqTb8rMx8Q6BsJ4tgaouoTcMy6uCvIJ3zk3n3zbhe yIcqRQx/EViE/CNISGwm6+bTvhCpap9Gx1dbn1KPR0jyKp1Y8o04kbQ4zR5yXO/OPr81 EcceCGzO80z+S02638lgqPsTCZYHvM4ulcTPlJXk/aErwu+hOl4Q8HY3jWd3iHmbL0lq 90S5pJ7Vuk6K/TzCs+dJVMkCaYdnsnTViwe6Lz1yIE/x9sPXZ9lThs5I+otx5G625pOU D5qg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=CW/ACUV2Mng49qFZGRiWeYHvjBj6rU/+vNlelQ6F/Jg=; b=ey9UNQ1P07cm1r1mTjIVCvOKaejd0xAKPY0e/MgcrtoJuLle7UiEFSO5ML/UbSreN9 NAIm58pI1YoJbZmwQBhHxlDKoMJx+5eL3arGq/Qrx+CPBWaPQbzElopTbKmwjP43rAMM ZWrOaSzJ5pNzPCJf3uJA7+f+TMsnMEzTGsoo/mwAZ/c6/PfiTIDcWrPPikdRIbVvGBXo Mr0NFR8dHiINE/w9O9ip5PbyTWZEUfT1lgM4WsKKFdP/6uP6qro0OH0B2QiuBzCmv8z2 aKHiD9alcAET/Lx65rJGZGoqwZ0EI29qEsWnU2IwbcRdf4EjGlQ6c2GcHTU2FiZ8jQh2 Q/3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=gZt9yAkr; 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 17si11694342ejx.356.2020.11.02.18.52.15; Mon, 02 Nov 2020 18:52:37 -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=@redhat.com header.s=mimecast20190719 header.b=gZt9yAkr; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726758AbgKCCut (ORCPT + 99 others); Mon, 2 Nov 2020 21:50:49 -0500 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:43285 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725989AbgKCCus (ORCPT ); Mon, 2 Nov 2020 21:50:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1604371847; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=CW/ACUV2Mng49qFZGRiWeYHvjBj6rU/+vNlelQ6F/Jg=; b=gZt9yAkrMnyicYN6MaiNWr6LGRTtEIyIx6TEJvRBOrxHIqlR6aV3s/B5UCEv318wL8USIu jV92iNBCOJzNx0NHNoeKs3Yrel3kksQPHJpZ7oqa2PQB0vSVTgROpQNPkPFQIoX+29Dhl8 bcNQVvRjZsL/Ua1eO7Zkh4O8gcAXhBk= Received: from mail-pl1-f198.google.com (mail-pl1-f198.google.com [209.85.214.198]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-322-iIItDuDIPueZTsQB6Z0fjg-1; Mon, 02 Nov 2020 21:50:45 -0500 X-MC-Unique: iIItDuDIPueZTsQB6Z0fjg-1 Received: by mail-pl1-f198.google.com with SMTP id bc2so9762389plb.23 for ; Mon, 02 Nov 2020 18:50:45 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=CW/ACUV2Mng49qFZGRiWeYHvjBj6rU/+vNlelQ6F/Jg=; b=bykLVs/dhDe6gA50WXuFtnFqG286yWXBKcIXlECeqsO1UOziSTe7TIf3ME7Vl/oXwi dyn1w5VopneSld0WGm42WDHI7xVEWDQXLgX0An1V9VwxHf4RUNG/rbQmgDWJ4vK1+WBm 7ATze82VoFzdZrb6szq4fxZfIxLITmTTERwbExqvXL0TmosWG2A05T8aJz5Vzkdyeg2m yRvjgxW7xnAdj6vQARRo883Djvt9L5NEv1jvsHif/sL/1lhxSjekOdr2BilqzwvmQmbj XzVhHCw71gM6b8TqQv1iWh5zg4OBkPd6Bp+dq+xl9ZmXgHb6SmQWIFAI2SzrGU843zZW jeVQ== X-Gm-Message-State: AOAM533txfsOD3EciyBmV3ihGxuA7tma1n52yYRah8gzcbPORvfw0V6b sm0oFvkqtN43LCm6fwUOdOZe22L99uuqnfvLQ3/Njpc4ESGRI8b8mO9OVP0KJnPp+GQU1YKLngj Y9rYueXpcwJswU5t4vgDDRq7i X-Received: by 2002:a17:90b:684:: with SMTP id m4mr1300026pjz.133.1604371844613; Mon, 02 Nov 2020 18:50:44 -0800 (PST) X-Received: by 2002:a17:90b:684:: with SMTP id m4mr1300005pjz.133.1604371844358; Mon, 02 Nov 2020 18:50:44 -0800 (PST) Received: from xiangao.remote.csb ([209.132.188.80]) by smtp.gmail.com with ESMTPSA id v3sm830911pju.38.2020.11.02.18.50.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Nov 2020 18:50:43 -0800 (PST) Date: Tue, 3 Nov 2020 10:50:33 +0800 From: Gao Xiang To: Chao Yu , Chao Yu Cc: linux-erofs@lists.ozlabs.org, LKML , nl6720 , stable Subject: Re: [PATCH] erofs: derive atime instead of leaving it empty Message-ID: <20201103025033.GA788000@xiangao.remote.csb> References: <20201031195102.21221-1-hsiangkao.ref@aol.com> <20201031195102.21221-1-hsiangkao@aol.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201031195102.21221-1-hsiangkao@aol.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Thanks a lot! Thanks, Gao Xiang