[Bugs] [Bug 1297203] readdir false-failure with non-Linux

bugzilla at redhat.com bugzilla at redhat.com
Fri Jul 29 18:18:58 UTC 2016


https://bugzilla.redhat.com/show_bug.cgi?id=1297203



--- Comment #13 from Pranith Kumar K <pkarampu at redhat.com> ---
(In reply to 2510 from comment #12)
> Okay, I created your account and VM is ready for dev.
> 
> ------------------------------------------------------------------------
> 
> * ssh pk at 153.126.154.119 with your key.
> 
> * Here's my work. You may copy to your home directory.
> 
> /home/2510/glusterfs-3.6.8-orig
>   - Original glusterfs-3.6.8, without any patches.
> /home/2510/glusterfs-3.6.8-patched
>   - with some patches, from /home/2510/glusterfs-freebsd/patches/*
> 
> * You can use sudo (for mount/umount, install/start/stop glusterfs)
> * To mount or umount NFS directory:
> 
> $ sudo mount -t nfs 10.0.0.1:/testvol /mnt/testvol
> $ sudo umount /mnt/testvol
> 
> * To start/stop glusterfs service:
> 
> $ sudo service start glusterfsd
> $ sudo killall glusterd glusterfsd
> 
> * This VM is built for this ticket.
>   I do not use for other purposes.
> 
> * Device for a brick is /dev/vtbd0p4, and mounted on /mnt/brick.
> 
> ------------------------------------------------------------------------
> 
> Currently, I suspect that glusterfs NFS reuses cookie returned by seekdir
> over different DIR.
> (It means the ticket my subject, the false-positive, is wrong)
> 
> This can be tested by following:
> 
> 1) Install glusterfs and run.
> 2) Create a volume (with a brick), then mount gluster volume via nfs.
> 
> # mkdir /mnt/testvol
> # mount -t nfs 10.0.0.1:/testvol /mnt/testvol
> 
> 3) Create many files on it.
> 
> # sudo sh -c 'for i in `seq 0 1 200`; do touch /mnt/testvol/$i; done'
> 
> 4) List directory entries.
> 
> # ls /mnt/testvol
> 
> With original glusterfs, only 51 entries are listed. (entries numbered 48 to
> 200 are missing)
> With patched glusterfs, all entries are listed.

Thanks for this VM. I may have to show this problem to some of our NFS devs
too. Please keep the VM until this bug is completely fixed. I will let you know
once we are done with finding the Root cause

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=S16gxB8T0F&a=cc_unsubscribe


More information about the Bugs mailing list