Remove aio_ctx from paio_* interface
authorKevin Wolf <kwolf@redhat.com>
Mon, 26 Oct 2009 12:03:08 +0000 (13:03 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 30 Oct 2009 13:39:34 +0000 (08:39 -0500)
commit4dbfcb13643532587c07f2fc5ad44a19fb32feca
treeccaa3ebeb0fc662822124cb29fd1559f789694a3
parentb79459b82f0ec7ea76453ea64f7e87001335a423
Remove aio_ctx from paio_* interface

The context parameter in paio_submit isn't used anyway, so there is no reason
why block drivers should need to remember it. This also avoids passing a Linux
AIO context to paio_submit (which doesn't do any harm as long as the parameter
is unused, but it is highly confusing).

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
block/raw-posix-aio.h
block/raw-posix.c
posix-aio-compat.c