dsl_scan.h (219089) | dsl_scan.h (236884) |
---|---|
1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 6 unchanged lines hidden (view full) --- 15 * If applicable, add the following below this CDDL HEADER, with the 16 * fields enclosed by brackets "[]" replaced with your own identifying 17 * information: Portions Copyright [yyyy] [name of copyright owner] 18 * 19 * CDDL HEADER END 20 */ 21/* 22 * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. | 1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 6 unchanged lines hidden (view full) --- 15 * If applicable, add the following below this CDDL HEADER, with the 16 * fields enclosed by brackets "[]" replaced with your own identifying 17 * information: Portions Copyright [yyyy] [name of copyright owner] 18 * 19 * CDDL HEADER END 20 */ 21/* 22 * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. |
23 * Copyright (c) 2012 by Delphix. All rights reserved. |
|
23 */ 24 25#ifndef _SYS_DSL_SCAN_H 26#define _SYS_DSL_SCAN_H 27 28#include <sys/zfs_context.h> 29#include <sys/zio.h> 30#include <sys/ddt.h> --- 43 unchanged lines hidden (view full) --- 74typedef struct dsl_scan { 75 struct dsl_pool *scn_dp; 76 77 boolean_t scn_pausing; 78 uint64_t scn_restart_txg; 79 uint64_t scn_sync_start_time; 80 zio_t *scn_zio_root; 81 | 24 */ 25 26#ifndef _SYS_DSL_SCAN_H 27#define _SYS_DSL_SCAN_H 28 29#include <sys/zfs_context.h> 30#include <sys/zio.h> 31#include <sys/ddt.h> --- 43 unchanged lines hidden (view full) --- 75typedef struct dsl_scan { 76 struct dsl_pool *scn_dp; 77 78 boolean_t scn_pausing; 79 uint64_t scn_restart_txg; 80 uint64_t scn_sync_start_time; 81 zio_t *scn_zio_root; 82 |
83 /* for freeing blocks */ 84 boolean_t scn_is_bptree; 85 |
|
82 /* for debugging / information */ 83 uint64_t scn_visited_this_txg; 84 85 dsl_scan_phys_t scn_phys; 86} dsl_scan_t; 87 88int dsl_scan_init(struct dsl_pool *dp, uint64_t txg); 89void dsl_scan_fini(struct dsl_pool *dp); --- 19 unchanged lines hidden --- | 86 /* for debugging / information */ 87 uint64_t scn_visited_this_txg; 88 89 dsl_scan_phys_t scn_phys; 90} dsl_scan_t; 91 92int dsl_scan_init(struct dsl_pool *dp, uint64_t txg); 93void dsl_scan_fini(struct dsl_pool *dp); --- 19 unchanged lines hidden --- |