summaryrefslogtreecommitdiffstats
path: root/module/zfs/dsl_scan.c
diff options
context:
space:
mode:
Diffstat (limited to 'module/zfs/dsl_scan.c')
-rw-r--r--module/zfs/dsl_scan.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/module/zfs/dsl_scan.c b/module/zfs/dsl_scan.c
index 5b52681d8..89faaeb8f 100644
--- a/module/zfs/dsl_scan.c
+++ b/module/zfs/dsl_scan.c
@@ -1511,6 +1511,7 @@ dsl_scan_active(dsl_scan_t *scn)
return (used != 0);
}
+/* Called whenever a txg syncs. */
void
dsl_scan_sync(dsl_pool_t *dp, dmu_tx_t *tx)
{
@@ -1956,6 +1957,7 @@ dsl_scan_scrub_cb(dsl_pool_t *dp,
return (0);
}
+/* Called by the ZFS_IOC_POOL_SCAN ioctl to start a scrub or resilver */
int
dsl_scan(dsl_pool_t *dp, pool_scan_func_t func)
{