[GIT PULL] Block driver pull for 4.5-rc1

From: Jens Axboe
Date: Thu Jan 21 2016 - 16:17:46 EST

Hi Linus,

This is the block driver pull request for 4.5, with the exception of
NVMe, which is in a separate branch and will be posted after this one.

This pull request contains:

- A set of bcache stability fixes, which have been acked by Kent. These
have been used and tested for more than a year by the community,
so it's about time that they got in.

- A set of drbd updates from the drbd team (Andreas, Lars, Philipp) and
Markus Elfring, Oleg Drokin.

- A set of fixes for xen blkback/front from the usual suspects, (Bob,
Konrad) as well as community based fixes from Kiri, Julien, and Peng.

- A 2038 time fix for sx8 from Shraddha, with a fix from me.

- A small mtip32xx cleanup from Zhu Yanjun.

- A null_blk division fix from Arnd.

Please pull!

git://git.kernel.dk/linux-block.git for-4.5/drivers

Al Viro (1):
bcache: fix a leak in bch_cached_dev_run()

Andreas Gruenbacher (7):
drbd: De-inline drbd_should_do_remote() and drbd_should_send_out_of_sync()
drbd: Get rid of some first_peer_device() calls
drbd: Move enum write_ordering_e to drbd.h
drbd: drbd_adm_attach(): Add missing drbd_resync_after_changed()
drbd: Fix locking across all resources
drbd: Backport the "events2" command
drbd: Backport the "status" command

Arnd Bergmann (1):
null_blk: use sector_div instead of do_div

Bob Liu (12):
xen/blkif: document blkif multi-queue/ring extension
xen/blkfront: separate per ring information out of device info
xen/blkfront: pseudo support for multi hardware queues/rings
xen/blkfront: split per device io_lock
xen/blkfront: negotiate number of queues/rings to be used with backend
xen/blkfront: Remove duplicate setting of ->xbdev.
xen/blkfront: make persistent grants pool per-queue
xen/blkback: separate ring information out of struct xen_blkif
xen/blkback: get the number of hardware queues/rings from blkfront
xen/blkback: make pool of persistent grants and free pages per-queue
xen/blkback: make st_ statistics per ring
xen/blkback: Fix two memory leaks.

Gabriel de Perthuis (1):
bcache: allows use of register in udev to avoid "device_busy" error.

Jens Axboe (2):
sx8: use real time for the command seconds
Merge branch 'stable/for-jens-4.5' of git://git.kernel.org/.../konrad/xen into for-4.5/drivers

Jiri Kosina (1):
xen-blkback: clear PF_NOFREEZE for xen_blkif_schedule()

Julien Grall (2):
xen-blkfront: Introduce blkif_ring_get_request
xen/blkfront: Handle non-indirect grant with 64KB pages

Kent Overstreet (2):
bcache: Add a cond_resched() call to gc
bcache: Change refill_dirty() to always scan entire disk if necessary

Konrad Rzeszutek Wilk (5):
xen/blkfront: Cleanup of comments, fix unaligned variables, and syntax errors.
xen/blkback: pseudo support for multi hardware queues/rings
xen/blocks: Return -EXX instead of -1
xen/blkback: Free resources if connect_ring failed.
xen/blkfront: Fix crash if backend doesn't follow the right states.

Lars Ellenberg (22):
drbd: Fix spurious disk-timeout
drbd: drop remnants of connector -- we don't use it anymore in drbd 8.4
drbd: drbdsetup detach of an unresponsive local disk should not block IO "forever"
drbd: also bump UUIDs if a diskless primary connects
drbd: add comment why we want to first call local-io-error, then send state
drbd: drbd_panic_after_delayed_completion_of_aborted_request()
drbd: improve network timeout detection
drbd: fix NULL deref in remember_new_state
drbd: fix refcount error during detach of an already failed disk
drbd: prevent NULL pointer deref when resuming diskless primary
drbd: debugfs: expose ed_data_gen_id
drbd: use resource name in workqueue
drbd: avoid redefinition of BITS_PER_PAGE
drbd: use bitmap_weight() helper, don't open code
drbd: fix spurious alert level printk
drbd: fix queue limit setup for discard
drbd: make drbd known to lsblk: use bd_link_disk_holder
drbd: don't block forever in disconnect during resync if fencing=r-a-stonith
drbd: fix "endless" transfer log walk in protocol A
drbd: separate out __al_write_transaction helper function
drbd: avoid potential deadlock during handshake
drbd: fix error path during resize

Markus Elfring (1):
drbd: Deletion of an unnecessary check before the function call "lc_destroy"

Oleg Drokin (1):
drbd: fix memory leak in drbd_adm_resize

Peng Fan (1):
xen/blkfront: correct setting for xen_blkif_max_ring_order

Philipp Reisner (5):
drbd: Remove pointless check
drbd: Replace 0 with the more meaningful GFP_NOWAIT
drbd: Rename asender to ack_receiver
drbd: Create a dedicated workqueue for sending acks on the control connection
drbd: make suspend_io() / resume_io() must be thread and recursion safe

Roland Kammerer (2):
MAINTAINERS: Updated information for DRBD DRIVER
lru_cache: Converted lc_seq_printf_status to return void

Shraddha Barke (1):
block: sx8.c: Replace timeval with ktime_t

Stefan Bader (1):
bcache: prevent crash on changing writeback_running

Zheng Liu (3):
bcache: fix a livelock when we cause a huge number of cache misses
bcache: clear BCACHE_DEV_UNLINK_DONE flag when attaching a backing device
bcache: unregister reboot notifier if bcache fails to unregister device

Zhu Yanjun (1):
mtip32xx: restrict variables visible in current code module

drivers/block/drbd/drbd_actlog.c | 323 ++++----
drivers/block/drbd/drbd_bitmap.c | 22 +-
drivers/block/drbd/drbd_debugfs.c | 10 +
drivers/block/drbd/drbd_int.h | 111 ++-
drivers/block/drbd/drbd_main.c | 74 +-
drivers/block/drbd/drbd_nl.c | 1361 +++++++++++++++++++++++++++++---
drivers/block/drbd/drbd_proc.c | 6 +-
drivers/block/drbd/drbd_protocol.h | 2 +-
drivers/block/drbd/drbd_receiver.c | 254 +++---
drivers/block/drbd/drbd_req.c | 147 +++-
drivers/block/drbd/drbd_req.h | 17 +-
drivers/block/drbd/drbd_state.c | 428 +++++++++-
drivers/block/drbd/drbd_state.h | 6 +-
drivers/block/drbd/drbd_state_change.h | 63 ++
drivers/block/drbd/drbd_worker.c | 105 +--
drivers/block/mtip32xx/mtip32xx.c | 6 +-
drivers/block/null_blk.c | 8 +-
drivers/block/sx8.c | 7 +-
drivers/block/xen-blkback/blkback.c | 391 ++++-----
drivers/block/xen-blkback/common.h | 86 +-
drivers/block/xen-blkback/xenbus.c | 416 ++++++----
drivers/block/xen-blkfront.c | 1061 +++++++++++++++++--------
drivers/md/bcache/btree.c | 5 +-
drivers/md/bcache/super.c | 16 +-
drivers/md/bcache/writeback.c | 37 +-
drivers/md/bcache/writeback.h | 3 +-
include/linux/drbd.h | 26 +-
include/linux/drbd_genl.h | 149 ++++
include/linux/idr.h | 14 +
include/linux/lru_cache.h | 2 +-
include/xen/interface/io/blkif.h | 48 ++
lib/lru_cache.c | 4 +-
33 files changed, 3893 insertions(+), 1326 deletions(-)
create mode 100644 drivers/block/drbd/drbd_state_change.h

Jens Axboe