[PATCH 0/1] block: fix blk_queue_split() resource exhaustion

From: Lars Ellenberg
Date: Fri Jul 08 2016 - 11:04:45 EST


Result of RFC previously discussed here:
https://lkml.org/lkml/2016/6/22/172
[RFC] block: fix blk_queue_split() resource exhaustion

Rebased to linux-block/for-4.8/core as of today.
Would also need to go to Stable 4.3 and later.

Lars Ellenberg (1):
block: fix blk_queue_split() resource exhaustion

block/bio.c | 27 +++++++++++++++++--------
block/blk-core.c | 50 +++++++++++++++++++++++++----------------------
block/blk-merge.c | 5 ++++-
drivers/md/bcache/btree.c | 12 ++++++------
drivers/md/dm-bufio.c | 2 +-
drivers/md/md.h | 7 +++++++
drivers/md/raid1.c | 5 ++---
drivers/md/raid10.c | 5 ++---
include/linux/bio.h | 18 +++++++++++++++++
include/linux/sched.h | 4 ++--
10 files changed, 88 insertions(+), 47 deletions(-)

--
1.9.1