Files
mirror_zfs/module/zfs
Chunwei Chen da8f51e16a Use a dedicated taskq for vdev_file
The introduction of parallel zvol prefetch causes deadlock when using
vdev_file.

spa_async->(spa_namespace_lock)->txg_wait_synced->(wait for txg_sync)
txg_sync->zio_wait->(wait for vdev_file_io_fsync on system_taskq)
zvol_prefetch_minors_impl (on system_taskq)->spa_open_common->(wait for spa_namespace_lock)

We fix this by using dedicated taskq for vdev_file.  This same change
was originally made in commit bc25c93 but reverted in commit aa9af22
when dynamic taskqs were added.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Chunwei Chen <tuxoko@gmail.com>
Closes #5506 
Closes #5495
2016-12-21 10:47:15 -08:00
..
2016-12-12 10:46:26 -08:00
2016-12-12 10:46:26 -08:00
2015-01-16 14:41:26 -08:00
2016-01-08 15:08:19 -08:00
2016-12-13 14:21:02 -08:00
2015-01-16 14:41:26 -08:00
2016-11-02 12:14:45 -07:00
2016-12-12 10:46:26 -08:00
2016-06-28 13:47:02 -07:00
2016-12-12 10:46:26 -08:00
2016-12-12 10:46:26 -08:00
2016-12-12 10:46:26 -08:00
2015-01-16 14:41:26 -08:00
2015-12-22 10:21:33 -08:00
2016-04-21 09:49:25 -07:00
2016-06-21 09:58:37 -07:00
2016-12-01 16:39:06 -07:00
2010-08-31 13:41:58 -07:00
2016-08-11 11:23:49 -07:00
2016-12-21 10:47:15 -08:00
2016-12-02 16:57:49 -07:00
2016-12-12 10:46:26 -08:00
2016-11-30 16:18:20 -07:00
2016-12-02 16:57:49 -07:00
2016-11-29 14:34:33 -08:00
2016-11-29 14:34:33 -08:00
2013-10-31 14:58:04 -07:00
2016-11-30 16:18:20 -07:00
2010-08-31 13:41:58 -07:00
2016-09-21 18:09:00 -07:00
2016-09-21 18:09:00 -07:00
2016-11-30 16:18:20 -07:00
2016-12-16 13:54:51 -08:00
2016-12-12 10:46:26 -08:00
2016-12-12 10:46:26 -08:00
2016-12-16 12:46:46 -08:00
2016-05-31 16:04:26 -07:00