Project

General

Profile

Actions

Tasks #46890

closed

Tasks #23844: client: break client_lock

client: add request lock support

Added by Xiubo Li over 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
% Done:

0%

Tags:
Reviewed:
Affected Versions:
Component(FS):
libcephfs
Labels (FS):
task(medium)
Pull request ID:

Description

For each request it will be protected by its own lock. And the lock order with client_lock will be:

request_lock.lock();
client_lock.lock();
..
client_lock.unlock();
request_lock.unlock();
Actions

Also available in: Atom PDF