Bug 1175742 - [USS]: browsing .snaps directory with CIFS fails with "Invalid argument"
Summary: [USS]: browsing .snaps directory with CIFS fails with "Invalid argument"
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: core
Version: 3.6.1
Hardware: x86_64
OS: Linux
urgent
urgent
Target Milestone: ---
Assignee: bugs@gluster.org
QA Contact:
URL:
Whiteboard:
Depends On: 1119710 1168875
Blocks: 1154965 glusterfs-3.6.2
TreeView+ depends on / blocked
 
Reported: 2014-12-18 13:53 UTC by Vijaikumar Mallikarjuna
Modified: 2016-05-11 22:47 UTC (History)
15 users (show)

Fixed In Version: glusterfs-3.6.2
Doc Type: Bug Fix
Doc Text:
Clone Of: 1168875
Environment:
Last Closed: 2015-02-11 09:10:04 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Comment 1 Anand Avati 2014-12-26 05:27:55 UTC
REVIEW: http://review.gluster.org/9341 (uss: CIFS gives error while accessing .snaps directory) posted (#1) for review on release-3.6 by Sachin Pandit (spandit)

Comment 2 Anand Avati 2014-12-26 05:28:10 UTC
REVIEW: http://review.gluster.org/9344 (features/snapview-client: handle readdir requests differently for samba) posted (#1) for review on release-3.6 by Sachin Pandit (spandit)

Comment 3 Anand Avati 2015-01-07 14:20:50 UTC
REVIEW: http://review.gluster.org/9341 (uss: CIFS gives error while accessing .snaps directory.) posted (#2) for review on release-3.6 by Sachin Pandit (spandit)

Comment 4 Anand Avati 2015-01-07 14:21:06 UTC
REVIEW: http://review.gluster.org/9344 (features/snapview-client: handle readdir requests differently for samba.) posted (#2) for review on release-3.6 by Sachin Pandit (spandit)

Comment 5 Anand Avati 2015-01-08 09:16:06 UTC
COMMIT: http://review.gluster.org/9341 committed in release-3.6 by Raghavendra Bhat (raghavendra) 
------
commit 16ad46dbb925114ba6123ddb2b360f6230b24d89
Author: Rajesh Joseph <rjoseph>
Date:   Fri Nov 28 15:24:46 2014 +0530

    uss: CIFS gives error while accessing .snaps directory.
    
    CIFS sends getxattr call while accessing .snaps directory.
    snapview server should return ENODATA if getxattr is called
    on .snaps folder. Also flush on .snaps folder should be handled.
    
    Windows client sends and getxattr call on the parent folder
    of .snaps with a special key to get the real filename of a file.
    This is used by samba to do case insensitive check of files.
    
    Fixed few FreeBSD compilation error.
    
    bug: 1175742
    
    Change-Id: I74d5cb4419568c8ed8709ba6d1ddff0e41392204
    Signed-off-by: Rajesh Joseph <rjoseph>
    Reviewed-on: http://review.gluster.org/9211
    Reviewed-by: Raghavendra Bhat <raghavendra>
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Vijay Bellur <vbellur>
    Signed-off-by: Sachin Pandit <spandit>
    Reviewed-on: http://review.gluster.org/9341

Comment 6 Anand Avati 2015-01-08 09:41:25 UTC
COMMIT: http://review.gluster.org/9344 committed in release-3.6 by Raghavendra Bhat (raghavendra) 
------
commit 89c2cc5ddb21f337fe66629fefe7230facbf9d7e
Author: Raghavendra Bhat <raghavendra>
Date:   Fri Nov 28 18:08:53 2014 +0530

    features/snapview-client: handle readdir requests differently for samba.
    
    * For samba export, the entry point is also added to the readdir response.
    
    Change-Id: I825c017e0f16db1f1890bb56e086f36e6558a1c2
    BUG: 1175742
    Signed-off-by: Raghavendra Bhat <raghavendra>
    Reviewed-on: http://review.gluster.org/9218
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Vijay Bellur <vbellur>
    Signed-off-by: Sachin Pandit <spandit>
    Reviewed-on: http://review.gluster.org/9344

Comment 7 Raghavendra Bhat 2015-02-11 09:10:04 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.6.2, please reopen this bug report.

glusterfs-3.6.2 has been announced on the Gluster Developers mailinglist [1], packages for several distributions should already be or become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

The fix for this bug likely to be included in all future GlusterFS releases i.e. release > 3.6.2.

[1] http://thread.gmane.org/gmane.comp.file-systems.gluster.devel/5978
[2] http://news.gmane.org/gmane.comp.file-systems.gluster.user
[3] http://thread.gmane.org/gmane.comp.file-systems.gluster.devel/6137

Comment 8 Raghavendra Bhat 2015-02-11 09:10:20 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.6.2, please reopen this bug report.

glusterfs-3.6.2 has been announced on the Gluster Developers mailinglist [1], packages for several distributions should already be or become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

The fix for this bug likely to be included in all future GlusterFS releases i.e. release > 3.6.2.

[1] http://thread.gmane.org/gmane.comp.file-systems.gluster.devel/5978
[2] http://news.gmane.org/gmane.comp.file-systems.gluster.user
[3] http://thread.gmane.org/gmane.comp.file-systems.gluster.devel/6137


Note You need to log in before you can comment on or make changes to this bug.