Files
mirror_zfs/module/zfs
Olaf Faaland 743253df70 Hold SCL_VDEV when counting leaves
A config lock should be held while vdev_count_leaves() walks the tree,
otherwise the pointers reference may become invalid during the walk.

SCL_VDEV is a minimal lock provided for such uses cases.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Signed-off-by: Olaf Faaland <faaland1@llnl.gov>
Closes #7286
2018-03-09 15:42:54 -08:00
..
2017-11-18 14:08:00 -08:00
2018-02-23 08:50:06 -08:00
2015-01-16 14:41:26 -08:00
2017-08-14 10:36:48 -07:00
2017-06-26 14:36:49 -07:00
2015-01-16 14:41:26 -08:00
2017-11-15 17:27:01 -08:00
2018-02-13 14:54:54 -08:00
2018-02-13 14:54:54 -08:00
2018-02-08 15:28:18 -08:00
2018-02-13 14:54:54 -08:00
2017-08-14 10:36:48 -07:00
2018-02-13 14:54:54 -08:00
2018-03-09 13:37:15 -08:00
2017-10-11 16:54:48 -04:00
2015-01-16 14:41:26 -08:00
2018-03-09 13:37:15 -08:00
2017-11-15 17:27:01 -08:00
2018-03-09 15:42:11 -08:00
2016-04-21 09:49:25 -07:00
2018-03-09 13:37:15 -08:00
2018-03-09 13:37:15 -08:00
2018-03-09 13:37:15 -08:00
2018-03-09 13:37:15 -08:00
2017-11-15 17:27:01 -08:00
2017-01-03 11:31:18 -06:00
2018-02-13 14:54:54 -08:00
2010-08-31 13:41:58 -07:00
2018-03-09 13:37:15 -08:00
2018-02-13 14:54:54 -08:00
2017-07-13 13:54:00 -04:00
2016-11-29 14:34:33 -08:00
2018-03-09 15:42:54 -08:00
2018-02-08 15:28:18 -08:00
2018-02-13 14:54:54 -08:00
2010-08-31 13:41:58 -07:00
2018-02-13 14:54:54 -08:00
2017-03-10 09:51:33 -08:00
2018-02-13 14:54:54 -08:00
2018-02-13 14:54:54 -08:00
2017-01-03 11:31:18 -06:00
2018-02-13 14:54:54 -08:00
2018-02-13 14:54:54 -08:00
2018-03-09 13:37:15 -08:00
2018-02-09 10:08:05 -08:00
2018-02-13 14:54:54 -08:00
2017-11-18 14:08:00 -08:00