Bug 1187526
Summary: | Disperse volume mounted through NFS doesn't list any files/directories | ||
---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Xavi Hernandez <jahernan> |
Component: | disperse | Assignee: | Xavi Hernandez <jahernan> |
Status: | CLOSED NOTABUG | QA Contact: | |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 3.6.1 | CC: | bugs, byarlaga, gluster-bugs, iesool, jahernan, madaozhou, rabhat |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | glusterfs-3.6.3 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | 1187474 | Environment: | |
Last Closed: | 2015-08-07 11:32:31 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1187474 | ||
Bug Blocks: | 1184460 |
Description
Xavi Hernandez
2015-01-30 10:58:59 UTC
REVIEW: http://review.gluster.org/9596 (ec: Special handling of anonymous fd) posted (#1) for review on release-3.6 by Xavier Hernandez (xhernandez) REVIEW: http://review.gluster.org/9596 (ec: Special handling of anonymous fd) posted (#2) for review on release-3.6 by Xavier Hernandez (xhernandez) (In reply to Anand Avati from comment #2) > REVIEW: http://review.gluster.org/9596 (ec: Special handling of anonymous > fd) posted (#2) for review on release-3.6 by Xavier Hernandez > (xhernandez) I tried this patch on release-3.6 and master, but can not write date in NFS client.Like this: cp: failed to close ‘/mnt/glusterfs/xlators/cluster/ec/src/.deps/ec-combine.Plo’: Unknown error 527 cp: failed to close ‘/mnt/glusterfs/xlators/cluster/ec/src/.deps/ec-helpers.Plo’: Unknown error 527 cp: failed to close ‘/mnt/glusterfs/xlators/cluster/ec/src/ec-method.c’: Unknown error 527 cp: failed to close ‘/mnt/glusterfs/xlators/cluster/ec/src/ec-data.h’: Unknown error 527 (In reply to jiademing from comment #3) > (In reply to Anand Avati from comment #2) > > REVIEW: http://review.gluster.org/9596 (ec: Special handling of anonymous > > fd) posted (#2) for review on release-3.6 by Xavier Hernandez > > (xhernandez) > > I tried this patch on release-3.6 and master, but can not write date in NFS > client.Like this: > > cp: failed to close > ‘/mnt/glusterfs/xlators/cluster/ec/src/.deps/ec-combine.Plo’: Unknown error > 527 > cp: failed to close > ‘/mnt/glusterfs/xlators/cluster/ec/src/.deps/ec-helpers.Plo’: Unknown error > 527 > cp: failed to close ‘/mnt/glusterfs/xlators/cluster/ec/src/ec-method.c’: > Unknown error 527 > cp: failed to close ‘/mnt/glusterfs/xlators/cluster/ec/src/ec-data.h’: > Unknown error 527 Sorry, this patch on release-3.6 is ok. failed on master. COMMIT: http://review.gluster.org/9596 committed in release-3.6 by Raghavendra Bhat (raghavendra) ------ commit 3d76e803e7c7197c49bfcb7fdba9cd8f0a6cb542 Author: Xavier Hernandez <xhernandez> Date: Fri Jan 30 11:47:11 2015 +0100 ec: Special handling of anonymous fd Anonymous file descriptors need to be handled specially because they can be used in some non standard ways (i.e. an anonymous fd can be used without having been opened). This caused NFS to fail on some operations because ec always expected to have a previous successful opendir call (from patch http://review.gluster.org/9098/). This patch treats all anonymous fd as opened on all subvolumes. This is a backport of http://review.gluster.org/9513/ Change-Id: I09dbbce2ffc1ae3a5bcbb328bed55b84f4f0b9f8 BUG: 1187526 Signed-off-by: Xavier Hernandez <xhernandez> Reviewed-on: http://review.gluster.org/9596 Reviewed-by: Pranith Kumar Karampuri <pkarampu> Tested-by: Pranith Kumar Karampuri <pkarampu> Reviewed-by: Dan Lambright <dlambrig> Tested-by: Gluster Build System <jenkins.com> Reviewed-by: Raghavendra Bhat <raghavendra> *** Bug 1208819 has been marked as a duplicate of this bug. *** |