We need to be able to do nothing in AIO fashion. Since I suspect this
could be useful for more cases than the non flushing, I figured I'd
create a new function that does everything AIO-like, but doesn't do
anything.
Signed-off-by: Alexander Graf
---
v1 -> v2:
- remove stray define
- make a
bdrv_aio_noop_em() could be useful for benchmarking and optimizing the
aio code. It serves as a cheap operation that lets us see the cost of
the aio roundtrip.
Stefan
We need to be able to do nothing in AIO fashion. Since I suspect this
could be useful for more cases than the non flushing, I figured I'd
create a new function that does everything AIO-like, but doesn't do
anything.
Signed-off-by: Alexander Graf
---
block.c | 18 ++
block.h |