Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp534045ybf; Sat, 29 Feb 2020 09:14:05 -0800 (PST) X-Google-Smtp-Source: APXvYqxEzn7xLrC+UdNeZMrOKxpMgUAom9bs6xdH/UPBBeApip+1eG9tWCCBthGFIdJZD6U5YSxR X-Received: by 2002:a9d:6288:: with SMTP id x8mr7292542otk.2.1582996445494; Sat, 29 Feb 2020 09:14:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582996445; cv=none; d=google.com; s=arc-20160816; b=BlZhdFnVrSo6FuWgfdPv3hjp4qhTaW8LKz4o8v01jWECudaDLDDGgPEu4bZt3gaKkG BASdD4ge4e6WKArGmrvDd+m3mYibdwCqlpF2FuC6Fy7px9VcXJ45XXyCug82kjo0deIt IfuQU5PpzembaCADxHVSpn/Fv066zttjZyXbHx70/bHxc7lKgmS1Me/oNJeLmv0cRd2R n6TO0tXZjBAJFwD/mr5DwElO10WV043wYQpiJimm+lcG/QeSOo1+0kgJP4Pmc4MCUTfT iWhvxNg6iekKGiajM8qipKlTZqf7Z8BI4harLqpVECcHdUIpjkyU/HuHUoXy60c0GIR5 meWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=TqK34GZ24XFNJM/Ncs6QWbpG1bOx5K5MlXOOEm5aGq8=; b=aa6hCr7L+GposaqYIhwKfheup8S+I12gnUzCu5vzE7arXl1Y6fLp5ikHogMky1tnz3 l2iqMd85Ku8MN3h7iz/l2YDHx+S/WS2CcmeKf8pgI+/dnuxzrpIDs0QHvyqvgTF5HDtT sRxWoMXAj2Inl6ZJ2vvYk9eJ94h+liXaUhXqRU+/9I6s4B0kTtftHS7goZeAaZz0bmKO uQWkC+0+D+6OO7Pr6H8teALANcZF46Sn7cZ3SGPiwn0frpIE3ZCadyw2C7bDBvIKjy65 V/s3qyH+Dn8SWOK1FlOuoRJhM7fyUCXi2hH18dby+zO7B3LSBiQrTMLMhKG3sx07tpA/ 6pVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxace-com.20150623.gappssmtp.com header.s=20150623 header.b=k5CZ9H9e; spf=pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-nfs-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 i15si3703254otk.120.2020.02.29.09.13.43; Sat, 29 Feb 2020 09:14:05 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxace-com.20150623.gappssmtp.com header.s=20150623 header.b=k5CZ9H9e; spf=pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727218AbgB2RLV (ORCPT + 99 others); Sat, 29 Feb 2020 12:11:21 -0500 Received: from mail-pg1-f194.google.com ([209.85.215.194]:43795 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727195AbgB2RLV (ORCPT ); Sat, 29 Feb 2020 12:11:21 -0500 Received: by mail-pg1-f194.google.com with SMTP id u12so3177975pgb.10 for ; Sat, 29 Feb 2020 09:11:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxace-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=TqK34GZ24XFNJM/Ncs6QWbpG1bOx5K5MlXOOEm5aGq8=; b=k5CZ9H9e8LXPXKB+w2ZbqG3QsE526jzHxKAiiAWybQi/tHe5SffSlImhamD1T5uu4q N570LlnDB/c34DBYOOCqvag08ahc9zzziHpwFZ01smnjSFoZFTgoCUiDTImPSaK8DOjp cFRbzD+/ellSIDlAi3QfsVnEohMeIy/6pQDji+lapI0SHxR/43/Kd0sKJlOKO7rq2aIc FwZiG/T6a7Zc+FT26cKEPvZmiJdm1MrFmY57kuVUOPtlbVPDW2ih8iY9KZzkxqusM5iC vr6mTWMZAvTtQWnvbySj6wD6I2792h921/xnFb0VdOPcBHXoXRnI/lFGLNBWp1MBxXlE C27Q== 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; bh=TqK34GZ24XFNJM/Ncs6QWbpG1bOx5K5MlXOOEm5aGq8=; b=sHtlnBtM7CJHzq2SqTIkmPHG8seIUnuIbgZP+Z4vuVE0P5xVEtIzxTSUMVa9qnsNaG RQRg3ymnaDWd+ZcG+Z/qO7cRcE3woVVoBZ6sCLFI+mtx8xWYcLR5h291lufelkyKrvXI jI6IWPzrPVIgPRBG5cbCBft2Arv0GvMLJnpZGg6DlVh8IoJRoXyXRvzvfqN8RqGq1q2j rou5Bu2tDNt5RzOsw7OrgNFw9GAZN+k1Wx8q/DZSZ2w7pLkQ9ZcMd8MR6U582OXMaGCz MUKQRxCaE3nh6lz9nieqhpzMWx5KkOTS8ItlK8vZlWabLVXYpE7JQcMlrUPDyL+LsJRD d3sQ== X-Gm-Message-State: APjAAAXdcmmJPFDHt0Sq6FUydYpTFkTfMxLbEFvvYCf64tGFFDbVg4P4 Y/UV70bgXZDkxLKCaQdUBnV7LAnucY4= X-Received: by 2002:a62:1a16:: with SMTP id a22mr10075047pfa.34.1582996280571; Sat, 29 Feb 2020 09:11:20 -0800 (PST) Received: from home.linuxace.com (cpe-76-91-193-165.socal.res.rr.com. [76.91.193.165]) by smtp.gmail.com with ESMTPSA id 1sm11404726pff.11.2020.02.29.09.11.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 29 Feb 2020 09:11:19 -0800 (PST) Date: Sat, 29 Feb 2020 09:11:17 -0800 From: Phil Oester To: Olga Kornievskaia Cc: linux-nfs@vger.kernel.org Subject: Re: NFS "fileid changed" errors since 5.3 Message-ID: <20200229171117.GA66753@home.linuxace.com> References: <20200227023914.GC33510@home.linuxace.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On Fri, Feb 28, 2020 at 11:29:24AM -0500, Olga Kornievskaia wrote: > On Wed, Feb 26, 2020 at 9:39 PM Phil Oester wrote: > > > > When running on 5.3 or 5.4 kernels and mounting a Netapp filer via NFSv3 > > and accessing the .snapshot directory, "fileid changed" errors appear > > in dmesg. Reverting these 2 patches solves the issue: > > > > eb3d8f42231aec: NFS: Fix inode fileid checks in attribute revalidation code > > 7e10cc25bfa0dd: NFS: Don't refresh attributes with mounted-on-file information > > > > Various condition checks changed around printing that error in these > > commits, but I'm unclear whether the errors are spurious or something > > I should actually be concerned about. Thoughts? > > > > Hi Phil, > > Can you provide a bit more about your Netapp setup? Netapp version and > any kind of setup you have enabled (like are you using qtrees? have > you toggles v4-fsid-change?) ,. I can't reproduce this on my setup. Hi Olga, The Netapp is running Ontap 9.6P2. This particular volume has no qtrees. Also I have not toggled v4-fsid-change, but as noted I am mounting the volume via NFSv3, so this should not be related. Some additional information I've found: the fileid changes also occur on a 4.19.106 kernel, but on that kernel there is no error printed. So this again leads me to believe that this is a common occurrence, but the conditionals which changed in 5.3+ kernels only now are causing it to be printed. From 4.19.106: [root@hq1-kvm9 (stg) poester] # ls -i /var/lib/libvirt/images/.snapshot | grep daily.2020-02-2._0010 70566464 daily.2020-02-28_0010 70573019 daily.2020-02-29_0010 [root@hq1-kvm9 (stg) poester] # ls -i /var/lib/libvirt/images/.snapshot | grep daily.2020-02-2._0010 70566464 daily.2020-02-28_0010 70573019 daily.2020-02-29_0010 [root@hq1-kvm9 (stg) poester] # find /var/lib/libvirt/images/.snapshot > /dev/null [root@hq1-kvm9 (stg) poester] # ls -i /var/lib/libvirt/images/.snapshot | grep daily.2020-02-2._0010 70566464 daily.2020-02-28_0010 70572864 daily.2020-02-29_0010 <=== Note fileid changed here Nothing showed up in dmesg on that kernel, but in the 5.4.latest stable kernel that would cause the "fileid changed" error to print. Thanks, Phil