mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-27 11:29:36 +03:00
c409e4647f
This commit adds module options for all existing zfs tunables. Ideally the average user should never need to modify any of these values. However, in practice sometimes you do need to tweak these values for one reason or another. In those cases it's nice not to have to resort to rebuilding from source. All tunables are visable to modinfo and the list is as follows: $ modinfo module/zfs/zfs.ko filename: module/zfs/zfs.ko license: CDDL author: Sun Microsystems/Oracle, Lawrence Livermore National Laboratory description: ZFS srcversion: 8EAB1D71DACE05B5AA61567 depends: spl,znvpair,zcommon,zunicode,zavl vermagic: 2.6.32-131.0.5.el6.x86_64 SMP mod_unload modversions parm: zvol_major:Major number for zvol device (uint) parm: zvol_threads:Number of threads for zvol device (uint) parm: zio_injection_enabled:Enable fault injection (int) parm: zio_bulk_flags:Additional flags to pass to bulk buffers (int) parm: zio_delay_max:Max zio millisec delay before posting event (int) parm: zio_requeue_io_start_cut_in_line:Prioritize requeued I/O (bool) parm: zil_replay_disable:Disable intent logging replay (int) parm: zfs_nocacheflush:Disable cache flushes (bool) parm: zfs_read_chunk_size:Bytes to read per chunk (long) parm: zfs_vdev_max_pending:Max pending per-vdev I/Os (int) parm: zfs_vdev_min_pending:Min pending per-vdev I/Os (int) parm: zfs_vdev_aggregation_limit:Max vdev I/O aggregation size (int) parm: zfs_vdev_time_shift:Deadline time shift for vdev I/O (int) parm: zfs_vdev_ramp_rate:Exponential I/O issue ramp-up rate (int) parm: zfs_vdev_read_gap_limit:Aggregate read I/O over gap (int) parm: zfs_vdev_write_gap_limit:Aggregate write I/O over gap (int) parm: zfs_vdev_scheduler:I/O scheduler (charp) parm: zfs_vdev_cache_max:Inflate reads small than max (int) parm: zfs_vdev_cache_size:Total size of the per-disk cache (int) parm: zfs_vdev_cache_bshift:Shift size to inflate reads too (int) parm: zfs_scrub_limit:Max scrub/resilver I/O per leaf vdev (int) parm: zfs_recover:Set to attempt to recover from fatal errors (int) parm: spa_config_path:SPA config file (/etc/zfs/zpool.cache) (charp) parm: zfs_zevent_len_max:Max event queue length (int) parm: zfs_zevent_cols:Max event column width (int) parm: zfs_zevent_console:Log events to the console (int) parm: zfs_top_maxinflight:Max I/Os per top-level (int) parm: zfs_resilver_delay:Number of ticks to delay resilver (int) parm: zfs_scrub_delay:Number of ticks to delay scrub (int) parm: zfs_scan_idle:Idle window in clock ticks (int) parm: zfs_scan_min_time_ms:Min millisecs to scrub per txg (int) parm: zfs_free_min_time_ms:Min millisecs to free per txg (int) parm: zfs_resilver_min_time_ms:Min millisecs to resilver per txg (int) parm: zfs_no_scrub_io:Set to disable scrub I/O (bool) parm: zfs_no_scrub_prefetch:Set to disable scrub prefetching (bool) parm: zfs_txg_timeout:Max seconds worth of delta per txg (int) parm: zfs_no_write_throttle:Disable write throttling (int) parm: zfs_write_limit_shift:log2(fraction of memory) per txg (int) parm: zfs_txg_synctime_ms:Target milliseconds between tgx sync (int) parm: zfs_write_limit_min:Min tgx write limit (ulong) parm: zfs_write_limit_max:Max tgx write limit (ulong) parm: zfs_write_limit_inflated:Inflated tgx write limit (ulong) parm: zfs_write_limit_override:Override tgx write limit (ulong) parm: zfs_prefetch_disable:Disable all ZFS prefetching (int) parm: zfetch_max_streams:Max number of streams per zfetch (uint) parm: zfetch_min_sec_reap:Min time before stream reclaim (uint) parm: zfetch_block_cap:Max number of blocks to fetch at a time (uint) parm: zfetch_array_rd_sz:Number of bytes in a array_read (ulong) parm: zfs_pd_blks_max:Max number of blocks to prefetch (int) parm: zfs_dedup_prefetch:Enable prefetching dedup-ed blks (int) parm: zfs_arc_min:Min arc size (ulong) parm: zfs_arc_max:Max arc size (ulong) parm: zfs_arc_meta_limit:Meta limit for arc size (ulong) parm: zfs_arc_reduce_dnlc_percent:Meta reclaim percentage (int) parm: zfs_arc_grow_retry:Seconds before growing arc size (int) parm: zfs_arc_shrink_shift:log2(fraction of arc to reclaim) (int) parm: zfs_arc_p_min_shift:arc_c shift to calc min/max arc_p (int) |
||
---|---|---|
.. | ||
fm | ||
fs | ||
arc.h | ||
avl_impl.h | ||
avl.h | ||
bplist.h | ||
bpobj.h | ||
dbuf.h | ||
ddt.h | ||
dmu_impl.h | ||
dmu_objset.h | ||
dmu_traverse.h | ||
dmu_tx.h | ||
dmu_zfetch.h | ||
dmu.h | ||
dnode.h | ||
dsl_dataset.h | ||
dsl_deadlist.h | ||
dsl_deleg.h | ||
dsl_dir.h | ||
dsl_pool.h | ||
dsl_prop.h | ||
dsl_scan.h | ||
dsl_synctask.h | ||
efi_partition.h | ||
Makefile.am | ||
Makefile.in | ||
metaslab_impl.h | ||
metaslab.h | ||
nvpair_impl.h | ||
nvpair.h | ||
refcount.h | ||
rrwlock.h | ||
sa_impl.h | ||
sa.h | ||
spa_boot.h | ||
spa_impl.h | ||
spa.h | ||
space_map.h | ||
txg_impl.h | ||
txg.h | ||
u8_textprep_data.h | ||
u8_textprep.h | ||
uberblock_impl.h | ||
uberblock.h | ||
uio_impl.h | ||
unique.h | ||
uuid.h | ||
vdev_disk.h | ||
vdev_file.h | ||
vdev_impl.h | ||
vdev.h | ||
xvattr.h | ||
zap_impl.h | ||
zap_leaf.h | ||
zap.h | ||
zfs_acl.h | ||
zfs_context.h | ||
zfs_debug.h | ||
zfs_dir.h | ||
zfs_fuid.h | ||
zfs_ioctl.h | ||
zfs_onexit.h | ||
zfs_rlock.h | ||
zfs_sa.h | ||
zfs_stat.h | ||
zfs_vfsops.h | ||
zfs_vnops.h | ||
zfs_znode.h | ||
zil_impl.h | ||
zil.h | ||
zio_checksum.h | ||
zio_compress.h | ||
zio_impl.h | ||
zio.h | ||
zpl.h | ||
zrlock.h | ||
zvol.h |