[Bugs] [Bug 1163416] [USS]: From NFS, unable to go to .snaps directory (error: No such file or directory)

bugzilla at redhat.com bugzilla at redhat.com
Thu Mar 10 10:44:31 UTC 2016


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



--- Comment #4 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/9106 committed in master by Rajesh Joseph
(rjoseph at redhat.com) 
------
commit ed98d128a9413f7b8af328ca27bf4b27514d61e9
Author: vmallika <vmallika at redhat.com>
Date:   Tue Feb 2 14:34:19 2016 +0530

    gluster/uss: change ctime attr of a dir when USS enabled

    Consider a testcase:
     mount -t nfs host1:/vol1 /mnt
     ls /mnt
     ls /mnt/.snaps (As expected this fails)
     gluster volume set vol1 features.uss enable

    Now `ls /mnt/.snaps` should work, but fails with No such file or
    directory.
    This is because NFS client  and Kernel VFS caches the list of files in a
    directory.
    This cache is updated if there are any changes in the directory attributes.

    This patch solves the problem by changing ctime attribute when USS is
    enabled

    Change-Id: I48b284100d0589f1c0285782a1302080c15d4e1f
    BUG: 1163416
    Signed-off-by: vmallika <vmallika at redhat.com>
    Reviewed-on: http://review.gluster.org/9106
    Smoke: Gluster Build System <jenkins at build.gluster.com>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Rajesh Joseph <rjoseph at redhat.com>

-- 
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=JpEXDxMy14&a=cc_unsubscribe


More information about the Bugs mailing list