Whamcloud - gitweb
LU-6483 utils: add setxattr/smallwrite for mdsrate 36/14536/6
authorLai Siyao <lai.siyao@intel.com>
Wed, 22 Apr 2015 13:54:23 +0000 (21:54 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 24 Jun 2015 02:23:14 +0000 (02:23 +0000)
commite1c0c460cf68bee0e46610c4f4f44eae57452fb5
treed970fed6124aa3e15588f5ce8386623222c1f1dc
parentcd65aabf75767b62da042b173592d60f7d548433
LU-6483 utils: add setxattr/smallwrite for mdsrate

Add --setxattr option for mdsrate, the XATTR value length is
4000.

--setxattr can be set along with --create or --mknod, which will
setxattr after file creation, and it can also be set alone which
will setxattr on existed files.

Add --smallwrite option for mdsrate --create, which will write
4000 bytes after creation, this is used to compare with
data-on-mds.

Signed-off-by: Lai Siyao <lai.siyao@intel.com>
Change-Id: I47b13c619a17d5764c85feee8d46c2b87eab33f6
Reviewed-on: http://review.whamcloud.com/14536
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Jian Yu <jian.yu@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/tests/mpi/mdsrate.c