Files
mirror_zfs/include/sys
Ned Bass 417104bdd3 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
2015-03-05 14:11:10 -08:00
..
2014-08-01 14:28:05 -07:00
2013-01-08 10:35:43 -08:00
2015-01-16 14:41:26 -08:00
2014-01-07 10:33:11 -08:00
2014-08-01 14:28:05 -07:00
2014-08-01 14:28:05 -07:00
2014-03-04 12:22:24 -08:00
2013-12-10 10:09:27 -08:00
2014-07-30 09:20:35 -07:00
2014-07-29 10:55:29 -07:00
2015-01-16 14:41:26 -08:00
2014-07-29 10:55:29 -07:00
2013-11-04 11:18:14 -08:00
2015-01-16 14:41:26 -08:00
2013-09-04 16:01:24 -07:00
2013-09-04 16:01:24 -07:00
2013-11-04 11:17:48 -08:00
2014-08-13 10:35:00 -07:00
2014-07-30 09:20:35 -07:00
2013-09-04 16:01:24 -07:00
2013-09-04 16:01:24 -07:00
2015-01-16 14:41:28 -08:00
2015-01-16 14:41:26 -08:00
2015-01-06 16:53:24 -08:00
2011-02-10 09:21:43 -08:00
2013-11-04 10:55:25 -08:00
2013-12-18 16:46:35 -08:00
2014-07-28 14:29:58 -07:00
2011-03-02 11:43:50 -08:00
2013-11-04 10:55:25 -08:00
2014-07-25 16:40:07 -07:00
2014-07-28 14:29:58 -07:00
2013-11-04 10:55:25 -08:00
2015-03-03 10:46:40 -08:00
2013-12-18 16:46:35 -08:00
2011-02-10 09:27:21 -08:00
2014-08-01 14:28:05 -07:00
2013-11-04 10:55:25 -08:00
2013-12-18 16:46:35 -08:00
2014-01-29 15:50:44 -08:00
2014-08-11 16:11:43 -07:00
2014-07-17 15:15:07 -07:00
2013-12-18 16:46:35 -08:00
2014-11-14 14:39:43 -08:00
2013-11-04 10:55:25 -08:00
2013-11-05 12:14:56 -08:00
2015-01-16 14:41:28 -08:00
2014-11-19 12:30:39 -05:00
2013-12-16 09:15:57 -08:00