]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: fix handling missing mydir dirfrag 4715/head
authorJohn Spray <john.spray@redhat.com>
Mon, 18 May 2015 15:15:07 +0000 (16:15 +0100)
committerJohn Spray <john.spray@redhat.com>
Mon, 18 May 2015 15:15:07 +0000 (16:15 +0100)
commit9ed491989a95b58ca583d7caf1cdc5a6ebd5f2a6
tree3eb9ae56426c6f19c43799f6a6c933d91d8fcdee
parente63c44b253027b9fa5f6566a089ec18b39e16b45
mds: fix handling missing mydir dirfrag

This was broken by 96992466 aka "mds: handle missing mydir dirfrag"

The previous code was mistakenly treating a not-yet-loaded
dirfrag as a non-existent dirfrag, resulting in
inconsistent fragstats even when no objects had
actually been lost.

Fixes: #11641
Signed-off-by: John Spray <john.spray@redhat.com>
src/mds/MDCache.cc