Matthew Ahrens
1fac63e56f
OpenZFS 9577 - remove zfs_dbuf_evict_key tsd
...
The zfs_dbuf_evict_key TSD (thread-specific data) is not necessary -
we can instead pass a flag down in a few places to prevent recursive
dbuf eviction. Making this change has 3 benefits:
1. The code semantics are easier to understand.
2. On Linux, performance is improved, because creating/removing
TSD values (by setting to NULL vs non-NULL) is expensive, and
we do it very often.
3. According to Nexenta, the current semantics can cause a
deadlock when concurrently calling dmu_objset_evict_dbufs()
(which is rare today, but they are working on a "parallel
unmount" change that triggers this more easily):
Porting Notes:
* Minor conflict with OpenZFS 9337 which has not yet been ported.
Authored by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Serapheim Dimitropoulos <serapheim.dimitro@delphix.com>
Reviewed by: Brad Lewis <brad.lewis@delphix.com>
Reviewed-by: George Melikov <mail@gmelikov.ru>
Ported-by: Brian Behlendorf <behlendorf1@llnl.gov>
OpenZFS-issue: https://illumos.org/issues/9577
OpenZFS-commit: https://github.com/openzfs/openzfs/pull/645
External-issue: DLPX-58547
Closes #7602
2018-06-13 11:05:06 -07:00
..
2016-10-03 14:51:15 -07:00
2018-05-29 16:00:33 -07:00
2018-06-04 14:54:20 -07:00
2018-02-20 11:19:42 -08:00
2018-01-17 10:31:00 -08:00
2018-05-29 16:00:33 -07:00
2018-06-06 09:35:59 -07:00
2018-05-02 15:36:20 -07:00
2018-03-31 11:12:51 -07:00
2017-10-05 19:28:00 -07:00
2017-07-07 11:28:01 -07:00
2018-04-14 12:16:17 -07:00
2014-08-06 14:48:41 -07:00
2016-01-08 15:08:19 -08:00
2018-06-06 09:35:59 -07:00
2018-06-13 11:05:06 -07:00
2018-02-26 14:20:12 -08:00
2018-04-10 11:15:05 -07:00
2018-04-17 11:06:54 -07:00
2018-02-21 12:31:03 -08:00
2017-08-14 10:36:48 -07:00
2018-01-26 20:19:46 -08:00
2016-08-30 14:26:55 -07:00
2018-06-06 10:16:41 -07:00
2018-06-13 11:05:06 -07:00
2014-07-29 10:55:29 -07:00
2018-05-02 15:36:20 -07:00
2018-04-14 12:16:17 -07:00
2018-04-14 12:16:17 -07:00
2018-04-14 12:16:17 -07:00
2018-02-08 15:28:18 -08:00
2018-04-14 12:16:17 -07:00
2018-04-14 12:16:17 -07:00
2016-01-12 10:53:12 -08:00
2018-04-14 12:16:17 -07:00
2015-05-04 09:41:10 -07:00
2013-11-04 11:17:48 -08:00
2016-10-03 14:51:15 -07:00
2017-01-03 11:31:18 -06:00
2017-12-07 10:28:50 -08:00
2017-10-11 16:54:48 -04:00
2018-06-06 09:35:59 -07:00
2018-04-14 12:16:17 -07:00
2018-04-14 12:16:17 -07:00
2018-03-06 15:15:15 -08:00
2016-04-05 18:55:59 -07:00
2017-03-20 18:36:00 -07:00
2018-05-29 16:00:33 -07:00
2018-05-29 16:00:33 -07:00
2016-04-21 09:49:25 -07:00
2016-06-07 09:16:52 -07:00
2018-05-24 10:18:07 -07:00
2017-10-27 12:46:35 -07:00
2015-07-06 09:34:13 -07:00
2016-06-24 13:13:21 -07:00
2018-02-13 14:54:54 -08:00
2017-07-25 23:09:48 -07:00
2016-10-03 14:51:15 -07:00
2016-10-03 14:51:15 -07:00
2016-06-02 14:30:51 -07:00
2018-05-08 21:35:27 -07:00
2018-06-06 09:33:54 -07:00
2018-04-14 12:16:17 -07:00
2014-07-22 09:39:16 -07:00
2017-07-12 21:28:13 -07:00
2018-02-08 21:25:19 -08:00
2017-12-21 09:13:06 -08:00
2016-05-26 10:11:51 -07:00
2017-07-25 23:09:48 -07:00
2017-08-09 11:04:41 -07:00
2018-01-31 16:13:26 -08:00
2017-01-24 08:50:15 -08:00
2017-01-24 08:50:15 -08:00
2017-01-24 08:50:15 -08:00
2018-04-14 12:16:17 -07:00
2017-12-05 09:39:16 -08:00
2016-12-12 10:46:26 -08:00
2018-03-12 11:27:02 -07:00
2015-01-06 16:53:24 -08:00
2018-06-04 14:56:06 -07:00
2017-05-10 13:52:22 -04:00
2017-07-24 13:47:51 -04:00
2017-07-13 13:54:00 -04:00
2011-02-10 09:21:43 -08:00
2013-11-04 10:55:25 -08:00
2018-05-31 10:36:37 -07:00
2016-12-21 10:47:15 -08:00
2018-05-08 21:35:27 -07:00
2018-04-14 12:16:17 -07:00
2018-04-14 12:16:17 -07:00
2018-01-09 14:46:52 -08:00
2016-12-12 10:46:26 -08:00
2018-05-24 10:18:07 -07:00
2018-05-08 21:35:27 -07:00
2018-05-29 16:00:33 -07:00
2017-03-07 09:51:59 -08:00
2018-04-18 14:19:50 -07:00
2017-02-02 14:13:41 -08:00
2018-02-08 15:28:18 -08:00
2018-02-08 15:28:18 -08:00
2018-02-08 15:28:18 -08:00
2018-02-08 16:05:57 -08:00
2016-05-17 11:52:07 -07:00
2018-02-13 14:54:54 -08:00
2018-06-06 09:35:59 -07:00
2017-03-10 09:51:33 -08:00
2018-04-30 10:19:48 -07:00
2018-05-29 16:00:33 -07:00
2017-03-10 09:51:33 -08:00
2018-05-29 16:00:33 -07:00
2018-05-02 15:36:20 -07:00
2018-02-13 14:54:54 -08:00
2018-03-04 17:34:51 -08:00
2017-03-10 09:51:33 -08:00
2018-02-13 14:54:54 -08:00
2018-02-20 16:27:31 -08:00
2018-05-02 15:01:24 -07:00
2018-05-29 16:00:33 -07:00
2017-12-28 10:18:04 -08:00
2018-04-14 12:16:17 -07:00
2017-03-29 12:24:51 -07:00
2016-11-29 14:34:27 -08:00
2018-05-02 15:36:20 -07:00
2017-08-14 10:36:48 -07:00
2018-04-14 12:16:17 -07:00
2018-05-02 15:36:20 -07:00
2018-05-29 16:00:33 -07:00
2017-01-12 09:42:11 -08:00
2018-04-14 12:23:53 -07:00
2017-07-12 13:05:37 -07:00