Files
mirror_zfs/module/zfs
Massimo Maggi babf3f9b6d Fix zpool on zvol deadlock
Commit 65d56083b4 fixes the lock
inversion between spa_namespace_lock and bdev->bd_mutex but only
for the first user of spa_namespace_lock: dmu_objset_own().
Later spa_namespace_lock gets acquired by dsl_prop_get_integer()
though dsl_prop_get()->dsl_dataset_hold()->dsl_dir_open_spa()->
spa_open()->spa_open_common() without this "protection".  By
moving the mutex release after this second use, even this
acquisition of the lock is "protected" by the ERESTARTSYS trick.

Signed-off-by: Massimo Maggi <me@massimo-maggi.eu>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #1220
2013-01-18 09:44:55 -08:00
..
2012-08-27 12:01:37 -07:00
2013-01-08 10:35:43 -08:00
2013-01-08 10:35:35 -08:00
2013-01-08 10:35:44 -08:00
2013-01-08 10:35:35 -08:00
2010-08-26 14:24:34 -07:00
2010-08-31 13:41:58 -07:00
2012-10-08 10:19:05 -07:00
2013-01-08 10:35:35 -08:00
2012-08-27 12:01:37 -07:00
2013-01-08 10:35:35 -08:00
2013-01-08 10:35:35 -08:00
2013-01-08 10:35:35 -08:00
2012-09-17 11:22:23 -07:00
2013-01-08 10:35:35 -08:00
2010-08-31 13:41:58 -07:00
2012-10-15 16:01:54 -07:00
2010-08-31 08:38:46 -07:00
2012-08-27 12:01:37 -07:00
2013-01-08 10:35:35 -08:00
2012-08-27 12:01:37 -07:00
2010-12-07 16:05:25 -08:00
2013-01-08 10:35:35 -08:00
2010-08-31 13:41:59 -07:00
2010-08-31 13:41:58 -07:00
2013-01-08 10:35:35 -08:00
2010-08-31 13:41:58 -07:00
2012-08-27 12:01:37 -07:00
2013-01-08 10:35:42 -08:00
2012-08-27 12:01:37 -07:00
2012-08-27 12:01:37 -07:00
2012-08-27 12:01:37 -07:00
2013-01-08 10:35:42 -08:00
2013-01-08 10:35:42 -08:00
2012-09-05 08:44:58 -07:00
2013-01-08 10:35:35 -08:00
2013-01-08 10:35:43 -08:00
2010-08-31 13:41:58 -07:00
2012-02-09 16:37:48 -08:00
2011-03-02 11:44:34 -08:00
2013-01-08 10:35:35 -08:00
2012-12-20 09:56:28 -08:00
2010-08-31 13:41:50 -07:00
2012-09-17 11:06:58 -07:00
2012-12-10 09:44:45 -08:00
2011-05-04 10:02:37 -07:00
2010-09-17 16:24:15 -07:00
2013-01-18 09:44:55 -08:00