Whamcloud - gitweb
LU-6556 obdclass: re-allow catalog to wrap around 12/14912/28
authorBruno Faccini <bruno.faccini@intel.com>
Thu, 21 May 2015 18:02:50 +0000 (20:02 +0200)
committerOleg Drokin <oleg.drokin@intel.com>
Sat, 17 Oct 2015 23:32:20 +0000 (23:32 +0000)
commit4691290f6d39bffaa3e463697fbc3ac351015e76
treea1a0e30ac05a498a9a773c6f9b2b908e14765486
parentef63c034b437d47cd10fe7ee94ed614ac1359f44
LU-6556 obdclass: re-allow catalog to wrap around

Since patch for LU-4528 a LLOG catalog is no longer allowed to
wrap around. This is a regression and it can also cause catalog
corruption (grow behind max-size/records) upon upgrading if
catalog has already wrap around.

This patch reintroduces catalog wrap around capability, and also
introduces a new test to extensively check it.

Signed-off-by: Bruno Faccini <bruno.faccini@intel.com>
Change-Id: Ife9a452199895ed9d9f43eb9fdeeac15322e272a
Reviewed-on: http://review.whamcloud.com/14912
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: wangdi <di.wang@intel.com>
Reviewed-by: Mike Pershin <mike.pershin@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/include/lustre/lustre_idl.h
lustre/include/lustre_log.h
lustre/include/obd_support.h
lustre/obdclass/llog_cat.c
lustre/obdclass/llog_osd.c
lustre/obdclass/llog_test.c