Whamcloud - gitweb
LU-4167 tests: correct version check to enable ff_convert 74/11574/2
authorEmoly Liu <emoly.liu@intel.com>
Mon, 25 Aug 2014 05:53:04 +0000 (13:53 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 29 Aug 2014 02:30:08 +0000 (02:30 +0000)
commit7de60382c9243796e1e80d4a8e39ef66c3ec57d5
tree32694559dc46581d5ec21e91fb03ed08af1bc3b6
parent211241377b543abb456b740dfda95b381798cbff
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:
- client 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: I43b2fc9b62b84b37f6fc8245ede584547a53c878
Reviewed-on: http://review.whamcloud.com/11574
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Jian Yu <jian.yu@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/ofd/ofd_obd.c
lustre/tests/conf-sanity.sh