zfs/tests/zfs-tests
Chunwei Chen 569f5d5d05 Fix out-of-order ZIL txtype lost on hardlinked files
We should only call zil_remove_async when an object is removed. However,
in current implementation, it is called whenever TX_REMOVE is called. In
the case of hardlinked file, every unlink will generate TX_REMOVE and
causing operations to be dropped even when the object is not removed.

We fix this by only calling zil_remove_async when the file is fully
unlinked.

Reviewed-by: George Wilson <gwilson@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Prakash Surya <prakash.surya@delphix.com>
Signed-off-by: Chunwei Chen <david.chen@nutanix.com>
Closes #8769
Closes #9061
2019-09-25 11:27:50 -07:00
..
callbacks ZTS: change `$(cat)` to `$(<)` for speedup 2018-10-31 12:00:06 -05:00
cmd Use sigaction(2) instead of sigset(3) for portability 2019-04-30 20:45:17 -07:00
include ZTS: Fix mmp_interval failure 2019-09-25 11:27:47 -07:00
tests Fix out-of-order ZIL txtype lost on hardlinked files 2019-09-25 11:27:50 -07:00
Makefile.am OpenZFS 7503 - zfs-test should tail ::zfs_dbgmsg on test failure 2017-04-12 13:36:48 -07:00