]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: use uniform write handler for PQ 25524/head
authorPatrick Donnelly <pdonnell@redhat.com>
Tue, 27 Nov 2018 00:17:23 +0000 (16:17 -0800)
committerNathan Cutler <ncutler@suse.com>
Wed, 12 Dec 2018 23:37:20 +0000 (00:37 +0100)
commit321597e941fc4d1b5200a3ea3226a0f928349ff4
tree47708bc1774085e5f3ea2166438a389fa9be2e8a
parent7423dbc6b8e0eb789d0ce3398351374b93d2f4cc
mds: use uniform write handler for PQ

MDS would go damaged after blacklisting the MDS caused the PQ to see a write
error. Instead, just respawn and/or do usual write error handling (default
r/o).

Fixes: https://tracker.ceph.com/issues/37394
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 2fb665194f61914711454c2084eb1539bd3588b5)

Conflicts:
    src/msd/MDSRank.cc
- use Mutex::Locker instead of std::lock_guard
src/mds/MDSRank.cc