Files
mirror_zfs/module/zfs
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
..
2015-01-16 14:41:26 -08:00
2017-08-14 10:36:48 -07:00
2019-01-17 15:25:00 -08:00
2018-05-01 11:24:20 -07:00
2019-05-07 15:18:44 -07:00
2019-05-07 15:18:44 -07:00
2018-08-15 09:53:44 -07:00
2019-05-23 13:46:33 -07:00
2019-09-25 11:27:47 -07:00
2019-09-25 11:27:49 -07:00
2018-05-29 16:00:33 -07:00
2019-04-12 11:30:59 -07:00
2018-05-29 16:00:33 -07:00
2018-05-29 16:00:33 -07:00
2017-10-11 16:54:48 -04:00
2019-05-02 16:46:04 -07:00
2015-01-16 14:41:26 -08:00
2019-03-29 09:13:20 -07:00
2018-03-15 10:53:58 -07:00
2010-08-31 13:41:58 -07:00
2018-05-29 16:00:33 -07:00
2019-06-07 12:39:13 -07:00
2018-05-29 16:00:33 -07:00
2019-09-25 11:27:48 -07:00
2019-09-25 11:27:48 -07:00
2019-09-25 11:27:48 -07:00
2019-03-29 09:13:20 -07:00
2019-09-25 11:27:48 -07:00
2019-09-25 11:27:48 -07:00
2016-11-29 14:34:33 -08:00
2019-09-25 11:27:48 -07:00
2019-09-25 11:27:48 -07:00
2019-03-29 09:13:20 -07:00
2019-09-25 11:27:47 -07:00
2019-09-25 11:27:49 -07:00
2018-05-29 16:00:33 -07:00
2018-05-29 16:00:33 -07:00
2018-05-29 16:00:33 -07:00
2018-02-13 14:54:54 -08:00
2019-03-15 14:14:31 -07:00
2018-02-09 10:08:05 -08:00
2018-05-29 16:00:33 -07:00