]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: tolerate (with warning) replayed op with bad prealloc_inos
authorSage Weil <sage@newdream.net>
Fri, 14 Jan 2011 06:08:40 +0000 (22:08 -0800)
committerSage Weil <sage@newdream.net>
Fri, 14 Jan 2011 06:08:40 +0000 (22:08 -0800)
commit6d0dc4bf64b2792d6fc007268c5a42ae4e2e583c
treeff23813805ad583c2d84e351789156b13fbd879d
parent86337127c0c91d8e96503c040c3233422d385f55
mds: tolerate (with warning) replayed op with bad prealloc_inos

This comes up when an ESesssion close is followed by an EMetaBlob that
uses a prealloc_ino.  That isn't supposed to happen (it's probably a corner
case with session timeout vs a request waiting on locks that didn't
get killed/canceled?).  But tolerate it during replay just the same.

Works around #708.

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