Received: by 2002:a05:7412:8d09:b0:fa:4c10:6cad with SMTP id bj9csp176403rdb; Mon, 15 Jan 2024 17:16:14 -0800 (PST) X-Google-Smtp-Source: AGHT+IHgKqg2cdC+CeOJUwRk5xXffYsTCQOEabYmOeiBumPCWe0M0D7TWtCGc0EwTONgKkZEaW2q X-Received: by 2002:ac8:5c8c:0:b0:429:cfbd:20a2 with SMTP id r12-20020ac85c8c000000b00429cfbd20a2mr9093805qta.4.1705367774710; Mon, 15 Jan 2024 17:16:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705367774; cv=none; d=google.com; s=arc-20160816; b=wwhaMZeOPYNzBXSbTa8tPnAxlMSElw1ZHPFPcPMfi4QIq26l8wv4Kh2dA39DaPKPzy 9IiMk+uXMtIQkjMAt7zCwLr1RGBAXa6OPvxiuq/0FKcbCSHqb3FQd1A130xehig5tllU yoteLuDCTgEkF9InqTgyMlY6DW49eakEOoI+2bhjqqyUPPJKDSbmEa+g0ntZe+X77mv9 F07oQsHO2RjzEkNebRn7sGqx8BM+UQ3iV4SNy1x1UNdBFX/aOVWQViHyHI9/JSLInxku m97CS5K+M9GfPYVgvNLxcca/Pgms9eF1O5EQsgc0QJSepuY/nhzaR0UB87j+bQHWIrhT Jegg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=kdEhuLWe3d17fcS86kGr+f0TnK2jMTbehpEdzK+B83U=; fh=6t81p1e6QSSEIilMtXM2VjANInrnxGjZacnA//zG3Ao=; b=dvYMmjw/QqGdN68sJ7M55l61Za2EaXOi9nF2kQlVPkq+7fZg0WaRwUflvxatK30NC3 ZktHyIswgxbSHA0uGYYkG8V6k4y3gMHnq7931OZ9+ear8SH0jtlp59p48f0G64FEhCq+ wY/KDIa3Xh7XcspxpxaQpf8RLY50SJs64g19EOl8BKWkvWuCbdtK+F+1zxIkHb6NAOPm zXyQYqx2JjKtI17nz74khACDGwWdnsDMUdeZFNGRAnsEoxejSmTDVK/i6/IQHcMEaner WrQKQNS1VKvji14B1P5sEGP6Y6PxhI9wwGEgVbWFK5GUg1xHPWf6N2np7gJmfE92P34v XUjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="lgD8aGb/"; spf=pass (google.com: domain of linux-nfs+bounces-1118-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-nfs+bounces-1118-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id a11-20020a05622a064b00b00429d3632879si6325103qtb.108.2024.01.15.17.16.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jan 2024 17:16:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs+bounces-1118-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="lgD8aGb/"; spf=pass (google.com: domain of linux-nfs+bounces-1118-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-nfs+bounces-1118-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 76DA51C2289A for ; Tue, 16 Jan 2024 01:16:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E6544A946; Tue, 16 Jan 2024 01:02:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="lgD8aGb/" X-Original-To: linux-nfs@vger.kernel.org Received: from mail-lf1-f44.google.com (mail-lf1-f44.google.com [209.85.167.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3A0A08480 for ; Tue, 16 Jan 2024 01:02:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-lf1-f44.google.com with SMTP id 2adb3069b0e04-50e741123acso11255807e87.0 for ; Mon, 15 Jan 2024 17:02:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705366957; x=1705971757; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=kdEhuLWe3d17fcS86kGr+f0TnK2jMTbehpEdzK+B83U=; b=lgD8aGb/dTFasBSKUEDj3Il3UAIvkCRkBwHLzXiQ4w92gQzWE2XEvmqqJjc4DyWtVu 0F/VcpDzemiHpaoRLYfuGy99pB+IuGWIBh95+qb7euRBkYHi2PuZ0QJx286iHuGw/mNC DohmPCGkzGhjwO//7B/r5Neh1RFp3obLf/Hfpr2OzkI6ZBd8PveNe7rPA3+gWkrGwumQ 5eXENWJQeb0IqPSyqHKiAud82yC8+ZXq+N/f9WKZHZZ5FFwyZc7EzckOaYk7T5g5trNi jMyCdOiTWbsbpbqUXml+kvmgUC1jqk8gg6irDnl5ggyVQZ0QKaNhwtVQzwub+Nt0HZRh fNug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705366957; x=1705971757; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=kdEhuLWe3d17fcS86kGr+f0TnK2jMTbehpEdzK+B83U=; b=oDujcxSYFV5G0RUCgnqzl6Jhj8qnAaFH1STZand1BWuJOSNyk7oDGLYdkUH64YTyJC vCHpCEvvdNBkAYwc/aGekodlMevcTar62U9s+LCgl2dHEeyyyMI9Ep2Y28illOAVBjCD IPxOJXSorD3EnqQMuY8iPah69g2NWQb7s4jJAAm+ocLJB2Pv3vS5Gnm7QnMo/lvmrsTQ W10SHQyLEOwGqBpv45rUkf2mzgv/oorT7/BVRWUYm8eAmnOm8pRMym8kP/hg43MJJwRc tnvUNzDSaP/i2KyCKfXbHSSO4iGPX0QaaOYbfCXOXMV5+g3sEXDSVFAGrohhwafsckeL V0fQ== X-Gm-Message-State: AOJu0Yyg5QKQ0WXML9C3rIKDIhQ/oGxqqYE1raYhYKH35MbGjbyXAugv hw4sXyt0J6RF7+5Gctz1E/yBKILStnyS+5j6a3cVrY4NBFA= X-Received: by 2002:a05:6512:3f07:b0:50e:8137:9a13 with SMTP id y7-20020a0565123f0700b0050e81379a13mr3504095lfa.66.1705366956932; Mon, 15 Jan 2024 17:02:36 -0800 (PST) Precedence: bulk X-Mailing-List: linux-nfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240115063605.2064-1-chenhx.fnst@fujitsu.com> In-Reply-To: <20240115063605.2064-1-chenhx.fnst@fujitsu.com> From: Dan Shelton Date: Tue, 16 Jan 2024 02:02:00 +0100 Message-ID: Subject: Re: [PATCH] nfsv4: Add support for the birth time attribute To: Chen Hanxiao Cc: Trond Myklebust , Anna Schumaker , Jeff Layton , linux-nfs@vger.kernel.org Content-Type: text/plain; charset="UTF-8" On Mon, 15 Jan 2024 at 07:37, Chen Hanxiao wrote: > > This patch enable nfs to report btime in nfs_getattr. > If underlying filesystem supports "btime" timestamp, > statx will report btime for STATX_BTIME. > > Signed-off-by: Chen Hanxiao > --- > v1: > Don't revalidate btime attribute > > RFC v2: > properly set cache validity > > fs/nfs/inode.c | 23 ++++++++++++++++++++--- > fs/nfs/nfs4proc.c | 3 +++ > fs/nfs/nfs4xdr.c | 23 +++++++++++++++++++++++ > include/linux/nfs_fs.h | 2 ++ > include/linux/nfs_xdr.h | 5 ++++- > 5 files changed, 52 insertions(+), 4 deletions(-)# Hello Where is the patch which adds support for btime to nfsd? Dan -- Dan Shelton - Cluster Specialist Win/Lin/Bsd