Files
mirror_zfs/include/sys
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-08-14 10:36:48 -07:00
2017-11-30 09:40:13 -08:00
2017-06-30 11:11:01 -07:00
2017-11-15 17:27:01 -08:00
2017-10-05 19:28:00 -07:00
2016-01-08 15:08:19 -08:00
2017-08-14 10:36:48 -07:00
2014-07-29 10:55:29 -07:00
2017-08-14 10:36:48 -07:00
2017-10-12 17:10:38 -07:00
2017-08-14 10:36:48 -07:00
2013-11-04 11:18:14 -08:00
2017-08-14 10:36:48 -07:00
2017-11-15 17:27:01 -08:00
2017-11-15 17:27:01 -08:00
2013-11-04 11:17:48 -08:00
2017-01-03 11:31:18 -06:00
2017-12-07 10:28:50 -08:00
2017-10-11 16:54:48 -04:00
2017-07-25 13:22:20 -04:00
2014-08-13 10:35:00 -07:00
2016-04-21 09:49:25 -07:00
2016-06-07 09:16:52 -07:00
2017-11-15 17:27:01 -08:00
2016-06-24 13:13:21 -07:00
2016-12-01 16:39:06 -07:00
2017-11-15 17:27:01 -08:00
2015-01-06 16:53:24 -08:00
2017-01-03 11:31:18 -06:00
2017-07-13 13:54:00 -04:00
2011-02-10 09:21:43 -08:00
2013-11-04 10:55:25 -08:00
2017-11-15 17:27:01 -08:00
2017-01-03 11:31:18 -06:00
2017-03-10 09:51:33 -08:00
2017-03-10 09:51:33 -08:00
2013-12-18 16:46:35 -08:00
2017-03-10 09:51:33 -08:00
2017-03-10 09:51:33 -08:00
2017-08-23 16:54:24 -07:00
2017-03-10 09:51:33 -08:00
2017-03-10 09:51:35 -08:00
2017-03-29 12:24:51 -07:00
2017-10-11 16:54:48 -04:00
2017-08-14 10:36:48 -07:00
2016-12-12 10:46:26 -08:00
2017-07-12 13:05:37 -07:00