mirror_zfs/tests/zfs-tests
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
..
cmd Fix FALLOC_FL_PUNCH_HOLE use in randfree_file.c 2016-09-17 15:20:10 -07:00
include OpenZFS - Performance regression suite for zfstest 2016-09-08 16:18:28 -07:00
tests OpenZFS 7262 - remove seq from zfs_receive_010.ksh 2016-09-12 15:46:19 -07:00
Makefile.am Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00