Bug 1593078
Summary: | SAS library corruption on GlusterFS | ||
---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Raghavendra G <rgowdapp> |
Component: | distribute | Assignee: | bugs <bugs> |
Status: | CLOSED UPSTREAM | QA Contact: | |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | mainline | CC: | abhishku, bkunal, bugs, csaba, gsapienz, nravinas, rhinduja, rhs-bugs, storage-qa-internal |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | 1581306 | Environment: | |
Last Closed: | 2020-03-12 12:32:38 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: | |||
Bug Blocks: | 1581306 |
Comment 1
Raghavendra G
2018-06-20 03:02:40 UTC
(In reply to Raghavendra G from comment #24) > (In reply to Csaba Henk from comment #23) > > The other work-around (if the hypothesis is true) is to turn on > cluster.lookup-optimize to true. When lookup-optimize is turned on > dht-lookup doesn't resort to lookup-everywhere on not finding src on > src-hashed. Instead it just conveys a failure to application. Since lookup > won't reach src-cached, it won't find the hard-link. Since patch [1] We've made hashed-subvol as the subvol to take locks during rename. This means presence of entrylks on hashed-subvol on the basename of src/dst of rename indicates a rename in progress. On observing locks, dht_lookup can, * acquire entrylk on parent inode with basename * Do the lookup * unlock entrylk * unwind the lookup This will help lookup to synchronize with rename and hence to preserve the atomicity of rename. Note that this algorithm works even when first lookup fails with ENOENT. Also, the cost of synchronization is isolated to the lookups happening only during rename. Lookups happening outside rename window won't suffer the cost of synchronization. This will be a code change and I'll be submitting a patch to do this. [1] https://review.gluster.org/19547/ REVIEW: https://review.gluster.org/21123 (performance/write-behind: remove the request from wip queue in wb_fulfill_request) posted (#1) for review on master by Raghavendra G REVISION POSTED: https://review.gluster.org/21123 (performance/write-behind: remove the request from wip queue in wb_fulfill_request) posted (#2) for review on master by Raghavendra G Above patch is merged, but that seems to refer to different issue. Hence moving it back to NEW. Please update with proper status if worked on. This bug is moved to https://github.com/gluster/glusterfs/issues/902, and will be tracked there from now on. Visit GitHub issues URL for further details |