Whamcloud - gitweb
LU-14663 mdc: start changelog thread upon first access 13/43513/5
authorAlex Zhuravlev <bzzz@whamcloud.com>
Sun, 2 May 2021 09:16:01 +0000 (12:16 +0300)
committerOleg Drokin <green@whamcloud.com>
Wed, 2 Jun 2021 17:48:46 +0000 (17:48 +0000)
commit72a08ea547dceb542d554e9057e0ed257138bd48
treebd8c78cfb7724db952bfb8054d91cb694c7cad14
parent2ffb8f5726d27e7c2324a3e833491231fdaa3306
LU-14663 mdc: start changelog thread upon first access

thus leaving the caller a chance to set CHANGELOG_FLAG_FOLLOW,
otherwise the thread (started from open()) can reach the end
of the changelog and exit early.

Signed-off-by: Alex Zhuravlev <bzzz@whamcloud.com>
Change-Id: Ic14b6c991010bbe5197b5a8b0fedf0f4007e98c1
Reviewed-on: https://review.whamcloud.com/43513
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Alexander Boyko <alexander.boyko@hpe.com>
Reviewed-by: John L. Hammond <jhammond@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/mdc/mdc_changelog.c