]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: fix export cancel during IMPORT_PREPPING
authorSage Weil <sage@newdream.net>
Fri, 15 Apr 2011 20:53:54 +0000 (13:53 -0700)
committerSage Weil <sage@newdream.net>
Fri, 15 Apr 2011 23:32:55 +0000 (16:32 -0700)
commitd94c69e5805967afe0a950ea5199efd6b0a37d29
tree95001bde5799c78d4b31bd4079c0900352b40c23
parent07098fa5a96b9c72b30d8b8be9399a37c50c94d8
mds: fix export cancel during IMPORT_PREPPING

If we are in PREPPING, we need to drop the stickydirs() on the inodes, and
not the pins on the dirfrags.  Do this in the helper so we can keep the
call chains simple.

Also deal with the case where we get a cancel in PREPPED state.

Signed-off-by: Sage Weil <sage@newdream.net>
src/mds/Migrator.cc