FreeBSD ZFS
The Zettabyte File System
|
#include <sys/zfs_context.h>
#include <sys/zio.h>
#include <sys/ddt.h>
#include <sys/bplist.h>
Go to the source code of this file.
Data Structures | |
struct | dsl_scan_phys |
struct | dsl_scan |
Defines | |
#define | SCAN_PHYS_NUMINTS (sizeof (dsl_scan_phys_t) / sizeof (uint64_t)) |
Typedefs | |
typedef struct dsl_scan_phys | dsl_scan_phys_t |
typedef enum dsl_scan_flags | dsl_scan_flags_t |
typedef struct dsl_scan | dsl_scan_t |
Enumerations | |
enum | dsl_scan_flags { DSF_VISIT_DS_AGAIN = 1<<0 } |
Functions | |
int | dsl_scan_init (struct dsl_pool *dp, uint64_t txg) |
void | dsl_scan_fini (struct dsl_pool *dp) |
void | dsl_scan_sync (struct dsl_pool *, dmu_tx_t *) |
int | dsl_scan_cancel (struct dsl_pool *) |
int | dsl_scan (struct dsl_pool *, pool_scan_func_t) |
void | dsl_resilver_restart (struct dsl_pool *, uint64_t txg) |
This will start a new scan, or restart an existing one. | |
boolean_t | dsl_scan_resilvering (struct dsl_pool *dp) |
boolean_t | dsl_dataset_unstable (struct dsl_dataset *ds) |
void | dsl_scan_ddt_entry (dsl_scan_t *scn, enum zio_checksum checksum, ddt_entry_t *dde, dmu_tx_t *tx) |
void | dsl_scan_ds_destroyed (struct dsl_dataset *ds, struct dmu_tx *tx) |
void | dsl_scan_ds_snapshotted (struct dsl_dataset *ds, struct dmu_tx *tx) |
void | dsl_scan_ds_clone_swapped (struct dsl_dataset *ds1, struct dsl_dataset *ds2, struct dmu_tx *tx) |
boolean_t | dsl_scan_active (dsl_scan_t *scn) |
#define SCAN_PHYS_NUMINTS (sizeof (dsl_scan_phys_t) / sizeof (uint64_t)) |
Definition at line 69 of file dsl_scan.h.
typedef enum dsl_scan_flags dsl_scan_flags_t |
typedef struct dsl_scan_phys dsl_scan_phys_t |
typedef struct dsl_scan dsl_scan_t |
enum dsl_scan_flags |
Definition at line 71 of file dsl_scan.h.
boolean_t dsl_dataset_unstable | ( | struct dsl_dataset * | ds | ) |
void dsl_resilver_restart | ( | struct dsl_pool * | , |
uint64_t | txg | ||
) |
This will start a new scan, or restart an existing one.
Definition at line 1575 of file dsl_scan.c.
Definition at line 1763 of file dsl_scan.c.
boolean_t dsl_scan_active | ( | dsl_scan_t * | scn | ) |
Definition at line 1406 of file dsl_scan.c.
int dsl_scan_cancel | ( | struct dsl_pool * | ) |
Definition at line 373 of file dsl_scan.c.
void dsl_scan_ddt_entry | ( | dsl_scan_t * | scn, |
enum zio_checksum | checksum, | ||
ddt_entry_t * | dde, | ||
dmu_tx_t * | tx | ||
) |
Definition at line 1264 of file dsl_scan.c.
void dsl_scan_ds_clone_swapped | ( | struct dsl_dataset * | ds1, |
struct dsl_dataset * | ds2, | ||
struct dmu_tx * | tx | ||
) |
Definition at line 948 of file dsl_scan.c.
void dsl_scan_ds_destroyed | ( | struct dsl_dataset * | ds, |
struct dmu_tx * | tx | ||
) |
Definition at line 853 of file dsl_scan.c.
void dsl_scan_ds_snapshotted | ( | struct dsl_dataset * | ds, |
struct dmu_tx * | tx | ||
) |
Definition at line 914 of file dsl_scan.c.
void dsl_scan_fini | ( | struct dsl_pool * | dp | ) |
Definition at line 182 of file dsl_scan.c.
int dsl_scan_init | ( | struct dsl_pool * | dp, |
uint64_t | txg | ||
) |
Definition at line 123 of file dsl_scan.c.
boolean_t dsl_scan_resilvering | ( | struct dsl_pool * | dp | ) |
Definition at line 1592 of file dsl_scan.c.
Definition at line 1431 of file dsl_scan.c.