mirror_zfs/module
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
..
avl Add script for builtin module building. 2012-07-26 13:45:09 -07:00
nvpair Illumos #2619 and #2747 2013-01-08 10:35:35 -08:00
unicode Add script for builtin module building. 2012-07-26 13:45:09 -07:00
zcommon Add snapdev=[hidden|visible] dataset property 2013-03-05 12:37:54 -08:00
zfs Add zio_ddt_free()+ddt_phys_decref() error handling 2013-03-19 13:01:01 -07:00
zpios Refresh links to web site 2013-03-06 15:46:41 -08:00
.gitignore Add .gitignore files to exclude build products 2010-01-08 11:35:17 -08:00
Makefile.in Add KMODDIR to install target 2013-03-06 15:46:40 -08:00