Sara Hartse 37f03da8ba Fast Clone Deletion
Deleting a clone requires finding blocks are clone-only, not shared
with the snapshot. This was done by traversing the entire block tree
which results in a large performance penalty for sparsely
written clones.

This is new method keeps track of clone blocks when they are
modified in a "Livelist" so that, when it’s time to delete,
the clone-specific blocks are already at hand.

We see performance improvements because now deletion work is
proportional to the number of clone-modified blocks, not the size
of the original dataset.

Reviewed-by: Sean Eric Fagan <sef@ixsystems.com>
Reviewed-by: Matt Ahrens <matt@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Serapheim Dimitropoulos <serapheim@delphix.com>
Signed-off-by: Sara Hartse <sara.hartse@delphix.com>
Closes #8416
2019-07-26 10:54:14 -07:00
..
2019-07-26 10:54:14 -07:00
2019-07-26 10:54:14 -07:00
2019-06-19 09:48:12 -07:00
2019-06-19 09:48:12 -07:00
2019-07-26 10:54:14 -07:00
2019-06-19 14:54:02 -07:00
2019-06-19 09:48:12 -07:00
2019-05-07 15:18:44 -07:00
2019-07-16 10:11:49 -07:00
2019-06-19 09:48:12 -07:00
2019-06-19 09:48:12 -07:00
2019-06-19 09:48:12 -07:00
2019-06-24 16:44:01 -07:00
2019-07-25 11:57:58 -07:00
2019-07-08 13:18:50 -07:00
2019-07-25 11:57:58 -07:00
2019-06-19 09:48:12 -07:00
2019-07-26 10:54:14 -07:00
2019-07-26 10:54:14 -07:00
2018-05-29 16:00:33 -07:00
2019-07-26 10:54:14 -07:00
2019-07-26 10:54:14 -07:00
2019-07-26 10:54:14 -07:00
2018-05-29 16:00:33 -07:00
2019-07-26 10:54:14 -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-07-16 10:11:49 -07:00
2019-06-19 09:48:12 -07:00
2019-07-16 10:11:49 -07:00
2019-06-19 09:48:12 -07:00
2018-10-01 10:42:05 -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-07-26 10:54:14 -07:00
2019-07-16 10:11:49 -07:00
2019-07-16 10:11:49 -07:00
2019-07-26 10:54:14 -07:00
2019-07-16 10:11:49 -07:00
2019-07-16 10:11:49 -07:00
2018-05-29 16:00:33 -07:00
2019-06-20 18:29:02 -07:00
2019-07-16 10:11:49 -07:00
2019-03-29 09:13:20 -07:00
2019-06-20 18:29:02 -07:00
2019-06-20 18:29:02 -07:00
2016-11-29 14:34:33 -08:00
2019-06-20 18:29:02 -07:00
2019-07-16 10:11:49 -07:00
2019-06-20 18:29:02 -07:00
2019-03-29 09:13:20 -07:00
2019-07-16 10:11:49 -07:00
2019-06-12 13:13:09 -07:00
2019-07-16 14:14:12 -07:00
2018-05-29 16:00:33 -07:00
2018-05-29 16:00:33 -07:00
2019-06-10 11:48:42 -07:00
2018-05-29 16:00:33 -07:00
2018-02-13 14:54:54 -08:00
2019-06-19 09:48:12 -07:00
2019-06-10 11:48:42 -07:00
2019-03-15 14:14:31 -07:00
2019-07-16 10:11:49 -07:00
2018-02-09 10:08:05 -08:00
2018-05-29 16:00:33 -07:00
2019-07-26 10:54:14 -07:00