commit | 65f3e33964bc4bb634d61463814a4ccca794e3c0 | [log] [tgz] |
---|---|---|
author | Peter Lieven <pl@kamp.de> | Fri Jul 19 09:19:41 2013 +0200 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Thu Sep 12 13:14:19 2013 +0200 |
tree | ac6b8d522daf0579d39d189f91ce797f30d90dcc | |
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>