Bug 1138646
Summary: | Normal operation generating error logs from marker.so | ||
---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Saurabh <saujain> |
Component: | quota | Assignee: | Vijaikumar Mallikarjuna <vmallika> |
Status: | CLOSED DUPLICATE | QA Contact: | storage-qa-internal <storage-qa-internal> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | rhgs-3.0 | CC: | byarlaga, jdarcy, mzywusko, rgowdapp, rhs-bugs, smohan, ssamanta, storage-qa-internal, vbellur |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-02-06 04:47:30 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: | 1176393, 1189792, 1218936 | ||
Bug Blocks: | 1173086, 1175116 |
Description
Saurabh
2014-09-05 11:11:10 UTC
Issue is even when rebalance has completed and we are just executing "ls -R" from the mount-point RCA: ==== In marker_readdirp_cbk, we try to construct path from entry->inode. However, entry->inode might be a new-inode not linked yet. In this case, inode_path fails with the error msg shown in logs. To fix this completely, we should be building ancestry for the entry->inode. However, the inode on which readdirp is happening (the parent directory) itself might've been looked up through nameless lookup and hence ancestry might not be present in inode-table. Impact: ======= Accounting of all of the parent directories might be incorrect as mq_xattr_state basically does healing of accounting that might be gone bad. Healing is also done during lookup, but in case of NFS we might never get a named-lookup on the dentry. FIX: ==== The complete fix should construct the ancestry for each of the dentries. Ancestry building code is already present in quota-enforcement xlator (quota.c). That needs to be borrowed into marker. *** Bug 1173086 has been marked as a duplicate of this bug. *** *** Bug 1175116 has been marked as a duplicate of this bug. *** Bug# 1189792 and Bug# 1138646 are same. Bug# 1189792 has customer escalation attached, so closing bug# 1138646 *** This bug has been marked as a duplicate of bug 1189792 *** |