Messages in this thread | | | Subject | [GIT PULL] target fixes for v3.13 | From | "Nicholas A. Bellinger" <> | Date | Thu, 16 Jan 2014 16:09:44 -0800 |
| |
Hello Linus,
Here are the outstanding target fixes for v3.13 code.
Please go ahead and pull from:
git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending.git master
This series addresses a specific >= v3.12 regression related to the iscsi-target percpu_ida conversion that has been reported during stress testing over the last weeks.
The regression involves percpu_ida_alloc() going into uninterruptible sleep while waiting for outstanding tags to be freed, thus not accepting signals to force an return once a connection reset event has occurred.
This change allows the percpu_ida tag allocator to optionally use interruptible sleep that iscsi-target expects, while still leaving the functionality + interface for existing percpu_ida consumers unchanged.
Thank you,
--nab
Kent Overstreet (1): percpu_ida: Allow tag alloc interface to interruptible sleep
Nicholas Bellinger (2): iscsi-target: Fix connection reset hang with percpu_ida_alloc iscsi-target: Pre-allocate more tags to avoid ack starvation
drivers/target/iscsi/iscsi_target_nego.c | 2 +- drivers/target/iscsi/iscsi_target_util.c | 8 ++++++-- include/linux/percpu_ida.h | 10 +++++++++- lib/percpu_ida.c | 15 ++++++++++----- 4 files changed, 26 insertions(+), 9 deletions(-)
-- 1.7.10.4
| |