Go to the source code of this file.
Data Structures |
struct | trim_map |
struct | trim_seg |
Typedefs |
typedef struct trim_map | trim_map_t |
typedef struct trim_seg | trim_seg_t |
Functions |
| SYSCTL_DECL (_vfs_zfs) |
| TUNABLE_INT ("vfs.zfs.trim_txg_limit",&trim_txg_limit) |
| SYSCTL_INT (_vfs_zfs, OID_AUTO, trim_txg_limit, CTLFLAG_RW,&trim_txg_limit, 0,"Delay TRIMs by that many TXGs.") |
static void | trim_map_vdev_commit_done (spa_t *spa, vdev_t *vd) |
static int | trim_map_seg_compare (const void *x1, const void *x2) |
static int | trim_map_zio_compare (const void *x1, const void *x2) |
void | trim_map_create (vdev_t *vd) |
void | trim_map_destroy (vdev_t *vd) |
static void | trim_map_segment_add (trim_map_t *tm, uint64_t start, uint64_t end, uint64_t txg) |
static void | trim_map_segment_remove (trim_map_t *tm, trim_seg_t *ts, uint64_t start, uint64_t end) |
static void | trim_map_free_locked (trim_map_t *tm, uint64_t start, uint64_t end, uint64_t txg) |
void | trim_map_free (zio_t *zio) |
boolean_t | trim_map_write_start (zio_t *zio) |
void | trim_map_write_done (zio_t *zio) |
static trim_seg_t * | trim_map_first (trim_map_t *tm, uint64_t txg) |
static void | trim_map_vdev_commit (spa_t *spa, zio_t *zio, vdev_t *vd) |
static void | trim_map_commit (spa_t *spa, zio_t *zio, vdev_t *vd) |
static void | trim_map_commit_done (spa_t *spa, vdev_t *vd) |
static void | trim_thread (void *arg) |
void | trim_thread_create (spa_t *spa) |
void | trim_thread_destroy (spa_t *spa) |
void | trim_thread_wakeup (spa_t *spa) |
Variables |
boolean_t | zfs_notrim |
static int | trim_txg_limit = 64 |
Typedef Documentation
Function Documentation
SYSCTL_INT |
( |
_vfs_zfs |
, |
|
|
OID_AUTO |
, |
|
|
trim_txg_limit |
, |
|
|
CTLFLAG_RW |
, |
|
|
& |
trim_txg_limit, |
|
|
0 |
, |
|
|
"Delay TRIMs by that many TXGs." |
|
|
) |
| |
static void trim_map_commit_done |
( |
spa_t * |
spa, |
|
|
vdev_t * |
vd |
|
) |
| [static] |
void trim_map_create |
( |
vdev_t * |
vd | ) |
|
void trim_map_destroy |
( |
vdev_t * |
vd | ) |
|
void trim_map_free |
( |
zio_t * |
zio | ) |
|
static void trim_map_free_locked |
( |
trim_map_t * |
tm, |
|
|
uint64_t |
start, |
|
|
uint64_t |
end, |
|
|
uint64_t |
txg |
|
) |
| [static] |
static int trim_map_seg_compare |
( |
const void * |
x1, |
|
|
const void * |
x2 |
|
) |
| [static] |
static void trim_map_segment_add |
( |
trim_map_t * |
tm, |
|
|
uint64_t |
start, |
|
|
uint64_t |
end, |
|
|
uint64_t |
txg |
|
) |
| [static] |
static void trim_map_segment_remove |
( |
trim_map_t * |
tm, |
|
|
trim_seg_t * |
ts, |
|
|
uint64_t |
start, |
|
|
uint64_t |
end |
|
) |
| [static] |
static void trim_map_vdev_commit |
( |
spa_t * |
spa, |
|
|
zio_t * |
zio, |
|
|
vdev_t * |
vd |
|
) |
| [static] |
static void trim_map_vdev_commit_done |
( |
spa_t * |
spa, |
|
|
vdev_t * |
vd |
|
) |
| [static] |
void trim_map_write_done |
( |
zio_t * |
zio | ) |
|
boolean_t trim_map_write_start |
( |
zio_t * |
zio | ) |
|
static int trim_map_zio_compare |
( |
const void * |
x1, |
|
|
const void * |
x2 |
|
) |
| [static] |
static void trim_thread |
( |
void * |
arg | ) |
[static] |
void trim_thread_create |
( |
spa_t * |
spa | ) |
|
void trim_thread_destroy |
( |
spa_t * |
spa | ) |
|
void trim_thread_wakeup |
( |
spa_t * |
spa | ) |
|
TUNABLE_INT |
( |
"vfs.zfs.trim_txg_limit" |
, |
|
|
& |
trim_txg_limit |
|
) |
| |
Variable Documentation
Definition at line 95 of file zil.c.