Whamcloud - gitweb
LU-1453 tests: scrub interoperability issues with master 21/13021/4
authorFan Yong <fan.yong@intel.com>
Fri, 3 Oct 2014 17:27:50 +0000 (01:27 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Sun, 25 Jan 2015 01:52:58 +0000 (01:52 +0000)
commite677ff40708dae0b216df9e6316227effe134de3
tree1acc7654024656db30d62fd99d4fa30a902814cd
parentae75822728635169a1e23c5d71df3ad122dff0a3
LU-1453 tests: scrub interoperability issues with master

Since b2_7, we introduced new OSD parameter od_full_scrub_ratio
to control how to trigger OI scrub on the whole device if found
inconsistent OI mapping(s) during normal RPC services. When the
old sanity-scrub runs on (old) b2_5 client that talks with b2_7
or newer MDT, then it should properly handle such parameter.

Lustre-2.x (x <= 5) used "-n off" to disable dryrun which does
not work under Lustre-2.y (y >= 6), the test script should be
fixed as "-noff" or "--dryrun=off" or nothing by default.

Test-Parameters: alwaysuploadlogs ossjob=lustre-reviews mdsjob=lustre-reviews ossbuildno=28913 mdsbuildno=28913 testlist=sanity-scrub
Signed-off-by: Fan Yong <fan.yong@intel.com>
Change-Id: I95614f4441e219af94d5f9dfdae35fa25e38f903
Reviewed-on: http://review.whamcloud.com/13021
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Lai Siyao <lai.siyao@intel.com>
Reviewed-by: Jian Yu <jian.yu@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/tests/sanity-scrub.sh