[GIT PULL] Bcache changes for 3.12

Kent Overstreet
2013-09-11T03:55:33Z

Jens, here's the bcache stuff for 3.12. This is on top of the pull
request I sent you of fixes for 3.11. Pull away!

The following changes since commit bef0ef06a9fe34b08177b67d3213dceab29d3abe:

bcache: Fix for handling overlapping extents when reading in a btree node (2013-09-03 13:42:35 -0700)

are available in the git repository at:

git://evilpiepirate.org/~kent/linux-bcache.git bcache-for-3.12

for you to fetch changes up to 2879736e8a022780e28da9e4502815b510fcfe8b:

bcache: Bypass torture test (2013-09-10 19:08:32 -0700)

----------------------------------------------------------------
Kent Overstreet (49):
bcache: Use blkdev_issue_discard()
bcache: Add on error panic/unregister setting
bcache: Stripe size isn't necessarily a power of two
bcache: Remove unnecessary check in should_split()
bcache: Explicitly track btree node's parent
bcache: Add btree_insert_node()
bcache: Insert multiple keys at a time
bcache: Convert btree_insert_check_key() to btree_insert_node()
bcache: Add explicit keylist arg to btree_insert()
bcache: Clean up keylist code
bcache: Refactor request_write()
bcache: Refactor read request code a bit
bcache: Refactor journalling flow control
bcache: Move keylist out of btree_op
bcache: Convert try_wait to wait_queue_head_t
bcache: Convert bucket_wait to wait_queue_head_t
bcache: Convert gc to a kthread
bcache: Convert writeback to a kthread
bcache: Add btree_map() functions
bcache: Move some stuff to btree.c
bcache: Convert bch_btree_read_async() to bch_btree_map_keys()
bcache: Clean up cache_lookup_fn
bcache: Prune struct btree_op
bcache: Kill op->cl
bcache: Drop some closure stuff
bcache: Kill op->replace
bcache: Don't use op->insert_collision
bcache: Convert bch_btree_insert() to bch_btree_map_leaf_nodes()
bcache: Break up struct search
bcache: Move sector allocator to alloc.c
bcache: Pull on disk data structures out into a separate header
bcache: Fix bch_ptr_bad()
bcache: Debug code improvements
bcache: Don't bother with bucket refcount for btree node allocations
bcache: bch_(btree|extent)_ptr_invalid()
bcache: PRECEDING_KEY()
bcache: Add btree_node_write_sync()
bcache: Add make_btree_freeing_key()
bcache: Incremental gc
bcache: Avoid deadlocking in garbage collection
bcache: Kill bch_next_recurse_key()
bcache: Kill sequential_merge option
bcache: Move spinlock into struct time_stats
bcache: Have btree_split() insert into parent directly
bcache: Better full stripe scanning
bcache: Fix sysfs splat on shutdown with flash only devs
bcache: Use ida for bcache block dev minor
bcache: Delete some slower inline asm
bcache: Bypass torture test

drivers/md/bcache/Kconfig | 11 +-
drivers/md/bcache/alloc.c | 383 +++++++-----
drivers/md/bcache/bcache.h | 327 +---------
drivers/md/bcache/bset.c | 289 ++++-----
drivers/md/bcache/bset.h | 93 +--
drivers/md/bcache/btree.c | 1385 ++++++++++++++++++++++-------------------
drivers/md/bcache/btree.h | 195 ++----
drivers/md/bcache/closure.c | 25 +-
drivers/md/bcache/closure.h | 110 +---
drivers/md/bcache/debug.c | 170 +++--
drivers/md/bcache/debug.h | 50 +-
drivers/md/bcache/journal.c | 290 ++++-----
drivers/md/bcache/journal.h | 49 +-
drivers/md/bcache/movinggc.c | 85 ++-
drivers/md/bcache/request.c | 1106 ++++++++++++++++----------------
drivers/md/bcache/request.h | 43 +-
drivers/md/bcache/stats.c | 26 +-
drivers/md/bcache/stats.h | 13 +-
drivers/md/bcache/super.c | 188 +++---
drivers/md/bcache/sysfs.c | 42 +-
drivers/md/bcache/trace.c | 1 -
drivers/md/bcache/util.c | 12 +-
drivers/md/bcache/util.h | 15 +-
drivers/md/bcache/writeback.c | 455 +++++++-------
drivers/md/bcache/writeback.h | 47 +-
include/trace/events/bcache.h | 47 +-
include/uapi/linux/bcache.h | 373 +++++++++++
27 files changed, 2966 insertions(+), 2864 deletions(-)
create mode 100644 include/uapi/linux/bcache.h