Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Native ZFS for Linux
branch: master

This branch is even with zfsonlinux:master

Use cached feature info in spa_add_feature_stats()

Avoid issuing I/O to the pool when retrieving feature flags information.
Trying to read the ZAPs from disk means that zpool clear would hang if
the pool is suspended and recovery would require a reboot. To keep the
feature stats resident in memory, we hang a cached nvlist off of the
spa.  It is built up from disk the first time spa_add_feature_stats() is
called, and refreshed thereafter using the cached feature reference
counts. spa_add_feature_stats() gets called at pool import time so we
can be sure the cached nvlist will be available if the pool is later

Signed-off-by: Ned Bass <>
Signed-off-by: Brian Behlendorf <>
Closes #3082
latest commit 417104bdd3
Ned Bass nedbass authored committed
Failed to load latest commit information.
cmd Install
config Linux 4.0 compat: bdi_setup_and_register()
contrib Add bash completions by Aneurin Price.
dracut Fix error in dracut script if not using ZFS root
etc Add ZED to script
include Use cached feature info in spa_add_feature_stats()
lib Fix possible future overflow in zfs_nicenum
man Retire zio_bulk_flags
module Use cached feature info in spa_add_feature_stats()
rpm Fix typo in %post scriptlet lines
scripts Set zfs_autoimport_disable default value to 1
udev Open pools asynchronously after module load
.gitignore Ignore *.{deb,rpm,tar.gz} files in the top directory.
.gitmodules Add compatibility test script
AUTHORS Add a missing > to AUTHORS
COPYRIGHT Refresh links to web site
DISCLAIMER Fix minor typos and update marketing copy.
META Make license compatibility checks consistent Kernel header installation should respect --prefix
README.markdown Fix minor typos and update marketing copy. build: do not call boilerplate ourself Install
copy-builtin Consistent menuconfig name Initial implementation of zed (ZFS Event Daemon) Move zfs.release generation to configure step


Native ZFS for Linux!

ZFS is an advanced file system and volume manager which was originally developed for Solaris and is now maintained by the Illumos community.

ZFS on Linux, which is also known as ZoL, is currently feature complete. It includes fully functional and stable SPA, DMU, ZVOL, and ZPL layers.

Full documentation for installing ZoL on your favorite Linux distribution can be found at:

Something went wrong with that request. Please try again.