Searched refs:metaslab (Results 1 - 25 of 25) sorted by relevance

/freebsd-current/sys/contrib/openzfs/include/sys/
H A Dmetaslab_impl.h33 #include <sys/metaslab.h>
60 * Used by the metaslab allocation tracing facility to indicate
85 * The metaslab weight is used to encode the amount of free space in a
86 * metaslab, such that the "best" metaslab appears first when sorting the
87 * metaslabs by weight. The weight (and therefore the "best" metaslab) can
89 * the free space in the metaslab (a space based weight) or by counting only
163 * A metaslab class encompasses a category of allocatable top-level vdevs.
164 * Each top-level vdev is associated with a metaslab group which defines
169 * metaslab_class_t, and only top-level vdevs (i.e. metaslab group
365 struct metaslab { struct
[all...]
H A Dvdev.h36 #include <sys/metaslab.h>
H A Dspa_impl.h42 #include <sys/metaslab.h>
451 taskq_t *spa_metaslab_taskq; /* Taskq for metaslab preload */
H A Dvdev_impl.h34 #include <sys/metaslab.h>
266 uint64_t vdev_ms_array; /* metaslab array object */
267 uint64_t vdev_ms_shift; /* metaslab size shift */
269 metaslab_group_t *vdev_mg; /* metaslab group */
270 metaslab_group_t *vdev_log_mg; /* embedded slog metaslab group */
271 metaslab_t **vdev_ms; /* metaslab array */
272 txg_list_t vdev_ms_list; /* per-txg dirty metaslab lists */
287 vdev_alloc_bias_t vdev_alloc_bias; /* metaslab allocation bias */
H A Dspa.h59 typedef struct metaslab metaslab_t;
/freebsd-current/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dvdev_label_os.c31 #include <sys/metaslab.h>
H A Dspa_os.c44 #include <sys/metaslab.h>
H A Dsysctl_os.c108 SYSCTL_NODE(_vfs_zfs, OID_AUTO, metaslab, CTLFLAG_RW, 0, "ZFS metaslab");
109 SYSCTL_NODE(_vfs_zfs, OID_AUTO, mg, CTLFLAG_RW, 0, "ZFS metaslab group");
501 /* metaslab.c */
540 * changes per metaslab that are flushed once in a while so we benefit
541 * from a bigger block size like 128K for the metaslab space maps.
/freebsd-current/sys/cddl/contrib/opensolaris/uts/common/
H A DMakefile.files102 metaslab.o \
/freebsd-current/sys/contrib/openzfs/module/zfs/
H A Ddsl_synctask.c31 #include <sys/metaslab.h>
H A Dzcp_synctask.c37 #include <sys/metaslab.h>
H A Dspa_log_spacemap.c27 #include <sys/metaslab.h>
42 * FREE records to almost every metaslab. With log space maps, we hold their
47 * when loading the pool. Flushing a metaslab to disk relieves memory as we
48 * flush any unflushed changes from memory to disk (i.e. the metaslab's space
51 * its entries have made it to their corresponding metaslab space maps].
62 * metaslab unflushed changes in memory. To see how this structure is first
68 * each metaslab in this vdev. This field is the on-disk counterpart of the
70 * the metaslab haven't had its changes flushed. During import, we use this
71 * to ignore any entries in the space map log that are for this metaslab but
74 * we flush that metaslab
[all...]
H A Dvdev_indirect.c29 #include <sys/metaslab.h>
H A Dvdev_label.c148 #include <sys/metaslab.h>
H A Dvdev_removal.c34 #include <sys/metaslab.h>
684 * held, so that the remove_thread can not load this metaslab and then
1579 * allocated space in the vdev, by loading each metaslab's spacemap.
1644 * If the metaslab has ever been allocated from (ms_sm!=NULL),
1674 zfs_dbgmsg("copying %llu segments for metaslab %llu",
2117 * the metaslab we just flushed. Thus, while removing a
2123 * This avoids the scenario where we flush a metaslab
2131 * we may touch the metaslab group of this vdev through
2306 * passivating the metaslab group and clearing the ZIL if there
H A Ddsl_dir.c43 #include <sys/metaslab.h>
H A Dspa_misc.c48 #include <sys/metaslab.h>
193 * Protects changes to metaslab groups and classes.
202 * Protects changes to metaslab groups and classes.
1318 * Verify the metaslab classes.
1856 * constant 97% of the total space, regardless of metaslab size (assuming the
H A Dvdev.c47 #include <sys/metaslab.h>
67 * One metaslab from each (normal-class) vdev is used by the ZIL. These are
69 * part of the spa_embedded_log_class. The metaslab with the most free space
83 * (by more than 1<<spa_slop_shift) due to the embedded slog metaslab.
96 /* lower limit for metaslab size (512M) */
99 /* upper limit for metaslab size (16G) */
265 * Given a vdev and a metaslab class, find which metaslab group we're
266 * interested in. All vdevs may belong to two different metaslab classes.
267 * Dedicated slog devices use only the primary metaslab grou
[all...]
H A Dzil.c43 #include <sys/metaslab.h>
H A Dspa.c69 #include <sys/metaslab.h>
201 * Percentage of all CPUs that can be used by the metaslab preload taskq.
2031 * This ensures that there is no async metaslab prefetching
6453 * instantiate the metaslab groups (this will dirty the vdevs)
10171 /* spa_embedded_log_class has only one metaslab per vdev. */
10912 "Percentage of CPUs to run a metaslab preload taskq");
/freebsd-current/sys/contrib/openzfs/include/
H A DMakefile.am67 sys/metaslab.h \
/freebsd-current/sys/contrib/openzfs/module/
H A DMakefile.bsd287 metaslab.c \
416 CFLAGS.metaslab.c= -mllvm -x86-cmov-converter=false
/freebsd-current/cddl/lib/libzpool/
H A DMakefile111 metaslab.c \
/freebsd-current/sys/contrib/openzfs/lib/libzpool/
H A DMakefile.am115 module/zfs/metaslab.c \
/freebsd-current/sys/modules/zfs/
H A DMakefile273 metaslab.c \

Completed in 393 milliseconds