mirror_zfs/tests/zfs-tests/cmd
legend-hua a34f7ab332 Fix FALLOC_FL_PUNCH_HOLE use in randfree_file.c
The FALLOC_FL_PUNCH_HOLE flag was introduced in the 2.6.38
kernel.  To prevent breaking the build on older systems wrap its use
in a conditional.  When FALLOC_FL_PUNCH_HOLE isn't available
return a non-zero status and error message.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: legend-hua <liu.hua130@zte.com.cn>
Closes #5101
2016-09-17 15:20:10 -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 Fixes for issues found with cppcheck tool 2016-07-27 13:31:22 -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 OpenZFS 2605, 6980, 6902 2016-06-28 13:47:02 -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 Fix FALLOC_FL_PUNCH_HOLE use in randfree_file.c 2016-09-17 15:20:10 -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