Skip to content

HTTPS clone URL

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
suspended.

Signed-off-by: Ned Bass <bass6@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #3082
latest commit 417104bdd3
Ned Bass nedbass authored committed
Failed to load latest commit information.
cmd Install arc_summary.py
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 zfs.redhat.in 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 zimport.sh 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
Makefile.am Kernel header installation should respect --prefix
OPENSOLARIS.LICENSE Add CDDL license file
README.markdown Fix minor typos and update marketing copy.
autogen.sh build: do not call boilerplate ourself
configure.ac Install arc_summary.py
copy-builtin Consistent menuconfig name
zfs-script-config.sh.in Initial implementation of zed (ZFS Event Daemon)
zfs.release.in Move zfs.release generation to configure step

README.markdown

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: http://zfsonlinux.org

Something went wrong with that request. Please try again.