Project

General

Profile

Feature #7619

objecter: replace client_lock with fine grained read-write locks

Added by Yehuda Sadeh almost 6 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
-
Target version:
% Done:

0%

Source:
other
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Associated revisions

Revision 9e6aedf9 (diff)
Added by Yehuda Sadeh over 5 years ago

objecter: a major refactoring

Fixes: #7619

Removed the client_lock (that used to pass in as a param) and replaced
it with a read-write lock (completely controlled by the objecter). Also
added a per-session read-write lock. Adapt code to use the new locking
scheme, removed locking where not needed. Replaced various counters to
atomics instead of grabbing the lock for updates. Moved ops to live
under the session.

Signed-off-by: Yehuda Sadeh <>
Signed-off-by: Sage Weil <>

History

#1 Updated by Ian Colle almost 6 years ago

  • Status changed from New to In Progress
  • Assignee set to Yehuda Sadeh
  • Priority changed from Normal to High

#2 Updated by Ian Colle over 5 years ago

  • Tracker changed from Bug to Feature
  • Target version set to 0.79

#3 Updated by Ian Colle over 5 years ago

  • Target version changed from 0.79 to 0.80rc

#4 Updated by Samuel Just over 5 years ago

  • Target version changed from 0.80rc to 0.80

#5 Updated by Samuel Just over 5 years ago

  • Target version changed from 0.80 to v0.81

#6 Updated by Ian Colle over 5 years ago

  • Target version changed from v0.81 to 0.82

#7 Updated by Samuel Just over 5 years ago

  • Target version changed from 0.82 to 0.83

#8 Updated by Sage Weil over 5 years ago

  • Target version changed from 0.83 to 0.83 cont.

#9 Updated by Neil Levine over 5 years ago

  • Target version changed from 0.83 cont. to 0.84

#10 Updated by Neil Levine over 5 years ago

  • Target version changed from 0.84 to 0.85

#11 Updated by Samuel Just over 5 years ago

  • Target version changed from 0.85 to 0.85 cont.

#12 Updated by Ian Colle over 5 years ago

  • Target version changed from 0.85 cont. to 0.86

#13 Updated by Yehuda Sadeh over 5 years ago

  • Status changed from In Progress to Resolved

Also available in: Atom PDF