summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorChandan Rajendra <chandan@linux.vnet.ibm.com>2016-01-21 15:56:00 +0530
committerDavid Sterba <dsterba@suse.com>2016-02-01 19:24:29 +0100
commit5f4dc8fc835bbb902f5c2aa3de3978f3f518aa73 (patch)
tree8ea4c13c613e02a98a17271197790266ea6286bc /tools/perf/scripts/python/export-to-postgresql.py
parent298cfd368364912076fd84fbceb0df864da42a67 (diff)
Btrfs: btrfs_submit_direct_hook: Handle map_length < bio vector length
In subpagesize-blocksize scenario, map_length can be less than the length of a bio vector. Such a condition may cause btrfs_submit_direct_hook() to submit a zero length bio. Fix this by comparing map_length against block size rather than with bv_len. Signed-off-by: Chandan Rajendra <chandan@linux.vnet.ibm.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions