diff options
author | Konrad Rzeszutek Wilk <[email protected]> | 2011-10-10 00:47:49 -0400 |
---|---|---|
committer | Konrad Rzeszutek Wilk <[email protected]> | 2011-10-13 09:48:38 -0400 |
commit | 64391b2536ca92f9c589b2bfeaca3954896fe057 (patch) | |
tree | 0712fab29f774ec1bf6e4bb851cf58228486af1d /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 5c62cb48602dba95159c81ffeca179d3852e25be (diff) |
xen/blkback: Fix the inhibition to map pages when discarding sector ranges.
The 'operation' parameters are the ones provided to the bio layer while
the req->operation are the ones passed in between the backend and
frontend. We used the wrong 'operation' value to squash the
call to map pages when processing the discard operation resulting
in an hypercall that did nothing. Lets guard against going in the
mapping function by checking for the proper operation type.
CC: Li Dongyang <[email protected]>
Signed-off-by: Konrad Rzeszutek Wilk <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions