diff options
author | Peter Lieven <pl@kamp.de> | 2013-07-19 09:19:41 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2013-09-12 13:14:19 +0200 |
commit | 65f3e33964bc4bb634d61463814a4ccca794e3c0 (patch) | |
tree | ac6b8d522daf0579d39d189f91ce797f30d90dcc /hw/scsi/spapr_vscsi.c | |
parent | 54a5c1d5db47b4146490937ed73e3f56022aaba6 (diff) |
iscsi: split discard requests in multiple parts
Replace .bdrv_aio_discard with .bdrv_co_discard so that discard
requests can be split in multiple parts, each for a small amount
of sectors.
This is useful because we expose a generic API with no limit
on the amount of sectors that can be unmapped in one request.
Signed-off-by: Peter Lieven <pl@kamp.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/scsi/spapr_vscsi.c')
0 files changed, 0 insertions, 0 deletions