diff options
author | 2016-08-18 20:15:26 -0700 | |
---|---|---|
committer | 2016-08-18 20:31:03 -0700 | |
commit | 90706094d5be614ae7285b3c96c3125bb198618c (patch) | |
tree | 8eb365d5bbb95058e0180dbb1a819dc965b74103 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bcache: RESERVE_PRIO is too small by one when prio_buckets() is a power of two. (diff) | |
download | linux-dev-90706094d5be614ae7285b3c96c3125bb198618c.tar.xz linux-dev-90706094d5be614ae7285b3c96c3125bb198618c.zip |
bcache: pr_err: more meaningful error message when nr_stripes is invalid
The original error was thought to be corruption, but was actually caused by:
make-bcache --data-offset N
where N was in bytes and should have been in sectors. While userspace
tools should be updated to check --data-offset beyond end of volume,
hopefully this will help others that might not have noticed the units.
Signed-off-by: Eric Wheeler <bcache@linux.ewheeler.net>
Cc: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions