lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 16 Jan 2014 16:09:44 -0800
From:	"Nicholas A. Bellinger" <nab@...ux-iscsi.org>
To:	Linus Torvalds <torvalds@...ux-foundation.org>
Cc:	target-devel <target-devel@...r.kernel.org>,
	linux-scsi <linux-scsi@...r.kernel.org>,
	LKML <linux-kernel@...r.kernel.org>, kmo@...erainc.com
Subject: [GIT PULL] target fixes for v3.13

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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ