From 9be5ad292499e5c9884f4a614f6a8a519af48127 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Tue, 4 Aug 2009 10:37:40 -0700 Subject: [PATCH] Flag ZIO_FLAG_SPECULATIVE now issues READ instead of READA. There is concern that READA may do more than simply reorder the queue. There may be an increased chance that a requested marked READA will fail because the elevator considers it optional. For this reason, all read requests, even speculative ones, have been converted back to READ. --- module/zfs/vdev_disk.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/module/zfs/vdev_disk.c b/module/zfs/vdev_disk.c index 442ab79dc8..4c57488ec3 100644 --- a/module/zfs/vdev_disk.c +++ b/module/zfs/vdev_disk.c @@ -460,11 +460,7 @@ vdev_disk_io_start(zio_t *zio) break; case ZIO_TYPE_READ: - if (zio->io_flags & ZIO_FLAG_SPECULATIVE) - flags = READA; - else - flags = READ; - + flags = READ; break; default: