https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e0caaf75d443e02e55e146fd75fe2efc8aed5540

commit e0caaf75d443e02e55e146fd75fe2efc8aed5540
Author: Trond Myklebust <trond.mykleb...@hammerspace.com>
Date:   Tue Feb 8 13:38:23 2022 -0500

    NFS: LOOKUP_DIRECTORY is also ok with symlinks

    Commit ac795161c936 (NFSv4: Handle case where the lookup of a directory
    fails) [1], part of Linux since 5.17-rc2, introduced a regression, where
    a symbolic link on an NFS mount to a directory on another NFS does not
    resolve(?) the first time it is accessed:

    Reported-by: Paul Menzel <pmen...@molgen.mpg.de>
    Fixes: ac795161c936 ("NFSv4: Handle case where the lookup of a directory 
fails")
    Signed-off-by: Trond Myklebust <trond.mykleb...@hammerspace.com>
    Tested-by: Donald Buczek <buc...@molgen.mpg.de>
    Signed-off-by: Anna Schumaker <anna.schuma...@netapp.com>

~/git/linux$ git describe --contains e0caaf75d443
v5.17-rc5~13^2~1


** Also affects: linux (Ubuntu Jammy)
   Importance: Undecided
       Status: New

** Also affects: linux-signed-hwe-5.4 (Ubuntu Jammy)
   Importance: Undecided
       Status: New

** Also affects: linux-signed-hwe-5.13 (Ubuntu Jammy)
   Importance: Undecided
       Status: New

** Also affects: linux (Ubuntu Impish)
   Importance: Undecided
       Status: New

** Also affects: linux-signed-hwe-5.4 (Ubuntu Impish)
   Importance: Undecided
       Status: New

** Also affects: linux-signed-hwe-5.13 (Ubuntu Impish)
   Importance: Undecided
       Status: New

** Also affects: linux (Ubuntu Kinetic)
   Importance: Undecided
       Status: Confirmed

** Also affects: linux-signed-hwe-5.4 (Ubuntu Kinetic)
   Importance: Undecided
       Status: New

** Also affects: linux-signed-hwe-5.13 (Ubuntu Kinetic)
   Importance: Undecided
       Status: New

** Also affects: linux (Ubuntu Focal)
   Importance: Undecided
       Status: New

** Also affects: linux-signed-hwe-5.4 (Ubuntu Focal)
   Importance: Undecided
       Status: New

** Also affects: linux-signed-hwe-5.13 (Ubuntu Focal)
   Importance: Undecided
       Status: New

** No longer affects: linux-signed-hwe-5.13 (Ubuntu)

** No longer affects: linux-signed-hwe-5.4 (Ubuntu)

** No longer affects: linux-signed-hwe-5.13 (Ubuntu Focal)

** No longer affects: linux-signed-hwe-5.13 (Ubuntu Impish)

** No longer affects: linux-signed-hwe-5.13 (Ubuntu Jammy)

** No longer affects: linux-signed-hwe-5.13 (Ubuntu Kinetic)

** No longer affects: linux-signed-hwe-5.4 (Ubuntu Focal)

** No longer affects: linux-signed-hwe-5.4 (Ubuntu Impish)

** No longer affects: linux-signed-hwe-5.4 (Ubuntu Jammy)

** No longer affects: linux-signed-hwe-5.4 (Ubuntu Kinetic)

** Changed in: linux (Ubuntu Kinetic)
       Status: Confirmed => New

** Changed in: linux (Ubuntu Focal)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-signed-hwe-5.13 in Ubuntu.
https://bugs.launchpad.net/bugs/1971482

Title:
  Regression: nfs cannot access/list wildcard file unless its cached

Status in linux package in Ubuntu:
  Incomplete
Status in linux source package in Focal:
  Confirmed
Status in linux source package in Impish:
  New
Status in linux source package in Jammy:
  New
Status in linux source package in Kinetic:
  Incomplete

Bug description:
  Some of our build machines have recently started failing builds.  It
  was noted that all the machines that fail the build are running the
  most recent kernel 5.4.0-109-generic #123~18.04.1-Ubuntu.

  The following command was created to minimally reproduce the issue:

  $ while true; do sudo /usr/local/scripts/drop_cache.sh;  ls -la 
/shared/projects/MityCAM-jenkins/intermediates/MityCAM-Yocto/latest/libdaq*.ipk 
| tee -a /tmp/ls.log 2>&1; sleep 1;done
  ls: cannot access 
'/shared/projects/MityCAM-jenkins/intermediates/MityCAM-Yocto/latest/libdaq*.ipk':
 No such file or directory
  ls: cannot access 
'/shared/projects/MityCAM-jenkins/intermediates/MityCAM-Yocto/latest/libdaq*.ipk':
 No such file or directory
  ls: cannot access 
'/shared/projects/MityCAM-jenkins/intermediates/MityCAM-Yocto/latest/libdaq*.ipk':
 No such file or directory
  ls: cannot access 
'/shared/projects/MityCAM-jenkins/intermediates/MityCAM-Yocto/latest/libdaq*.ipk':
 No such file or directory

  
  Note directly trying to list the file works every time, it seems the bug must 
be related to the use of the wildcard.

  $ while true; do sudo /usr/local/scripts/drop_cache.sh;  ls -la 
/shared/projects/MityCAM-jenkins/intermediates/MityCAM-Yocto/latest/libdaq_1.0.9323-r3_cortexa9hf-neon.ipk
 | tee -a /tmp/ls.log 2>&1; sleep 1;done
  -rw-r--r-- 1 jenkins engineer 202526 May  2 13:47 
/shared/projects/MityCAM-jenkins/intermediates/MityCAM-Yocto/latest/libdaq_1.0.9323-r3_cortexa9hf-neon.ipk
  -rw-r--r-- 1 jenkins engineer 202526 May  2 13:47 
/shared/projects/MityCAM-jenkins/intermediates/MityCAM-Yocto/latest/libdaq_1.0.9323-r3_cortexa9hf-neon.ipk
  -rw-r--r-- 1 jenkins engineer 202526 May  2 13:47 
/shared/projects/MityCAM-jenkins/intermediates/MityCAM-Yocto/latest/libdaq_1.0.9323-r3_cortexa9hf-neon.ipk

  The drop_cache was needed to force the error everytime, otherwise it
  would fail only a few times then succeed a bunch in a row before
  randomly failing again.

  $ cat /usr/local/scripts/drop_cache.sh 
  #!/bin/bash

  # Test script to drop filesystem cache
  sync

  # Clear pagecache, dentries, and inodes
  echo 3 > /proc/sys/vm/drop_caches

  
  Downgrading the kernel to 5.4.0-107-generic on one of the machines caused the 
problem to go away.

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: linux-image-5.4.0-109-generic 5.4.0-109.123~18.04.1
  ProcVersionSignature: Ubuntu 5.4.0-107.121~18.04.1-generic 5.4.174
  Uname: Linux 5.4.0-107-generic x86_64
  ApportVersion: 2.20.9-0ubuntu7.27
  Architecture: amd64
  Date: Tue May  3 15:04:34 2022
  ProcEnviron:
   LANG=en_US.UTF-8
   SHELL=/bin/bash
   TERM=xterm-256color
   XDG_RUNTIME_DIR=<set>
   PATH=(custom, no user)
  SourcePackage: linux-signed-hwe-5.4
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1971482/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to