]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: restart on -EBLACKLISTED 2340/head
authorJohn Spray <john.spray@redhat.com>
Wed, 27 Aug 2014 21:32:12 +0000 (22:32 +0100)
committerJohn Spray <john.spray@redhat.com>
Wed, 27 Aug 2014 21:37:17 +0000 (22:37 +0100)
commit1434e5c8c7d4c2347cffed83050870a24e0e047d
treef98e2d79e1b38670272aaa8dc0af3ec06bb6bc14
parent9ebc8ee783856cdc9d314ad9062199a8ce3351f8
mds: restart on -EBLACKLISTED

Previously these cases would (hopefully) hit an
assert(r==0) in the various completion contexts,
and the MDS would "crash" from the user's point of view.

With the introduction of MDSIOContext, we have a single
place to filter all RADOS op responses, which also has
a handle to the global MDS instance.  Check result values
for -EBLACKLISTED and call MDS::respawn() in response.

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