Whamcloud - gitweb
LU-3624 utils: fix lctl test_mkdir for use in mds-survey 01/7101/2
authorGregoire Pichon <gregoire.pichon@bull.net>
Wed, 24 Jul 2013 14:42:29 +0000 (16:42 +0200)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 10 Sep 2013 16:46:09 +0000 (16:46 +0000)
commit5ae2c575ff234c7b1189d2f71d8e5a73509591f3
treeaca37c6b5f3e096dd71e3fa4251506701dd81405
parent26ede4e3d5bf8ec484032435b0bc2efe5ef47f77
LU-3624 utils: fix lctl test_mkdir for use in mds-survey

The mds-survey script uses the 'lctl test_mkdir' command to create
directories for metadata tests. This currently raises the following
error message:
"...stre-2.4.0/lustre/include/lustre/lustre_idl.h:683:ostid_set_id())
Bad 18446744073709551615 to set 0:0"

This patch fixes the jt_obd_md_common() routine to avoid this error
to be generated.

Signed-off-by: Gregoire Pichon <gregoire.pichon@bull.net>
Change-Id: Idccc13166d6160bfb5f9ac6a79911cc27bfe77a2
Reviewed-on: http://review.whamcloud.com/7101
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Bobbie Lind <bobbie.j.lind@intel.com>
Reviewed-by: Lai Siyao <lai.siyao@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
lustre/utils/obd.c