]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
tools/cephfs: scan the links to set the proper dnfirst
authorXiubo Li <xiubli@redhat.com>
Wed, 8 Apr 2020 09:35:41 +0000 (05:35 -0400)
committerNathan Cutler <ncutler@suse.com>
Tue, 28 Apr 2020 17:38:01 +0000 (19:38 +0200)
commit38107f2c20fdb19c1ccadb36d9d4b0110dfb88a7
treea5684a5b2475bd1c0603de7d8d04fd6f0dfcecb6
parent82e3d4e27d3ffa2ec264c3bac9bd0d29655d2da0
tools/cephfs: scan the links to set the proper dnfirst

The ceph code will set the dnfirst=2 as default instead of CEPH_NOSNAP.
And this will avoid the MDS daemon assert crash:

ceph_assert(in->first <= straydn->first)

Fixes: https://tracker.ceph.com/issues/44380
Signed-off-by: Xiubo Li <xiubli@redhat.com>
(cherry picked from commit b8d34cdbdc02488c9c62193a507882ec6991362a)
qa/tasks/cephfs/test_data_scan.py