Whamcloud - gitweb
LU-4167 tests: correct version check to enable ff_convert 56/11556/6
authorEmoly Liu <emoly.liu@intel.com>
Sat, 30 Aug 2014 21:12:48 +0000 (05:12 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 4 Nov 2014 18:00:34 +0000 (18:00 +0000)
commitfa005ecb950e0dfe49447a0813d8f6fc803d2174
tree819c12092a97e824aa53aac14ac9dd18bfc0965e
parente8f3345b595cad78e64204582c478915f538b0cc
LU-4167 tests: correct version check to enable ff_convert

In conf-sanity.sh test_32d, filter fid convertion can be made only
when both of the following conditions are satisfied:
- ost device img version < 2.3.64 (struct filter_fid_old has been
introduced since 2.3.64)
- ost server version >= 2.5

Also, this patch fix the ofd_iocontrol() message to print the ioctl()
CMD argument as hex instead of a signed integer.

Test-Parameters: testlist=conf-sanity envdefinitions=SLOW=yes,ONLY=32 ossjob=lustre-b2_4 mdsjob=lustre-b2_4 ossbuildno=73 mdsbuildno=73  ossdistro=el6 mdsdistro=el6
Signed-off-by: Emoly Liu <emoly.liu@intel.com>
Change-Id: I4045fe6b7504a3ed30436da5a1319c09331fc261
Reviewed-on: http://review.whamcloud.com/11556
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Fan Yong <fan.yong@intel.com>
Reviewed-by: Jian Yu <jian.yu@intel.com>
lustre/ofd/ofd_obd.c
lustre/tests/conf-sanity.sh