lkml.org 
[lkml]   [2014]   [Jan]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Subject[GIT PULL] target fixes for v3.13
From
Date
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



\
 
 \ /
  Last update: 2014-01-17 02:21    [W:0.063 / U:0.168 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site