]> git.proxmox.com Git - qemu.git/commit
sheepdog: cancel aio requests if possible
authorMORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp>
Thu, 24 Oct 2013 07:01:17 +0000 (16:01 +0900)
committerKevin Wolf <kwolf@redhat.com>
Wed, 30 Oct 2013 11:22:20 +0000 (12:22 +0100)
commit35200687a1e04a79b0345be476185dc23d1604fb
tree289b6a2df412e5df807c2daea0ea84f1c1a28215
parenta37dcdf9aea8e19fcec6b1c5aa2c27c325fc4644
sheepdog: cancel aio requests if possible

This patch tries to cancel aio requests in pending queue and failed
queue.  When the sheepdog driver cannot cancel the requests, it waits
for them to be completed.

Signed-off-by: MORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp>
Tested-by: Liu Yuan <namei.unix@gmail.com>
Reviewed-by: Liu Yuan <namei.unix@gmail.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/sheepdog.c