zfs/tests/zfs-tests
Chunwei Chen 8e556c5ebc 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-08-13 21:21:27 -06:00
..
callbacks ZTS: change `$(cat)` to `$(<)` for speedup 2018-10-31 12:00:06 -05:00
cmd Revert "Develop tests for issues #5866 and #8858" 2019-07-29 12:46:56 -07:00
include Introduce getting holds and listing bookmarks through ZCP 2019-08-12 10:02:34 -07:00
tests Fix out-of-order ZIL txtype lost on hardlinked files 2019-08-13 21:21:27 -06:00
Makefile.am OpenZFS 7503 - zfs-test should tail ::zfs_dbgmsg on test failure 2017-04-12 13:36:48 -07:00