Whamcloud - gitweb
LU-14731 mdd: clear orphans changelog entries
authorJohn L. Hammond <jhammond@whamcloud.com>
Wed, 2 Jun 2021 17:05:01 +0000 (12:05 -0500)
committerAndreas Dilger <adilger@whamcloud.com>
Mon, 19 Jul 2021 21:36:53 +0000 (21:36 +0000)
commit2d5a859a14ce9c7721f56ec7f2ebb77bda9da27e
tree3118a2ebf04c879c6859f0b0d1b3ed31c6589561
parent2c498e83df8a231e7222a69e9f3dac981aa5dfc5
LU-14731 mdd: clear orphans changelog entries

In mdd_changelog_llog_init(), adjust the orphan changelog index logic
to account for the case when no users are registered. Add sanity
test_160n() to verify this.

Lustre-change: https://review.whamcloud.com/43901
Lustre-commit: c7d8fe31064990d7053436ccd720c531bc78a2dc

Signed-off-by: John L. Hammond <jhammond@whamcloud.com>
Change-Id: I03b0c1002a0e16f26af8ec23bf06c9a07dec858a
Reviewed-by: Alexander Boyko <alexander.boyko@hpe.com>
Reviewed-by: Mike Pershin <mpershin@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/44282
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/mdd/mdd_device.c
lustre/tests/sanity.sh
lustre/tests/test-framework.sh