Two Finishers should not be considered equivalent
for lockdep purposes: for example in mgr we have
our in-mgr Finisher, and then any finishers that
might be in libraries called by modules.
Signed-off-by: John Spray <john.spray@redhat.com>
/// Construct a named Finisher that logs its queue length.
Finisher(CephContext *cct_, string name, string tn) :
- cct(cct_), finisher_lock("Finisher::finisher_lock"),
+ cct(cct_), finisher_lock("Finisher::" + name),
finisher_stop(false), finisher_running(false),
thread_name(tn), logger(0),
finisher_thread(this) {