HomeFreeBSD

Adding ZTS test for O_APPEND

Description

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

Details

Provenance
Brian Atkinson <batkinson@lanl.gov>Authored on May 11 2022, 3:38 PM
GitHub <noreply@github.com>Committed on May 11 2022, 3:38 PM
Parents
rG3ed04d66aa44: Remove constrained path on clean
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rGf567d67fdae5: Adding ZTS test for O_APPEND (authored by Brian Atkinson <batkinson@lanl.gov>).May 11 2022, 3:38 PM