OpenCloudOS-Kernel/drivers/md/bcache
Eric Wheeler 90706094d5 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>
2016-08-18 20:31:03 -07:00
..
Kconfig bcache: Kill dead cgroup code 2014-03-18 12:22:35 -07:00
Makefile bcache: Abstract out stuff needed for sorting 2014-01-08 13:05:12 -08:00
alloc.c bcache: bch_allocator_thread() is not freezable 2016-05-24 09:00:43 -06:00
bcache.h bcache: remove driver private bio splitting code 2015-08-13 12:31:40 -06:00
bset.c bcache: Allocate bounce buffers with GFP_NOWAIT 2014-08-04 15:23:03 -07:00
bset.h bcache: fix typo in bch_bkey_equal_header 2014-08-04 15:23:03 -07:00
btree.c bcache: use bio op accessors 2016-06-07 13:41:38 -06:00
btree.h bcache: try to set b->parent properly 2014-08-04 15:23:04 -07:00
closure.c bcache: update document info 2016-07-05 11:34:49 -06:00
closure.h bcache: update document info 2016-07-05 11:34:49 -06:00
debug.c bcache: use bio op accessors 2016-06-07 13:41:38 -06:00
debug.h bcache: Convert debug code to btree_keys 2014-01-08 13:05:13 -08:00
extents.c bcache: Fix a journal replay bug 2014-08-04 15:23:02 -07:00
extents.h bcache: Fix a journal replay bug 2014-08-04 15:23:02 -07:00
io.c block: simplify and cleanup bvec pool handling 2016-07-20 17:37:02 -06:00
journal.c block, drivers, fs: rename REQ_FLUSH to REQ_PREFLUSH 2016-06-07 13:41:38 -06:00
journal.h bcache: Fix a shutdown bug 2014-02-25 18:42:49 -08:00
movinggc.c bcache: use bio op accessors 2016-06-07 13:41:38 -06:00
request.c block: rename bio bi_rw to bi_opf 2016-08-07 14:41:02 -06:00
request.h bcache: Kill dead cgroup code 2014-03-18 12:22:35 -07:00
stats.c bcache: Kill dead cgroup code 2014-03-18 12:22:35 -07:00
stats.h bcache: Break up struct search 2013-11-10 21:56:32 -08:00
super.c bcache: pr_err: more meaningful error message when nr_stripes is invalid 2016-08-18 20:31:03 -07:00
sysfs.c bcache: remove nested function usage 2014-03-18 12:39:28 -07:00
sysfs.h bcache: Don't export utility code, prefix with bch_ 2013-03-28 12:50:55 -06:00
trace.c bcache: Better alloc tracepoints 2014-03-18 12:22:35 -07:00
util.c md: more open-coded offset_in_page() 2016-01-04 10:29:12 -05:00
util.h bcache: remove driver private bio splitting code 2015-08-13 12:31:40 -06:00
writeback.c bcache: use bio op accessors 2016-06-07 13:41:38 -06:00
writeback.h block: rename bio bi_rw to bi_opf 2016-08-07 14:41:02 -06:00