aboutsummaryrefslogtreecommitdiffstats
path: root/module/zfs/dnode_sync.c
diff options
context:
space:
mode:
authorNed Bass <[email protected]>2015-04-10 15:17:30 -0700
committerBrian Behlendorf <[email protected]>2016-06-24 13:12:43 -0700
commit81285582b9898374e98d1d6d55ccac8340408d72 (patch)
tree9f68608b0dfd603e4565fd965d94b5f48f9b6423 /module/zfs/dnode_sync.c
parentd14fa5dba1ad0e68e803435ac48ec1ea78121699 (diff)
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 <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]>
Diffstat (limited to 'module/zfs/dnode_sync.c')
0 files changed, 0 insertions, 0 deletions