diff options
author | Jan Beulich <[email protected]> | 2011-05-17 11:07:05 +0100 |
---|---|---|
committer | Konrad Rzeszutek Wilk <[email protected]> | 2011-05-18 11:28:16 -0400 |
commit | 8ab521506c4dbb144f0c04c55e3d8bec42c1b2b9 (patch) | |
tree | 4521381df4e0dad05ec7b0d3746ea520fd824e2f /tools/perf/scripts/python/netdev-times.py | |
parent | 496b318eb65558c1a3a4fe882cb9da6d1dc6493a (diff) |
xen/blkback: don't fail empty barrier requests
The sector number on empty barrier requests may (will?) be -1, which,
given that it's being treated as unsigned 64-bit quantity, will almost
always exceed the actual (virtual) disk's size.
Inspired by Konrad's "When writting barriers set the sector number to
zero...".
While at it also add overflow checking to the math in vbd_translate().
Signed-off-by: Jan Beulich <[email protected]>
Signed-off-by: Konrad Rzeszutek Wilk <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions