Whamcloud - gitweb
LU-10978 utils: preserve lustre_rsync state 46/32246/2
authorJohn L. Hammond <john.hammond@intel.com>
Wed, 2 May 2018 14:09:05 +0000 (09:09 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 17 May 2018 02:31:28 +0000 (02:31 +0000)
commit75c0f9c701a7a5f1e9caeee1a6cd7164e6635dfb
treea7544a71c3b67ea116af5a98acfd035ffa59ab4a
parent670e8c0064d1963aa1928cc5b44d9673de1ed964
LU-10978 utils: preserve lustre_rsync state

In lustre_rsync, if debugging is enabled then we zero-out info and ext
in each iteration of the main loop of lr_replicate(). This may prevent
the consumed changelog entries from being cleared at the end of
lr_replicate().

Signed-off-by: John L. Hammond <john.hammond@intel.com>
Change-Id: Ibd089524ca6cd6f488fc3558882cc431fdf65de7
Reviewed-on: https://review.whamcloud.com/32246
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Jian Yu <jian.yu@intel.com>
Reviewed-by: James Nunez <james.a.nunez@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/utils/lustre_rsync.c