summaryrefslogtreecommitdiffstats
path: root/module/zfs/vdev.c
diff options
context:
space:
mode:
authorGiuseppe Di Natale <[email protected]>2017-04-12 15:49:31 -0700
committerBrian Behlendorf <[email protected]>2017-04-13 09:13:51 -0700
commita167aa7cd45b045047a75c07e06f3697bed8440c (patch)
treed8d82d60b253ad0445dc6c1292368ef4b5a28d5c /module/zfs/vdev.c
parent00481e7dad1d5608ae244eb053517e2c36d9a6de (diff)
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 #6009
Diffstat (limited to 'module/zfs/vdev.c')
0 files changed, 0 insertions, 0 deletions