Bug 1530341 - [snapshot cifs]ls on .snaps directory is throwing input/output error over cifs mount
Summary: [snapshot cifs]ls on .snaps directory is throwing input/output error over cif...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: snapshot
Version: 3.10
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: bugs@gluster.org
QA Contact:
URL:
Whiteboard:
Depends On: 1447266
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-01-02 16:28 UTC by Shyamsundar
Modified: 2018-01-08 16:03 UTC (History)
9 users (show)

Fixed In Version: glusterfs-3.10.9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1447266
Environment:
Last Closed: 2018-01-08 16:03:38 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Shyamsundar 2018-01-02 16:28:06 UTC
+++ This bug was initially created as a clone of Bug #1447266 +++

+++ This bug was initially created as a clone of Bug #1441280 +++

Description of problem:
ls on .snaps directory is throwing input/output error over cifs mount.
Listing works on fuse mount and windows mount.

How reproducible:
Always

Steps to Reproduce:
1.Enable uss & VSS plugins
2.Mount cifs on a samba ctdb gluster cluster
3.cd to the mount point
4. Do ll or ls over the cifs mount

Actual results:
ls: reading directory .snaps/: Input/output error

Expected results:
Should list out contents

Comment 1 Worker Ant 2018-01-02 16:30:11 UTC
REVIEW: https://review.gluster.org/18792 (gfapi: fix handling of dot and double dot in path) posted (#2) for review on release-3.10 by Shyamsundar Ranganathan

Comment 2 Worker Ant 2018-01-03 15:19:45 UTC
COMMIT: https://review.gluster.org/18792 committed in release-3.10 by \"Taehwa Lee\" <alghost.lee> with a commit message- gfapi: fix handling of dot and double dot in path

This patch is to handle "." and ".." in file path. Which means
this special dentry names will be resolved before sending fops
on the path.

Change-Id: I5e92f6d1ad1412bf432eb2488e53fb7731edb013
BUG: 1530341
Signed-off-by: Mohammed Rafi KC <rkavunga>
Reviewed-on: https://review.gluster.org/17177
Smoke: Gluster Build System <jenkins.org>
Reviewed-by: Niels de Vos <ndevos>
CentOS-regression: Gluster Build System <jenkins.org>
NetBSD-regression: NetBSD Build System <jenkins.org>
Reviewed-by: Jeff Darcy <jeff.us>
(cherry picked from commit 269e2ccf45ddc662d8373eb887ae6cef96e2ef37)

Comment 3 Shyamsundar 2018-01-08 16:03:38 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.10.9, please open a new bug report.

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

[1] http://lists.gluster.org/pipermail/announce/2018-January/000088.html
[2] https://www.gluster.org/pipermail/gluster-users/


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