Re: proc_name in sysfs

2005-04-11 Thread Christoph Hellwig
On Fri, Apr 08, 2005 at 06:03:16PM +1000, Douglas Gilbert wrote: The real problem is that someone decided to export the proc_name in sysfs. It's supposed to be only procfs-specific but someone violated that rule. Forget the proc_ part. It is effectively the lld_name. Allowing the LLD to

Re: [PATCH scsi-misc-2.6 03/04] scsi: make scsi_requeue_request() use blk_requeue_request()

2005-04-11 Thread Christoph Hellwig
+ cmd-request-flags |= REQ_SOFTBARRIER; + + spin_lock_irqsave(q-queue_lock, flags); + blk_requeue_request(q, cmd-request); + spin_unlock_irqrestore(q-queue_lock, flags); scsi_run_queue(q); This exact code sequence is duplicated in the previous patch, maybe time for

Re: proc_name in sysfs

2005-04-11 Thread James Bottomley
On Mon, 2005-04-11 at 12:52 +0100, Christoph Hellwig wrote: James once had a proposal where the scsi_host can link to the module in sysfs, which is the right thing and needed for other things like mkinitrd aswell. The code is actually in. Taking advantage of it is slightly more complex than I

[PATCH] compile out scsi_ioctl when no SCSI/IDE/etc. (take 3)

2005-04-11 Thread Fillod Stephane
Hi Matt and everyone, I fixed again my previous patch (take2): * CDROM_PKTCDVD draws dependency * removing SCSI_IOCTL from displayed options, as suggested by Milton Miller. * rewrote ifdefs in the middle of ide.c functions as dummy function in header, as suggested by Matthew Wilcox.

Re: [PATCH] aacraid 2.6: Address sparse warnings

2005-04-11 Thread Mark Haverkamp
On Fri, 2005-04-08 at 08:13 +0100, Christoph Hellwig wrote: + u32 temp = le32_to_cpu(psg-sg[i-1].count) - + (byte_count - scsicmd-request_bufflen); + psg-sg[i-1].count = cpu_to_le32(temp); You really want {be,le}*_{add,sub}

Re: [PATCH] compile out scsi_ioctl when no SCSI/IDE/etc. (take 3)

2005-04-11 Thread Matt Mackall
On Mon, Apr 11, 2005 at 05:50:08PM +0200, Fillod Stephane wrote: Hi Matt and everyone, I fixed again my previous patch (take2): * CDROM_PKTCDVD draws dependency * removing SCSI_IOCTL from displayed options, as suggested by Milton Miller. * rewrote ifdefs in the middle of ide.c

Re: Fw: [Bugme-new] [Bug 4473] New: QLogic 2100: SCSI timeouts, device resets, and crashes kernel

2005-04-11 Thread Mike Anderson
Greg, I will add the same comment to the bug. Did this work on a previous version of the kernel? Just checking to understand if your connectivity to the storage unit or the unit itself could be an issue. If appears we are receiving timeouts, but on abort the qla is indicating that the IO has

[PATCH] convert aic7xxx to the generic Domain Validation infrastructure

2005-04-11 Thread James Bottomley
The patch is pretty boring ... just removing heaps of unused stuff. The diffstat is pretty interesting, though: aic7xxx_osm.c | 1681 -- aic7xxx_osm.h | 40 - 2 files changed, 10 insertions(+), 1711 deletions(-) James =

Fw: [Bugme-new] [Bug 4474] New: ini9100u reports bad geoemtry

2005-04-11 Thread Andrew Morton
Begin forwarded message: Date: Mon, 11 Apr 2005 14:48:32 -0700 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [Bugme-new] [Bug 4474] New: ini9100u reports bad geoemtry http://bugme.osdl.org/show_bug.cgi?id=4474 Summary: ini9100u reports bad geoemtry Kernel Version:

Re: Fw: [Bugme-new] [Bug 4473] New: QLogic 2100: SCSI timeouts, device resets, and crashes kernel

2005-04-11 Thread Andrew Vasquez
On Mon, 11 Apr 2005, Mike Anderson wrote: I will add the same comment to the bug. Did this work on a previous version of the kernel? Just checking to understand if your connectivity to the storage unit or the unit itself could be an issue. If appears we are receiving timeouts, but on

[ANNOUNCE] open-iscsi and linux-iscsi project teams have merged!

2005-04-11 Thread linux-iscsi development team
The linux-iscsi and open-iscsi developers would like to announce that they have combined forces on a single iSCSI initiator effort! This mail gives an overview of this combined effort and will be followed by a set of iSCSI patches the combined team submits for review as a candidate for inclusion

[ANNOUNCE 0/6] Linux-iSCSI High-Performance Initiator

2005-04-11 Thread Alex Aizman
This is to announce Linux-iSCSI project: High-Performance iSCSI Initiator v5.0.0.2. The corresponding user space tools: http://sourceforge.net/project/showfiles.php?group_id=26396 1. Performance Results = 1.1 SETUP See

[ANNOUNCE 2/6] Linux-iSCSI High-Performance Initiator

2005-04-11 Thread Alex Aizman
Common header files: - iscsi_ifev.h (user/kernel events). - iscsi_if.h (user/kernel #defines); - iscsi_iftrans.h (iscsi transport interface); - iscsi_proto.h (RFC3720 #defines and types). Signed-off-by: Alex Aizman

[ANNOUNCE 3/6] Linux-iSCSI High-Performance Initiator

2005-04-11 Thread Alex Aizman
drivers/scsi/Kconfig changes. Signed-off-by: Alex Aizman [EMAIL PROTECTED] Signed-off-by: Dmitry Yusupov [EMAIL PROTECTED] diff -Nru --exclude 'iscsi*' --exclude Makefile linux-2.6.12-rc2.orig/drivers/scsi/Kconfig

[ANNOUNCE 4/6] Linux-iSCSI High-Performance Initiator

2005-04-11 Thread Alex Aizman
drivers/scsi/Makefile changes (added iscsi_if and iscsi_tcp). Signed-off-by: Alex Aizman [EMAIL PROTECTED] Signed-off-by: Dmitry Yusupov [EMAIL PROTECTED] --- linux-2.6.12-rc2.orig/drivers/scsi/Makefile 2005-03-01 23:38:19.0 -0800 +++

[ANNOUNCE 5/6] Linux-iSCSI High-Performance Initiator

2005-04-11 Thread Alex Aizman
include/linux/netlink.h changes (added NETLINK_ISCSI) Signed-off-by: Alex Aizman [EMAIL PROTECTED] Signed-off-by: Dmitry Yusupov [EMAIL PROTECTED] --- linux-2.6.12-rc2.orig/include/linux/netlink.h 2005-03-01 23:38:25.0 -0800 +++

[ANNOUNCE 6/6] Linux-iSCSI High-Performance Initiator

2005-04-11 Thread Alex Aizman
Documentation/scsi/iscsi.txt Signed-off-by: Alex Aizman [EMAIL PROTECTED] Signed-off-by: Dmitry Yusupov [EMAIL PROTECTED] diff -Nru linux-2.6.12-rc2.orig/Documentation/scsi/iscsi.txt linux-2.6.12-rc2.dima/Documentation/scsi/iscsi.txt ---

Re: [ANNOUNCE 2/6] Linux-iSCSI High-Performance Initiator

2005-04-11 Thread Greg KH
+struct iscsi_hdr { + uint8_t opcode; + uint8_t flags; /* Final bit */ + uint8_t rsvd2[2]; + uint8_t hlength;/* AHSs total length */ + uint8_t dlength[3]; /* Data length */ + uint8_t lun[8]; +

Re: [ANNOUNCE 2/6] Linux-iSCSI High-Performance Initiator

2005-04-11 Thread Greg KH
On Mon, Apr 11, 2005 at 08:24:08PM -0700, Alex Aizman wrote: Common header files: - iscsi_ifev.h (user/kernel events). These structures cross the user/kernel boundry? If so, they _must_ use the __u32 and friends types, not the horrible uint32_t mess... thanks,