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>] [day] [month] [year] [list]
Message-Id: <1237341044.4214.52.camel@haakon2.linux-iscsi.org>
Date:	Tue, 17 Mar 2009 18:50:44 -0700
From:	"Nicholas A. Bellinger" <nab@...ux-iscsi.org>
To:	LKML <linux-kernel@...r.kernel.org>,
	linux-scsi <linux-scsi@...r.kernel.org>
Cc:	James Bottomley <James.Bottomley@...senPartnership.com>,
	"Martin K. Petersen" <martin.petersen@...cle.com>,
	Andrew Morton <akpm@...ux-foundation.org>,
	Mike Christie <michaelc@...wisc.edu>,
	FUJITA Tomonori <fujita.tomonori@....ntt.co.jp>,
	Hannes Reinecke <hare@...e.de>
Subject: [PATCH 0/2] [Target_Core_Mod/Persistent_Reservations]: Updates
	from PR client testing

Greetings all,

Here is a couple of bugfixes that have made while myself and the LIO
team have been testing RHEL/Centos v5 Cluster Storage (using SCSI
fencing) and MSFT Windows 2008 Cluster server using SPC-3 PR aware iSCSI
storage from Target_Core_Mod + LIO-Target v3.0.

The first was a bug where a held reservation was not being implictly
released when the initiator's registration as being freed (this is
obvious BUG wrt to SPC-4 language).

The second was allowing non WRITE cdbs from unregistered initiators
while a registration is held of any Write Exclusive PR Type.  I was
unable to find any explict language in spc4r17 saying this was allowed,
but since both of the client side cluster setups listed above seem to
need these CDBs allowed to function, I have gone ahead and allowed these
non WRITE CDBs to pass in core_scsi3_pr_seq_non_holder().

These patches are made against lio-core-2.6.git/master and tested on
v2.6.29-rc8 x86 32-bit HVM.  The lio-core-2.6.git tree can be found at: 

http://git.kernel.org/?p=linux/kernel/git/nab/lio-core-2.6.git;a=summary

[PATCH 1/2] [Target_Core_Mod/Persistent_Reservations]: Release reservation when freeing registration
[PATCH 2/2] [Target_Core_Mod/Persistent_Reservations]: Allow non WRITE CDBs from unregistered initiators

 drivers/lio-core/target_core_pr.c |   60 ++++++++++++++++++++++++++++++++-----
 1 files changed, 52 insertions(+), 8 deletions(-)

Thanks to everyone who has been contributing their time and efforts to make
SPC-3 compliant target mode emulation on Linux a reality!

--nab


--
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