Whamcloud - gitweb
LU-14731 mdd: clear orphans changelog entries 01/43901/4
authorJohn L. Hammond <jhammond@whamcloud.com>
Wed, 2 Jun 2021 17:05:01 +0000 (12:05 -0500)
committerOleg Drokin <green@whamcloud.com>
Mon, 21 Jun 2021 22:17:53 +0000 (22:17 +0000)
commitc7d8fe31064990d7053436ccd720c531bc78a2dc
tree9224cfc7e35245e47e3c77d7512a95abf530ce3b
parent644a14196810f0c6b663957720414e042d2ae965
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.

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