[Bugs] [Bug 1518582] Reduce lock contention on fdtable lookup
bugzilla at redhat.com
bugzilla at redhat.com
Thu Nov 30 12:35:10 UTC 2017
https://bugzilla.redhat.com/show_bug.cgi?id=1518582
--- Comment #2 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/18887 committed in master by \"Zhang Huan\"
<zhanghuan at open-fs.com> with a commit message- libglusterfs: use rwlock for
fdtable
To resolve a fd from client requests, need to take a mutex lock for the
fdtable to do the lookup. When a client is busy doing read and write,
the mutex lock could introduce contention. Therefore, use rwlock instead
of mutex to reduce the contention.
Change-Id: Ic833aed738a178a7ea1abafed7eb13814989d28c
BUG: 1518582
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