diff options
author | Peter Lieven <pl@kamp.de> | 2015-04-16 16:08:33 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2015-04-28 15:36:10 +0200 |
commit | 9eac3622a2b1159ab50b10540e822f3e58fdc383 (patch) | |
tree | 568b8fba392b00f43e014e621610fc5c2a81cbbd /hmp.c | |
parent | 03e40fef4678f9a42846c91a804b6d3c820e8b90 (diff) |
block/iscsi: use the allocationmap also if cache.direct=on
the allocationmap has only a hint character. The driver always
double checks that blocks marked unallocated in the cache are
still unallocated before taking the fast path and return zeroes.
So using the allocationmap is migration safe and can
also be enabled with cache.direct=on.
Signed-off-by: Peter Lieven <pl@kamp.de>
Message-id: 1429193313-4263-10-git-send-email-pl@kamp.de
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hmp.c')
0 files changed, 0 insertions, 0 deletions