Bug 1161903
Summary: | Different client can not execute "for((i=0;i<1000;i++));do ls -al;done" in a same directory at the sametime | |||
---|---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | jiademing.dd <iesool> | |
Component: | disperse | Assignee: | Xavi Hernandez <jahernan> | |
Status: | CLOSED DEFERRED | QA Contact: | ||
Severity: | high | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 3.6.0 | CC: | bugs, gluster-bugs, iesool, jahernan, pkarampu | |
Target Milestone: | --- | Keywords: | Triaged | |
Target Release: | --- | |||
Hardware: | x86_64 | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1165041 (view as bug list) | Environment: | ||
Last Closed: | 2015-08-04 04:10:34 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: |
Description
jiademing.dd
2014-11-09 05:55:29 UTC
Have you tried this also on other types of volumes? Is this only affecting a disperse volume? Yes, only affecting a disperse volume, I tried to turn off the gf_timer_call_after() wthen ec_unlock in ec_common.c's ec_unlock_timer_add(), then can execute "for((i=0;i<1000;i++));do ls -al;done" in different client at the same time. In my opinion, the af_timer_call_after in ec_unlock is optimize for one client, but maybe it is bad for many clients. (In reply to Niels de Vos from comment #1) > Have you tried this also on other types of volumes? Is this only affecting a > disperse volume? Yes, this is a method to minimize lock/unlock calls. I'll try to find a good solution to minimize the multiple client problem. yes, I will pay close attention to this problem, thanks. (In reply to Xavier Hernandez from comment #3) > Yes, this is a method to minimize lock/unlock calls. I'll try to find a good > solution to minimize the multiple client problem. http://review.gluster.org/10852 fixed this bug in 3.7.x releases. This patch can't be backported to 3.6.0. Closing the bug. |