block: Track flush requests
commitcdb5e3155eb323380c59f19fe88e28fedd85d3d8
authorFam Zheng <famz@redhat.com>
Mon, 9 Nov 2015 10:16:47 +0000 (9 18:16 +0800)
committerKevin Wolf <kwolf@redhat.com>
Thu, 12 Nov 2015 15:22:42 +0000 (12 16:22 +0100)
tree9408ffa6641ee8a23db13871b85773b0866aca99
parentebde595ce63369921dbbe1bd16fec0b230050d67
block: Track flush requests

Both bdrv_flush and bdrv_aio_flush eventually call bdrv_co_flush, add
tracked_request_begin and tracked_request_end pair in that function so
that all flush requests are now tracked.

Signed-off-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Message-id: 1447064214-29930-3-git-send-email-famz@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/io.c