Re: [PATCH 0/3] iscsi bidi & varlen support

2008-02-18 Thread Boaz Harrosh
On Tue, Feb 12 2008 at 22:17 +0200, Pete Wyckoff <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote on Tue, 12 Feb 2008 15:12 -0500: >> [EMAIL PROTECTED] wrote on Thu, 31 Jan 2008 20:08 +0200: >>> Cheers after 1.3 years these can go in. >>> >>> [PATCH 1/3] iscsi: extended cdb support >>>The

Re: [PATCH 0/3 ver2] iscsi bidi & varlen support

2008-02-18 Thread Boaz Harrosh
On Mon, Feb 18 2008 at 19:22 +0200, James Bottomley <[EMAIL PROTECTED]> wrote: > On Mon, 2008-02-18 at 17:08 +0200, Boaz Harrosh wrote: >> But ... James? is >> there any chance these can go into scsi-rc-fixes for the 2.6.25 >> kernel? The reason they are so late was mainly because of a fallout >>

Re: [PATCH 0/3 ver2] iscsi bidi & varlen support

2008-02-18 Thread James Bottomley
On Mon, 2008-02-18 at 17:08 +0200, Boaz Harrosh wrote: > But ... James? is > there any chance these can go into scsi-rc-fixes for the 2.6.25 > kernel? The reason they are so late was mainly because of a fallout > in the merge process and a bug that was introduced because of that, > but they were i

[PATCH 1/3 ver2] iscsi: extended cdb support

2008-02-18 Thread Boaz Harrosh
Support for extended CDBs in iscsi. All we need is to check if command spills over 16 bytes then allocate an iscsi-extended-header for the leftovers. Signed-off-by: Boaz Harrosh <[EMAIL PROTECTED]> Reviewed-by: Pete Wyckoff <[EMAIL PROTECTED]> Signed-off-by: Mike Christie <[EMAIL PROTECTED]> ---

[PATCH 2/3 ver2] iscsi: bidi support - libiscsi

2008-02-18 Thread Boaz Harrosh
iscsi bidi support at the generic libiscsi level - prepare the additional bidi_read rlength header. - access the right scsi_in() and/or scsi_out() side of things. also for resid. - Handle BIDI underflow overflow from target Signed-off-by: Boaz Harrosh <[EMAIL PROTECTED]> Reviewed-by:

[PATCH 3/3 ver2] iscsi: bidi support - iscsi_tcp

2008-02-18 Thread Boaz Harrosh
bidi support for iscsi_tcp - access the right scsi_in() and/or scsi_out() side of things. also for resid Signed-off-by: Boaz Harrosh <[EMAIL PROTECTED]> Reviewed-by: Pete Wyckoff <[EMAIL PROTECTED]> Signed-off-by: Mike Christie <[EMAIL PROTECTED]> --- drivers/scsi/iscsi_tcp.c | 31 +++

[PATCH 0/3 ver2] iscsi bidi & varlen support

2008-02-18 Thread Boaz Harrosh
On Thu, Jan 31 2008 at 20:08 +0200, Boaz Harrosh <[EMAIL PROTECTED]> wrote: > Cheers after 1.3 years these can go in. > > [PATCH 1/3] iscsi: extended cdb support >The varlen support is not yet in mainline for > block and scsi-ml. But the API for drivers will > not change. All LLD need to

Re: [PATCH 2/3] iscsi: bidi support - libiscsi

2008-02-18 Thread Boaz Harrosh
On Mon, Feb 11 2008 at 17:43 +0200, Pete Wyckoff <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote on Thu, 31 Jan 2008 22:29 +0200: >> iscsi bidi support at the generic libiscsi level >> - prepare the additional bidi_read rlength header. >> - access the right scsi_in() and/or scsi_out() s

can not bind NETLINK_ISCSI socket

2008-02-18 Thread David L. Lambert
I'm trying to get open-iscsi to run on a Gentoo system. I've set some other systems up, but on this one the /etc/init.d/open-iscsi script hangs. When I try to start it wit debugging options, here's what I get: # iscsid -f -d 99 iscsid: transport class version 2.0-865. iscsid version 2.0-86

Re: [PATCH 2/3] iscsi: bidi support - libiscsi

2008-02-18 Thread Boaz Harrosh
On Mon, Feb 11 2008 at 18:24 +0200, Pete Wyckoff <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote on Mon, 11 Feb 2008 18:05 +0200: >> You are most probably right I will investigate what happened. It looks >> like I went back to some old version right? or a merge fallout >> Thanks for reviewing

Update (Re: open iSCSI over iSER target RPM ...)

2008-02-18 Thread Joe Landman
Update: [EMAIL PROTECTED] etc]# dd if=/dev/zero of=/big/local.file bs=256k count=10 10+0 records in 10+0 records out 2621440 bytes (26 GB) copied, 58.7484 seconds, 446 MB/s Better. I rebuilt OFED 1.2.5.5. Are there specific recommended tuning guides for iSER? Backing store in

Re: [ofa-general] [ANNOUNCE] open iSCSI over iSER target RPM is available

2008-02-18 Thread Joe Landman
Hi Erez Erez Zilber wrote: > stgt (SCSI target) is an open-source framework for storage target > drivers. It supports iSCSI over iSER among other storage target drivers. > > Voltaire added a git tree for stgt that will be added to OFED 1.4: > http://www2.openfabrics.org/git/?p=~dorons/tgt.git;a=

Re: [Cbe-oss-dev] LIO Target iSCSI/SE PS3-Linux / FC8 builds

2008-02-18 Thread Marc Dietrich
Hi Nicholas, can you please also upload a src.rpm? I'm having toubles compiling the kernel code: # cd target/ ; ./autoconfig --write-to-file ; cat .make_autoconfig ; make kernel /usr/src/linux-iscsi/trunk/target/.make_autoconfig ARCH?=ppc AUTO_CFLAGS?= -DHAS_UTS_RELEASE -DUSE_SCSI_H -I/lib/mo

Re: [Cbe-oss-dev] LIO Target iSCSI/SE PS3-Linux / FC8 builds

2008-02-18 Thread Marc Dietrich
Hi Nicholas, thanks for your quick reply. Am Montag 04 Februar 2008 16:52:40 schrieb Nicholas A. Bellinger: > Hi Marc, > > You can generate the kernel RPM with 'make kernel ARCH=powerpc'. Yes, this works. The arch detection is a little ugly. I wonder why it is necessary at all. > Also, while

Re: Multiple connections to target from different local NICs?

2008-02-18 Thread Mike Christie
[EMAIL PROTECTED] wrote: > Hello! > > I am trying to put together a system that can emulate lots of iSCSI > initiators > connecting to a single iSCSI target. What I would like to do is to > add multiple > NICs to a machine and have it 'mount' the target from each NIC > independently. > > The go

Re: [PATCH 0/3] iscsi bidi & varlen support

2008-02-18 Thread Pete Wyckoff
[EMAIL PROTECTED] wrote on Mon, 18 Feb 2008 17:39 +0200: > On Tue, Feb 12 2008 at 22:17 +0200, Pete Wyckoff <[EMAIL PROTECTED]> wrote: > > From: Pete Wyckoff <[EMAIL PROTECTED]> > > Subject: [PATCH] iscsi iser: varlen > > > > Handle variable-length CDBs in iSER. > > > > Signed-off-by: Pete Wycko

Re: kernel panic on open-iscsi login to target

2008-02-18 Thread Joe Landman
On Feb 17, 4:57 pm, Joe Landman <[EMAIL PROTECTED]> wrote: [...] > For the Centos load, this was the 5.1 kernel driver with the 865 user > space tools. "fixed" I completely rebuilt/re-installed the 865 tools after removing every trace of the previous builds (userspace and kernel modules) and r

Re: slow failover with multipath and open-iscsi

2008-02-18 Thread Erez Zilber
>> OK. Is it configurable? Where? >> > > > node.session.timeo.replacement_timeouts is conifigurable in the iscsi > config file as you know. The scsi command timer is configurabale in sysfs: > > /sys/block/sdX/device/timeout > > and in some distros udev > > /etc/udev/rules.d/50-udev.rules, a