aboutsummaryrefslogtreecommitdiff
path: root/block/throttle.c
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2018-07-10 14:31:21 +0800
committerKevin Wolf <kwolf@redhat.com>2018-07-10 16:46:16 +0200
commit00695c27a00a4b3333604aeac50c43269cc151a3 (patch)
treec8bec130f594734d8a8cd791874c873d7560fec0 /block/throttle.c
parent7f8f03ef6d5c82fee1c22be06fc9de4a16ad7059 (diff)
block: Use common req handling for discard
Reuse the new bdrv_co_write_req_prepare/finish helpers. The variation here is that discard requests don't affect bs->wr_highest_offset, and it cannot extend the image. Signed-off-by: Fam Zheng <famz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/throttle.c')
0 files changed, 0 insertions, 0 deletions