mirror_zfs/tests/zfs-tests/cmd
Ned Bass 81285582b9 xattrtest: allow verify with -R and other improvements
- Use a fixed buffer of random bytes when random xattr values are in
  effect.  This eliminates the potential performance bottleneck of
  reading from /dev/urandom for each file. This also allows us to
  verify xattrs in random value mode.

- Show the rate of operations per second in addition to elapsed time
  for each phase of the test. This may be useful for benchmarking.

- Set default xattr size to 6 so that verify doesn't fail if user
  doesn't specify a size. We need at least six bytes to store the
  leading "size=X" string that is used for verification.

- Allow user to execute just one phase of the test. Acceptable
  values for -o and their meanings are:

   1 - run the create phase
   2 - run the setxattr phase
   3 - run the getxattr phase
   4 - run the unlink phase

Signed-off-by: Ned Bass <bass6@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
2016-06-24 13:12:43 -07:00
..
chg_usr_exec Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
devname2devid Only build devname2devid when libudev headers are available 2016-03-31 14:54:47 -07:00
dir_rd_update Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
file_check Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
file_trunc Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
file_write Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
largest_file Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
mkbusy Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
mkfile Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
mkfiles Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
mktree Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
mmap_exec Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
mmapwrite Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
randfree_file Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
readmmap Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
rename_dir Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
rm_lnkcnt_zero_file Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
threadsappend Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
xattrtest xattrtest: allow verify with -R and other improvements 2016-06-24 13:12:43 -07:00
file_common.h Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
Makefile.am Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00