block: Document supported flags during bdrv_aligned_preadv()
commita604fa2ba55f645abbb082469ed595f58f657ac8
authorEric Blake <eblake@redhat.com>
Thu, 23 Jun 2016 22:37:06 +0000 (23 16:37 -0600)
committerKevin Wolf <kwolf@redhat.com>
Tue, 5 Jul 2016 14:46:24 +0000 (5 16:46 +0200)
tree78b51a354097ea4fe70f8af15e84b873ed5e09bb
parentcff86b38aca34c9cc5c6f8846cc1c5b3d181c376
block: Document supported flags during bdrv_aligned_preadv()

We don't pass any flags on to drivers to handle.  Tighten an
assert to explain why we pass 0 to bdrv_driver_preadv(), and add
some comments on things to be aware of if we want to turn on
per-BDS BDRV_REQ_FUA support during reads in the future.  Also,
document that we may want to consider using unmap during
copy-on-read operations where the read is all zeroes.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/io.c