mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-25 03:37:45 +03:00
Adding ZTS test for O_APPEND
Commit 63b18e4 fixed an issue in zpl_aio_write() to make sure that
kiocb->ki_pos was updated correctly when opening a file with O_APPEND.
Adding a test to verify O_APPEND functionality with lseek can make
sure that all other distros/kernel versions also have the correct
behavior.
Also moved the threadappends_001_pos test into this append test
directory in functional ZTS directory. This way the two append tests
are together for organization purposes.
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Brian Atkinson <batkinson@lanl.gov>
Closes #13424
This commit is contained in:
@@ -41,9 +41,9 @@ scripts_zfs_tests_bin_PROGRAMS += %D%/draid
|
||||
libnvpair.la
|
||||
%C%_draid_LDADD += $(ZLIB_LIBS)
|
||||
|
||||
|
||||
EXTRA_DIST += $(addprefix %D%/,file/file_common.h)
|
||||
scripts_zfs_tests_bin_PROGRAMS += %D%/file_check %D%/file_trunc %D%/file_write %D%/largest_file %D%/randwritecomp
|
||||
scripts_zfs_tests_bin_PROGRAMS += %D%/file_append %D%/file_check %D%/file_trunc %D%/file_write %D%/largest_file %D%/randwritecomp
|
||||
%C%_file_append_SOURCES = %D%/file/file_append.c
|
||||
%C%_file_check_SOURCES = %D%/file/file_check.c
|
||||
%C%_file_trunc_SOURCES = %D%/file/file_trunc.c
|
||||
%C%_file_write_SOURCES = %D%/file/file_write.c
|
||||
|
||||
Reference in New Issue
Block a user