diff options
author | 2014-08-21 11:09:29 -0500 | |
---|---|---|
committer | 2014-09-10 12:47:02 -0700 | |
commit | 921b81a8cd5a4acc2a009778d13eedd377362c4c (patch) | |
tree | 8efd8cfe55fa1e62de0a557c6d3579e99dc240b9 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | pnfs/blocklayout: plug block queues (diff) | |
download | linux-dev-921b81a8cd5a4acc2a009778d13eedd377362c4c.tar.xz linux-dev-921b81a8cd5a4acc2a009778d13eedd377362c4c.zip |
pnfs/blocklayout: correctly decrement extent length
When we do non-page sized reads we can underflow the extent_length variable
and read incorrect data. Fix the extent_length calculation and change to
defensive <= checks for the extent length in the read and write path.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions