Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D5DB0C64ED8 for ; Thu, 23 Feb 2023 23:12:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229694AbjBWXMA (ORCPT ); Thu, 23 Feb 2023 18:12:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35798 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229625AbjBWXL4 (ORCPT ); Thu, 23 Feb 2023 18:11:56 -0500 Received: from mail-ed1-x52e.google.com (mail-ed1-x52e.google.com [IPv6:2a00:1450:4864:20::52e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4430F580CD for ; Thu, 23 Feb 2023 15:11:53 -0800 (PST) Received: by mail-ed1-x52e.google.com with SMTP id o12so48605670edb.9 for ; Thu, 23 Feb 2023 15:11:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitmlabs-org.20210112.gappssmtp.com; s=20210112; h=cc:to:subject:message-id:date:from:reply-to:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=4ZhcqxXFunyKmJAnTkBe/sYveKPMZiCHLdgGndCIvmw=; b=RPm9ajGg+bpqPeCQ1T7jJwujkrC4b1kK2z76ktAQ91JHtEA7+I+szu01tvj9rAzM/6 YY+DVjRz2xFvARlTc6YLhn/CVGCjezw0WG0Nj9o08eMCQtsn4Ni0kQQ5hrisWocExNpl QQXcRsZzf84o4wLtmHyJAVsELWiYpMAwBqsm3cfAIM8uzGMuPECGV+gOy3kw5UpACdbf 0Z/jcSjufhR8XAucuecmqwEZSK+mn9OLMordC8aoOMK3pbuKCjbqjaDq+ajY2nEi44B5 0l0AwBlR1tI9XjcOVBg6vkqMnpys15syHbxbKQ0PE1ZWaL+cMY526C+3g3CBl5OaIf30 aPyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:reply-to:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=4ZhcqxXFunyKmJAnTkBe/sYveKPMZiCHLdgGndCIvmw=; b=wRYW6jbOkfw4W22kaYb3VqJmXHlfQBKHSduUF99zea36vomnhL1FtHnAKvZVIljg+b LWhPIyAgsMDJfl2A0saii7/Lz0tOBCHOqn0w/oD1FY1Pjwn5FjcjlBT9FQS4TtqOVQx+ YZNyAqD2OClus00CNDlPkaGTHz5ViKstnp0PsscVgO+EIZQEV1UbfdIzdSq0gkt17gkh 3QsOJcKOBNxh2WozNcEnG1ufehbs7dUwdaUdqaHVr76hBOA2iKytgwtRAtymI9ANqJG6 pxy0Q5GIKC8NJNPZnsy3zg8HcBjLSMSy0VshKBJc/8nw4ItCEqt2c6Eme+wQMIBAIXoC GSSw== X-Gm-Message-State: AO0yUKWs0U9Xx70cnyDJ2LdsiLO39CRBB1esPArFQqEzPwaND6mGD6cD RpdFnLlClCKnD4c1oa063yhyD4zuxiWzArtdSmuuHw== X-Google-Smtp-Source: AK7set/bDMEFLOb9zD5mIiYLI3kJ4oUZ7FKxuHEIh9/zbBkhb+idLsQElu6vADg4xiN5SGB6/VWABvfcrsDnri21a74= X-Received: by 2002:a17:906:3388:b0:8af:b63:b4ba with SMTP id v8-20020a170906338800b008af0b63b4bamr9918125eja.3.1677193911673; Thu, 23 Feb 2023 15:11:51 -0800 (PST) MIME-Version: 1.0 References: <4B9D76D5-C794-4A49-A76F-3D4C10385EE0@kohlschutter.com> <83A29F9C-1A91-4753-953A-0C98E8A9832C@kohlschutter.com> <56E6CAAE-FF25-4898-8F9D-048164582E7B@kohlschutter.com> <490c5026-27bd-1126-65dd-2ec975aae94c@eitmlabs.org> In-Reply-To: Reply-To: jonathan@eitm.org From: Jonathan Katz Date: Thu, 23 Feb 2023 15:11:35 -0800 Message-ID: Subject: Re: [PATCH] [REGRESSION] ovl: Handle ENOSYS when fileattr support is missing in lower/upper fs To: Miklos Szeredi Cc: =?UTF-8?Q?Christian_Kohlsch=C3=BCtter?= , Linus Torvalds , overlayfs , linux-kernel , linux-fsdevel Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi all, Problem persists with me with 6.2.0 # mainline --install-latest # reboot # uname -r 6.2.0-060200-generic Representative log messages when mounting: Feb 23 22:50:43 instance-20220314-1510-fileserver-for-overlay kernel: [ 44.641683] overlayfs: null uuid detected in lower fs '/', falling back to xino=off,index=off,nfs_export=off. Representative log messages when accessing files: eb 23 23:06:31 instance-20220314-1510-fileserver-for-overlay kernel: [ 992.505357] overlayfs: failed to retrieve lower fileattr (8020 MeOHH2O RecoverySample2-20221219-A-JJL-WebinarHilic10C-TOF-TT54-Neg-1722.d/Storage.mcf_idx, err=-38) Feb 23 23:06:32 instance-20220314-1510-fileserver-for-overlay kernel: [ 993.523712] overlayfs: failed to retrieve lower fileattr (8020 MeOHH2O RecoverySample2-20221219-A-JJL-WebinarHilic10C-TOF-TT54-Neg-1722.d/Storage.mcf_idx, err=-38) On Mon, Jan 30, 2023 at 11:27 AM Jonathan Katz wrote: > > On Thu, Jan 26, 2023 at 5:26 AM Miklos Szeredi wrote: > > > > On Wed, 18 Jan 2023 at 04:41, Jonathan Katz wrote: > > > > > I believe that I am still having issues occur within Ubuntu 22.10 with > > > the 5.19 version of the kernel that might be associated with this > > > discussion. I apologize up front for any faux pas I make in writing > > > this email. > > > > No need to apologize. The fix in question went into v6.0 of the > > upstream kernel. So apparently it's still missing from the distro you > > are using. > > Thank you for the reply! --- I have upgraded the Kernel and it still > seems to be throwing errors. Details follow: > > Distro: Ubuntu 22.10. > Upgraded kernel using mainline (mainline --install-latest) > > # uname -a > Linux instance-20220314-1510-fileserver-for-overlay > 6.1.8-060108-generic #202301240742 SMP PREEMPT_DYNAMIC Tue Jan 24 > 08:13:53 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux > > On mount I still get the following notice in syslog (representative): > Jan 30 19:11:46 instance-20220314-1510-fileserver-for-overlay kernel: > [ 71.613334] overlayfs: null uuid detected in lower fs '/', falling > back to xino=off,index=off,nfs_export=off. > > And on access (via samba) I still see the following errors in the > syslog (representative): > Jan 30 19:19:34 instance-20220314-1510-fileserver-for-overlay kernel: > [ 539.181858] overlayfs: failed to retrieve lower fileattr (8020 > MeOHH2O RecoverySample2-20221219-A-JJL-WebinarHilic10C-TOF-TT54-Neg-1722.d/Storage.mcf_idx, > err=-38) > > And on the Windows client, the software still fails with the same symptomology. > > > > > > > > > An example error from our syslog: > > > > > > kernel: [2702258.538549] overlayfs: failed to retrieve lower fileattr > > > (8020 MeOHH2O > > > RecoverySample2-20221219-A-JJL-WebinarHilic10C-TOF-TT54-Neg-1722.d/analysis.tsf, > > > err=-38) > > > > Yep, looks like the same bug. > > > > Thanks, > > Miklos