static void
scan_dev_rmaps(
struct scrub_ctx *ctx,
- int idx,
dev_t dev,
struct scan_blocks *sbx)
{
{
struct scrub_ctx *ctx = (struct scrub_ctx *)wq->wq_ctx;
- scan_dev_rmaps(ctx, agno, ctx->fsinfo.fs_rtdev, arg);
+ scan_dev_rmaps(ctx, ctx->fsinfo.fs_rtdev, arg);
}
/* Iterate all the reverse mappings of the log device. */
{
struct scrub_ctx *ctx = (struct scrub_ctx *)wq->wq_ctx;
- scan_dev_rmaps(ctx, agno, ctx->fsinfo.fs_logdev, arg);
+ scan_dev_rmaps(ctx, ctx->fsinfo.fs_logdev, arg);
}
/*
return ret;
}
if (ctx->fsinfo.fs_rt) {
- ret = -workqueue_add(&wq, scan_rt_rmaps,
- ctx->mnt.fsgeom.agcount + 1, &sbx);
+ ret = -workqueue_add(&wq, scan_rt_rmaps, 0, &sbx);
if (ret) {
sbx.aborted = true;
str_liberror(ctx, ret, _("queueing rtdev fsmap work"));
}
}
if (ctx->fsinfo.fs_log) {
- ret = -workqueue_add(&wq, scan_log_rmaps,
- ctx->mnt.fsgeom.agcount + 2, &sbx);
+ ret = -workqueue_add(&wq, scan_log_rmaps, 0, &sbx);
if (ret) {
sbx.aborted = true;
str_liberror(ctx, ret, _("queueing logdev fsmap work"));