diff options
author | Zhang Huan <zhanghuan@open-fs.com> | 2017-11-29 17:36:55 +0800 |
---|---|---|
committer | Raghavendra G <rgowdapp@redhat.com> | 2017-12-26 05:05:55 +0000 |
commit | f13023862edc868d4da87609412341aecd041ed8 (patch) | |
tree | fd008b460ff368b1c9ba6e28633fcf0beb5b1241 /xlators/storage | |
parent | 0bc22bef7f3c24663aadfb3548b348aa121e3047 (diff) |
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@open-fs.com>
Diffstat (limited to 'xlators/storage')
0 files changed, 0 insertions, 0 deletions