Tom Caputi
a8b2e30685
Support re-prioritizing asynchronous prefetches
...
When sequential scrubs were merged, all calls to arc_read()
(including prefetch IOs) were given ZIO_PRIORITY_ASYNC_READ.
Unfortunately, this behaves badly with an existing issue where
prefetch IOs cannot be re-prioritized after the issue. The
result is that synchronous reads end up in the same vdev_queue
as the scrub IOs and can have (in some workloads) multiple
seconds of latency.
This patch incorporates 2 changes. The first ensures that all
scrub IOs are given ZIO_PRIORITY_SCRUB to allow the vdev_queue
code to differentiate between these I/Os and user prefetches.
Second, this patch introduces zio_change_priority() to provide
the missing capability to upgrade a zio's priority.
Reviewed by: George Wilson <george.wilson@delphix.com >
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov >
Signed-off-by: Tom Caputi <tcaputi@datto.com >
Closes #6921
Closes #6926
2017-12-21 09:13:06 -08:00
..
2017-11-18 14:08:00 -08:00
2017-12-21 09:13:06 -08:00
2017-11-04 13:25:13 -07:00
2015-01-16 14:41:26 -08:00
2017-11-04 13:25:13 -07:00
2017-08-14 10:36:48 -07:00
2017-06-26 14:36:49 -07:00
2017-09-05 16:15:04 -07:00
2017-11-15 17:27:01 -08:00
2015-01-16 14:41:26 -08:00
2017-11-15 17:27:01 -08:00
2016-09-13 09:58:33 -07:00
2017-09-05 16:15:04 -07:00
2017-11-10 13:37:10 -08:00
2017-11-04 13:25:13 -07:00
2017-11-15 17:27:01 -08:00
2017-11-04 13:25:13 -07:00
2017-11-04 13:25:13 -07:00
2017-12-05 09:39:16 -08:00
2017-11-04 13:25:13 -07:00
2017-11-04 13:25:13 -07:00
2017-11-04 13:25:13 -07:00
2017-11-08 15:25:30 -08:00
2017-11-04 13:25:13 -07:00
2017-07-08 20:35:35 -07:00
2016-08-31 14:35:34 -07:00
2017-11-04 13:25:13 -07:00
2017-08-14 10:36:48 -07:00
2017-11-15 17:27:01 -08:00
2017-08-14 10:36:48 -07:00
2017-12-21 09:13:06 -08:00
2015-05-04 09:41:10 -07:00
2017-11-04 13:25:13 -07:00
2016-11-29 14:34:27 -08:00
2017-11-28 17:33:48 -06:00
2017-03-22 17:58:47 -07:00
2017-10-11 16:54:48 -04:00
2017-05-19 13:45:46 -07:00
2015-01-16 14:41:26 -08:00
2017-12-07 10:28:50 -08:00
2017-11-15 17:27:01 -08:00
2017-09-22 14:29:26 -07:00
2017-11-04 13:25:13 -07:00
2016-04-21 09:49:25 -07:00
2017-01-22 13:25:40 -08:00
2017-11-07 14:51:30 -08:00
2017-03-22 17:58:47 -07:00
2017-11-15 17:27:01 -08:00
2017-02-28 16:10:18 -08:00
2017-01-03 11:31:18 -06:00
2017-10-10 16:41:47 -07:00
2016-11-29 14:34:27 -08:00
2016-11-29 14:34:27 -08:00
2010-08-31 13:41:58 -07:00
2017-11-04 13:25:13 -07:00
2017-08-14 10:36:48 -07:00
2017-10-23 09:45:59 -07:00
2017-11-30 09:40:13 -08:00
2017-09-29 15:58:52 -07:00
2017-12-18 10:28:27 -08:00
2017-11-04 13:25:13 -07:00
2017-01-12 09:42:11 -08:00
2016-05-26 10:11:51 -07:00
2017-12-05 09:39:16 -08:00
2017-07-13 13:54:00 -04:00
2016-08-31 14:35:34 -07:00
2017-11-04 13:25:13 -07:00
2017-09-25 10:38:27 -07:00
2017-05-12 17:28:03 -07:00
2017-11-04 13:25:13 -07:00
2017-11-28 17:33:48 -06:00
2017-05-12 17:28:03 -07:00
2017-12-21 09:13:06 -08:00
2016-11-29 14:34:33 -08:00
2017-01-22 13:25:40 -08:00
2016-11-29 14:34:33 -08:00
2016-11-29 14:34:33 -08:00
2016-12-15 17:31:33 -08:00
2016-12-12 10:46:26 -08:00
2017-01-22 13:25:40 -08:00
2016-11-29 14:34:33 -08:00
2016-11-29 14:34:33 -08:00
2017-01-22 13:25:40 -08:00
2017-01-22 13:25:40 -08:00
2017-11-28 17:33:48 -06:00
2017-11-04 13:25:13 -07:00
2017-11-15 17:27:01 -08:00
2017-08-02 21:16:12 -07:00
2017-11-04 13:25:13 -07:00
2017-11-15 17:27:01 -08:00
2017-11-04 13:25:13 -07:00
2017-11-28 17:33:48 -06:00
2010-08-31 13:41:58 -07:00
2017-08-02 21:16:12 -07:00
2017-07-25 23:09:48 -07:00
2017-12-04 11:55:57 -08:00
2017-11-04 13:25:13 -07:00
2017-03-10 09:51:33 -08:00
2017-11-10 13:37:10 -08:00
2017-06-09 09:15:37 -07:00
2015-06-22 17:02:13 -07:00
2017-08-09 15:31:08 -07:00
2017-10-27 12:46:35 -07:00
2017-01-03 11:31:18 -06:00
2017-09-13 12:20:07 -07:00
2017-11-29 11:59:22 -08:00
2017-12-05 09:39:16 -08:00
2017-09-19 12:19:08 -07:00
2017-12-06 11:38:10 -08:00
2017-11-04 13:25:13 -07:00
2017-11-04 13:25:13 -07:00
2017-10-11 16:59:42 -04:00
2017-11-04 13:25:13 -07:00
2017-12-21 09:13:06 -08:00
2010-05-28 13:45:14 -07:00
2017-05-10 09:30:48 -07:00
2016-12-12 10:46:26 -08:00
2017-09-19 12:19:08 -07:00
2017-05-10 09:30:48 -07:00
2017-03-10 09:51:41 -08:00
2017-11-18 14:08:00 -08:00
2017-11-04 13:25:13 -07:00
2017-12-05 09:39:16 -08:00