Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Signed-off-by: Giuseppe Di Natale <[email protected]> Closes openzfs#6009
- Loading branch information