Re: Stale NFS file handle, then EINVAL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Emmanuel Dreyfus <manu@xxxxxxxxxx> wrote:

> And indeed the link file has a different gfid, as I understand this is the
> problem. But how can this happen?

I have been able to reproduce reliabily (but not always the same file.
increasing logging changes the offending file, which suggests a race)
with just a find in a crowded directory;

client# cd /root && umount /gfs && mount /gfs && cd  \
   /gfs/usr/src/gnu/dist/binutils && find bfd  2>&1 |less
bfd
bfd/MAINTAINERS
bfd/bfdwin.c
bfd/ChangeLog-0203
find: bfd/aoutx.h: Stale NFS file handle
bfd/bfdio.c
bfd/ChangeLog-9495
bfd/aix386-core.c
bfd/aout-adobe.c
find: bfd/bfd.m4: Stale NFS file handle

However the command below works, which suggests the problem is really
with READDIR:
#client cd /root && umount /gfs && mount /gfs && cd  \
   /gfs/usr/src/gnu/dist/binutils && find bfd/aoutx.h  2>&1 |less
bfd/aoutx.h



-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu@xxxxxxxxxx



[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux