diff options
author | 2012-11-02 16:43:04 +0100 | |
---|---|---|
committer | 2012-11-04 10:35:40 -0500 | |
commit | cb5bd4d19b46c220b1ac8462a3da01767dd99488 (patch) | |
tree | 1b22151771a90480d0d4790521b9432f46f1e32a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | xen/blkback: Persistent grant maps for xen blk drivers (diff) | |
download | linux-dev-cb5bd4d19b46c220b1ac8462a3da01767dd99488.tar.xz linux-dev-cb5bd4d19b46c220b1ac8462a3da01767dd99488.zip |
xen/blkback: persistent-grants fixes
This patch contains fixes for persistent grants implementation v2:
* handle == 0 is a valid handle, so initialize grants in blkback
setting the handle to BLKBACK_INVALID_HANDLE instead of 0. Reported
by Konrad Rzeszutek Wilk.
* new_map is a boolean, use "true" or "false" instead of 1 and 0.
Reported by Konrad Rzeszutek Wilk.
* blkfront announces the persistent-grants feature as
feature-persistent-grants, use feature-persistent instead which is
consistent with blkback and the public Xen headers.
* Add a consistency check in blkfront to make sure we don't try to
access segments that have not been set.
Reported-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Roger Pau Monne <roger.pau@citrix.com>
[v1: The new_map int->bool had already been changed]
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions