mirror of
https://github.com/ceph/ceph
synced 2025-01-29 22:43:40 +00:00
Merge pull request #7655 from gregsfortytwo/wip-metarequest-lock
client: removed unused Mutex from MetaRequest Reviewed-by: Yan, Zheng <zyan@redhat.com>
This commit is contained in:
commit
0284090464
@ -73,7 +73,6 @@ public:
|
||||
xlist<MetaRequest*>::item unsafe_item;
|
||||
xlist<MetaRequest*>::item unsafe_dir_item;
|
||||
xlist<MetaRequest*>::item unsafe_target_item;
|
||||
Mutex lock; //for get/set sync
|
||||
|
||||
Cond *caller_cond; // who to take up
|
||||
Cond *dispatch_cond; // who to kick back
|
||||
@ -97,7 +96,6 @@ public:
|
||||
readdir_offset(0), readdir_end(false), readdir_num(0),
|
||||
got_unsafe(false), item(this), unsafe_item(this),
|
||||
unsafe_dir_item(this), unsafe_target_item(this),
|
||||
lock("MetaRequest lock"),
|
||||
caller_cond(0), dispatch_cond(0) {
|
||||
memset(&head, 0, sizeof(ceph_mds_request_head));
|
||||
head.op = op;
|
||||
|
Loading…
Reference in New Issue
Block a user