mirror_zfs/tests/zfs-tests
Chunwei Chen ace1eae84c Add support for O_TMPFILE
Linux 3.11 add O_TMPFILE to open(2), which allow creating an unlinked file on
supported filesystem. It's basically doing open(2) and unlink(2) atomically.

The filesystem support is added through i_op->tmpfile. We basically copy the
create operation except we get rid of the link and name related stuff and add
the new node to unlinked set.

We also add support for linkat(2) to link tmpfile. However, since all previous
file operation will skip ZIL, we force a txg_wait_synced to make sure we are
sync safe.

Signed-off-by: Chunwei Chen <david.chen@osnexus.com>
2016-11-04 10:46:40 -07:00
..
cmd Fix coverity defects: CID 49339, 153393 2016-10-18 10:31:57 -07:00
include Skip async_destroy_001_pos on 32-bit systems 2016-11-02 12:14:45 -07:00
tests Add support for O_TMPFILE 2016-11-04 10:46:40 -07:00
Makefile.am Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00