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.
This commit is contained in:
Brian Behlendorf 2009-08-04 10:37:40 -07:00
parent 7c2850b819
commit 9be5ad2924
1 changed files with 1 additions and 5 deletions

View File

@ -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: