]> git.proxmox.com Git - qemu.git/commit - block/sheepdog.c
sheepdog: traverse pending_list from the first for each time
authorMORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp>
Tue, 26 Jun 2012 22:26:23 +0000 (07:26 +0900)
committerKevin Wolf <kwolf@redhat.com>
Mon, 9 Jul 2012 13:53:02 +0000 (15:53 +0200)
commit7dc1cde05bd8c63789edc03fedb71d2d68da1d4f
treea7ae827dd91493b4a4f2c18b9a38a86b0477d5a1
parentc292ee6a67924061345975c02cd25b18f7054c4d
sheepdog: traverse pending_list from the first for each time

The pending list can be modified in other coroutine context
sd_co_rw_vector, so we need to traverse the list from the first again
after we send the pending request.

Signed-off-by: MORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/sheepdog.c