[Bugs] [Bug 1519598] Reduce lock contention on protocol client manipulating fd

bugzilla at redhat.com bugzilla at redhat.com
Tue Dec 26 05:06:27 UTC 2017


https://bugzilla.redhat.com/show_bug.cgi?id=1519598



--- Comment #3 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/18907 committed in master by \"Zhang Huan\"
<zhanghuan at open-fs.com> with a commit message- protocol/client: reduce lock
contention

Current use of a per-client mutex to protect fdctx introduces lock
contentions when there are dozens of file operations active.

Use finer grain spinlock to reduce contention, and put retrieving
fdctx out of lock.

Change-Id: Iea3e2eb481e76a5d73a582ba81529180c5b88248
BUG: 1519598
Signed-off-by: Zhang Huan <zhanghuan at open-fs.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list