diff options
author | Benjamin Coddington <bcodding@redhat.com> | 2018-01-25 09:36:26 -0500 |
---|---|---|
committer | Trond Myklebust <trondmy@gmail.com> | 2018-01-25 16:42:35 -0500 |
commit | f34462c3c8a2ec0f09003b526c4d7c08782d9350 (patch) | |
tree | 9d0c0a8f6f81c464606d40af860d87c8c636765d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | b39604755ce06389357b0c22d138c954f2e96451 (diff) |
pnfs/blocklayout: Ensure disk address in block device map
It's possible that the device map is smaller than the offset into the device
for the I/O we're adding. Add a check for it and bail out, otherwise we
risk botching the bio calculations that follow.
Signed-off-by: Benjamin Coddington <bcodding@redhat.com>
Signed-off-by: Trond Myklebust <trondmy@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions