Arkadiusz Bubała d3f2cd7e3b Added no_scrub_restart flag to zpool reopen
Added -n flag to zpool reopen that allows a running scrub
operation to continue if there is a device with Dirty Time Log.

By default if a component device has a DTL and zpool reopen
is executed all running scan operations will be restarted.

Added functional tests for `zpool reopen`

Tests covers following scenarios:
* `zpool reopen` without arguments,
* `zpool reopen` with pool name as argument,
* `zpool reopen` while scrubbing,
* `zpool reopen -n` while scrubbing,
* `zpool reopen -n` while resilvering,
* `zpool reopen` with bad arguments.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Tom Caputi <tcaputi@datto.com>
Signed-off-by: Arkadiusz Bubała <arkadiusz.bubala@open-e.com>
Closes #6076 
Closes #6746
2017-10-26 12:26:09 -07:00
..
2017-08-09 15:31:08 -07:00
2015-05-11 15:07:00 -07:00
2017-05-22 12:34:32 -04:00
2017-04-05 13:21:10 -07:00
2015-05-11 15:07:00 -07:00
2017-01-03 11:31:18 -06:00
2015-05-11 15:07:00 -07:00
2015-05-11 15:07:00 -07:00
2015-05-11 15:07:00 -07:00
2017-04-12 08:57:25 -07:00
2015-05-11 15:07:00 -07:00
2016-12-12 10:46:26 -08:00
2015-05-11 15:07:00 -07:00