Giuseppe Di Natale a167aa7cd4 Invalidate cache during a zpool labelclear
Be sure to invalidate a vdev's cache before performing
a zpool labelclear. There are cases where the cache is
stale because we did some operation that bypassed it,
and since we are doing an open with only O_RDWR, we
should invalidate it to be safe.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Closes #6009
2017-04-13 09:13:51 -07:00
..
2013-01-09 16:54:58 -08:00
2017-04-12 08:57:25 -07:00
2016-08-31 14:32:46 -07:00
2017-01-03 11:31:18 -06:00
2017-01-03 11:31:18 -06:00
2017-03-10 09:51:35 -08:00