Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1117867pxj; Fri, 21 May 2021 06:55:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxHBo9Au3psFZYNKSY/6/Ox10Q8n2iJxVLOKGLEB6qUkB+bkutXkbdGUohpZqVaHLCk3/VO X-Received: by 2002:a02:660e:: with SMTP id k14mr4722259jac.9.1621605316008; Fri, 21 May 2021 06:55:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621605316; cv=none; d=google.com; s=arc-20160816; b=eUBwkyfoO+5+EyyBkCbN7H2TgVW+F0FzjN1kAlih3ewwJwkv9pQWKk8wvF3xV7XoQP EIFbFANriDM1+mCFV1F9c06nChplrW8J7yUeKb3tAeTOpKzv/eCGfP5YW0V3Bbj/pJQ9 emiZ1UcaU+D7rvNeLGZOGuykaK8isULPrXfn0ux/O0+QnVn0f6XRbP2eiM+cuN6YFXy9 /6Uokh4yYFNyrj56JqGSa6F1NgQLSE+W13gTRHLFkildmxXFkZa1DPzAbKFoHPGoKaaX LzlhhCn8hQubSJ8ltP/PME96qVT0rvzzfFckWQe7h1p8ItYO/r+2+ZI8dF7S+Ng6g4e/ sPeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:reply-to:message-id:subject:cc:to:from:date; bh=202jhcd3DfM2g6tw8nHFH4D/BwLGwVApII712nC9Aqs=; b=wWdkMcApC/lPkteNscFw+dZXQTdmYyn0VBiVDrvZTBXn7TJ3JynOARcUUgSt2AQMV1 yPb/xRdrM1zUUrnXNVrBJSulMEY+686cFULh6TICH6R73oEeN20HwgBFmFY/PTrXwuhI bUvF89lYLnBne++hEP8/zKTf+pnGZLqdztESuxfWD1FG86j7yQghyOJG4r6TVhLRlu+R e6ui97t7x+aYuKh1o4MrOkToK4KdntPjGdnBLnfiBmquvCkDH0x6ms98rnYmpPEvNESJ rX7ept5PakOsb7t1zWaG5TbG984eoBgW+WEWttu2rKTS7u0VdRwNwD40CaJHk0Pw2xc1 iM9Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m10si5729346ilq.126.2021.05.21.06.54.51; Fri, 21 May 2021 06:55:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236275AbhEUNyP (ORCPT + 99 others); Fri, 21 May 2021 09:54:15 -0400 Received: from mx2.suse.de ([195.135.220.15]:39000 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236259AbhEUNyO (ORCPT ); Fri, 21 May 2021 09:54:14 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 6A4FAAAA6; Fri, 21 May 2021 13:52:50 +0000 (UTC) Date: Fri, 21 May 2021 15:52:48 +0200 From: Petr Vorel To: NeilBrown Cc: Steve Dickson , "J . Bruce Fields" , linux-nfs@vger.kernel.org, Chuck Lever , Alexey Kodanev Subject: Re: [PATCH nfs-utils 1/2] Remove 'force' arg from cache_flush() Message-ID: Reply-To: Petr Vorel References: <20210422191803.31511-1-pvorel@suse.cz> <20210422202334.GB25415@fieldses.org> <162035212343.24322.12361160756597283121@noble.neil.brown.name> <162122673178.19062.96081788305923933@noble.neil.brown.name> <289c5819-917a-39a7-9aa4-2a27ae7248c0@RedHat.com> <162156113063.19062.9406037279407040033@noble.neil.brown.name> <162156122215.19062.11710239266795260824@noble.neil.brown.name> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <162156122215.19062.11710239266795260824@noble.neil.brown.name> Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org Hi Neil, > Since v4.17 the timestamp written to 'flush' is ignored, > so there isn't much point choosing too precisely. > For kernels since v4.3-rc3-13-g778620364ef5 it is safe > to write 1 second beyond the current time. > For earlier kernels, nothing is really safe (even the current > behaviour), but writing one second beyond the current time isn't too bad > in the unlikely case the people use a new nfs-utils on a 5 year old > kernel. > This remove a dependency for libnfs.a on 'etab' being declare, > so svcgssd no longer needs to declare it. Reviewed-by: Petr Vorel Kind regards, Petr