From: Kent Overstreet Date: Thu, 24 Oct 2013 23:36:03 +0000 (-0700) Subject: bcache: Debug code improvements X-Git-Tag: v3.13-rc1~68^2~1^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=280481d06c8a683d9aaa26125476222e76b733c5;p=pandora-kernel.git bcache: Debug code improvements Couple changes: * Consolidate bch_check_keys() and bch_check_key_order(), and move the checks that only check_key_order() could do to bch_btree_iter_next(). * Get rid of CONFIG_BCACHE_EDEBUG - now, all that code is compiled in when CONFIG_BCACHE_DEBUG is enabled, and there's now a sysfs file to flip on the EDEBUG checks at runtime. * Dropped an old not terribly useful check in rw_unlock(), and refactored/improved a some of the other debug code. Signed-off-by: Kent Overstreet --- Reading git-diff-tree failed