Previous patch requeued completing ring I/O buffers.
An interesting question is why this succeeds without a proper tapdisk
crash. The only sane explanation I can come up with is that the common
path manages to queue AIOs before our response hits the kernel so
unmap goes after GUP page translation. Which sounds not too
improbable, the target leaf vhd bitmap was likely still hot at this
point.
Signed-off-by: Daniel Stodden <daniel.stodden@citrix.com>
clone.sec = lreq->treq.sec;
clone.secs = lreq->treq.secs;
- clone.buf = lreq->treq.buf;
+ clone.buf = lreq->buf;
out:
td_complete_request(lreq->treq, lreq->err); // TODO: check err