aboutsummaryrefslogtreecommitdiffstats
path: root/include/sys/zio.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sys/zio.h')
-rw-r--r--include/sys/zio.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/sys/zio.h b/include/sys/zio.h
index f78b02fd5..368d8c149 100644
--- a/include/sys/zio.h
+++ b/include/sys/zio.h
@@ -516,6 +516,12 @@ struct zio {
taskq_ent_t io_tqent;
};
+enum blk_verify_flag {
+ BLK_VERIFY_ONLY,
+ BLK_VERIFY_LOG,
+ BLK_VERIFY_HALT
+};
+
extern int zio_bookmark_compare(const void *, const void *);
extern zio_t *zio_null(zio_t *pio, spa_t *spa, vdev_t *vd,
@@ -626,6 +632,9 @@ extern void zio_suspend(spa_t *spa, zio_t *zio, zio_suspend_reason_t);
extern int zio_resume(spa_t *spa);
extern void zio_resume_wait(spa_t *spa);
+extern boolean_t zfs_blkptr_verify(spa_t *spa, const blkptr_t *bp,
+ boolean_t config_held, enum blk_verify_flag blk_verify);
+
/*
* Initial setup and teardown.
*/