Go to file
Brian Behlendorf 5dc6af0eec Add zio_ddt_free()+ddt_phys_decref() error handling
The assumption in zio_ddt_free() is that ddt_phys_select() must
always find a match.  However, if that fails due to a damaged
DDT or some other reason the code will NULL dereference in
ddt_phys_decref().

While this should never happen it has been observed on various
platforms.  The result is that unless your willing to patch the
ZFS code the pool is inaccessible.  Therefore, we're choosing
to more gracefully handle this case rather than leave it fatal.

http://mail.opensolaris.org/pipermail/zfs-discuss/2012-February/050972.html

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #1308
2013-03-19 13:01:01 -07:00
cmd Refresh links to web site 2013-03-06 15:46:41 -08:00
config Refresh RPM packaging 2013-03-18 15:33:17 -07:00
dracut Add --with-dracutdir configure option 2013-03-06 15:46:41 -08:00
etc Remove ARCH packaging 2013-03-06 15:46:41 -08:00
include Change zfs-kmod-devel install path 2013-03-13 13:42:16 -07:00
lib Add snapdev=[hidden|visible] dataset property 2013-03-05 12:37:54 -08:00
man Create mount.zfs, zinject, and zpios man pages. 2013-03-13 13:41:22 -07:00
module Add zio_ddt_free()+ddt_phys_decref() error handling 2013-03-19 13:01:01 -07:00
patches Adding grub2 mkconfig support patch 2012-07-30 16:17:23 -07:00
rpm Refresh RPM packaging 2013-03-18 15:33:17 -07:00
scripts Refresh RPM packaging 2013-03-18 15:33:17 -07:00
udev Retire zpool_id infrastructure 2013-01-29 12:23:17 -08:00
.gitignore Refresh RPM packaging 2013-03-18 15:33:17 -07:00
AUTHORS Refresh AUTHORS 2012-12-19 09:47:25 -08:00
autogen.sh Remove autotools products 2012-08-27 11:47:44 -07:00
configure.ac Refresh RPM packaging 2013-03-18 15:33:17 -07:00
copy-builtin Consistent menuconfig name 2012-08-26 13:49:37 -07:00
COPYRIGHT Refresh links to web site 2013-03-06 15:46:41 -08:00
DISCLAIMER Remove COPYING 2013-03-13 13:42:16 -07:00
Makefile.am Refresh RPM packaging 2013-03-18 15:33:17 -07:00
META ZFS 0.6.0-rc14 2013-02-01 11:26:55 -08:00
OPENSOLARIS.LICENSE Add CDDL license file 2008-12-01 14:49:34 -08:00
README.markdown Add script for builtin module building. 2012-07-26 13:45:09 -07:00
zfs-script-config.sh.in Retire zpool_id infrastructure 2013-01-29 12:23:17 -08:00
zfs.release.in Move zfs.release generation to configure step 2012-07-12 12:22:51 -07:00

Native ZFS for Linux! ZFS is an advanced file system and volume manager which was originally developed for Solaris. It has been successfully ported to FreeBSD and now there is a functional Linux ZFS kernel port too. The port currently includes a fully functional and stable SPA, DMU, and ZVOL with a ZFS Posix Layer (ZPL) on the way!

$ ./configure
$ make pkg

To copy the kernel code inside your kernel source tree for builtin compilation:

$ ./configure --enable-linux-builtin --with-linux=/usr/src/linux-...
$ ./copy-builtin /usr/src/linux-...

Full documentation for building, configuring, and using ZFS can be found at: http://zfsonlinux.org