Files
mirror_zfs/module/zfs
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
2015-01-16 14:41:26 -08:00
2017-08-14 10:36:48 -07:00
2017-06-26 14:36:49 -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
2017-11-15 17:27:01 -08: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-10-11 16:54:48 -04:00
2015-01-16 14:41:26 -08:00
2017-11-15 17:27:01 -08:00
2016-04-21 09:49:25 -07:00
2017-11-15 17:27:01 -08:00
2017-01-03 11:31:18 -06:00
2017-10-10 16:41:47 -07:00
2010-08-31 13:41:58 -07:00
2017-11-30 09:40:13 -08:00
2017-12-18 10:28:27 -08:00
2017-07-13 13:54:00 -04:00
2016-11-29 14:34:33 -08:00
2017-11-15 17:27:01 -08:00
2017-11-15 17:27:01 -08:00
2010-08-31 13:41:58 -07:00
2017-03-10 09:51:33 -08:00
2017-08-09 15:31:08 -07:00
2017-01-03 11:31:18 -06:00
2017-09-19 12:19:08 -07:00
2017-10-11 16:59:42 -04:00
2017-09-19 12:19:08 -07:00
2017-03-10 09:51:41 -08:00
2017-11-18 14:08:00 -08:00