Chunwei Chen bc25c9325b Use a dedicated taskq for vdev_file
Originally, vdev_file used system_taskq. This would cause a deadlock,
especially on system with few CPUs. The reason is that the prefetcher
threads, which are on system_taskq, will sometimes be blocked waiting
for I/O to finish. If the prefetcher threads consume all the tasks in
system_taskq, the I/O cannot be served and thus results in a deadlock.

We fix this by creating a dedicated vdev_file_taskq for vdev_file I/O.

Signed-off-by: Chunwei Chen <tuxoko@gmail.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #2270
2014-05-14 16:20:21 -07:00
..
2014-05-01 12:08:53 -07:00
2013-09-04 16:01:24 -07:00
2013-12-18 16:46:35 -08:00
2014-05-05 13:56:59 -07:00
2013-12-18 16:46:35 -08:00
2014-01-07 10:33:11 -08:00
2013-10-31 14:58:04 -07:00
2013-10-31 14:58:04 -07:00
2013-12-18 16:46:35 -08:00
2013-11-04 10:55:25 -08:00
2013-12-18 16:46:35 -08:00
2013-12-18 16:46:35 -08:00
2014-03-04 12:22:24 -08:00
2013-12-18 16:46:35 -08:00
2014-02-21 12:10:40 -08:00
2014-03-31 16:10:57 -07:00
2013-12-18 16:46:35 -08:00
2014-04-20 16:55:42 -07:00
2013-12-18 16:46:35 -08:00
2013-10-25 13:59:40 -07:00
2014-05-06 10:41:17 -07:00
2013-09-04 16:01:24 -07:00
2013-09-25 15:44:22 -07:00
2010-08-31 13:41:59 -07:00
2010-08-31 13:41:58 -07:00
2013-11-04 10:55:25 -08:00
2013-12-18 16:46:35 -08:00
2014-05-14 16:20:21 -07:00
2013-09-04 16:01:24 -07:00
2013-10-31 14:58:04 -07:00
2012-08-27 12:01:37 -07:00
2013-12-18 16:46:35 -08:00
2013-10-31 14:58:04 -07:00
2013-12-18 16:46:35 -08:00
2013-10-31 14:58:04 -07:00
2013-10-31 14:58:04 -07:00
2013-12-18 16:46:35 -08:00
2013-11-04 10:55:25 -08:00
2010-08-31 13:41:58 -07:00
2013-12-18 16:46:35 -08:00
2013-12-18 16:46:35 -08:00
2014-04-02 13:10:08 -07:00
2013-10-30 14:51:27 -07:00
2013-10-31 14:58:04 -07:00
2013-10-31 14:58:04 -07:00
2013-12-18 16:46:35 -08:00
2013-12-18 16:46:35 -08:00
2014-01-09 15:50:23 -08:00
2014-05-01 10:11:18 -07:00
2013-12-18 16:46:35 -08:00
2013-10-31 14:58:04 -07:00
2013-10-31 14:58:04 -07:00
2013-12-18 16:46:35 -08:00
2013-12-18 16:46:35 -08:00
2013-12-18 16:46:35 -08:00
2014-05-01 10:11:18 -07:00
2013-12-18 16:46:35 -08:00
2010-09-17 16:24:15 -07:00
2014-01-14 14:46:12 -08:00