]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: Fix Dumper::undump (missing lock)
authorJohn Spray <john.spray@inktank.com>
Tue, 25 Mar 2014 13:31:24 +0000 (13:31 +0000)
committerJohn Spray <john.spray@inktank.com>
Sun, 18 May 2014 10:21:29 +0000 (11:21 +0100)
commite7f4b9e22f215d7abed5888b90bd15020b2320bd
tree35f9c0365d470a8364f0757209da0798c48fbbd5
parent96720b6dcb6c4a8e555df84489d32f4de42c5098
mds: Fix Dumper::undump (missing lock)

Two problems were causing undump to fail:
* Objecter lock was not being taken around call to
  .write() and .write_full() calls, causing assertion.
* Once that is fixed, it is necessary to use a separate,
  local lock to protect the completion condition for
  write operations

Signed-off-by: John Spray <john.spray@inktank.com>
src/mds/Dumper.cc