[PATCH 12/13] nsp32, nsp_cs driver update

2005-02-21 Thread Yokota Hiroshi
--- linux-2.6.10/drivers/scsi/pcmcia/nsp_io.h 2004-10-19 06:55:36.0 +0900 +++ linux-2.6.10-nsp/drivers/scsi/pcmcia/nsp_io.h 2004-07-27 00:24:21.0 +0900 @@ -1,40 +1,39 @@ -/* +/*** NinjaSCSI I/O funtion

[PATCH 13/13] nsp32, nsp_cs driver update

2005-02-21 Thread Yokota Hiroshi
--- linux-2.6.10/drivers/scsi/pcmcia/nsp_message.c 2004-10-19 06:53:46.0 +0900 +++ linux-2.6.10-nsp/drivers/scsi/pcmcia/nsp_message.c 2004-08-15 09:23:57.0 +0900 @@ -1,19 +1,129 @@ /*== NinjaSCSI-3

Re: [PATCH] scsi/sata write barrier support

2005-02-21 Thread Jens Axboe
On Mon, Feb 21 2005, Greg Stark wrote: > > Jens Axboe <[EMAIL PROTECTED]> writes: > > > For the longest time, only the old PATA drivers supported barrier writes > > with journalled file systems. > > What about for fsync(2)? One of the most frequent sources of data loss on the > postgres mailing

[PATCH 11/13] nsp32, nsp_cs driver update

2005-02-21 Thread Yokota Hiroshi
--- linux-2.6.10/drivers/scsi/pcmcia/nsp_debug.c2004-10-19 06:53:51.0 +0900 +++ linux-2.6.10-nsp/drivers/scsi/pcmcia/nsp_debug.c2004-11-20 17:17:42.0 +0900 @@ -1,12 +1,12 @@ /* Debug routine

[PATCH 9/13] nsp32, nsp_cs driver update

2005-02-21 Thread Yokota Hiroshi
--- linux-2.6.10/drivers/scsi/pcmcia/nsp_cs.c 2005-02-22 08:23:09.0 +0900 +++ linux-2.6.10-nsp/drivers/scsi/pcmcia/nsp_cs.c 2005-01-29 11:43:01.0 +0900 @@ -1,8 +1,9 @@ /*== -NinjaSCSI-3 / NinjaSCSI

[PATCH 10/13] nsp32, nsp_cs driver update

2005-02-21 Thread Yokota Hiroshi
--- linux-2.6.10/drivers/scsi/pcmcia/nsp_cs.h 2004-10-19 06:53:51.0 +0900 +++ linux-2.6.10-nsp/drivers/scsi/pcmcia/nsp_cs.h 2004-11-20 17:17:42.0 +0900 @@ -1,6 +1,6 @@ /*===/ Header file for nsp_cs.c - By: YOKOT

[PATCH 8/13] nsp32, nsp_cs driver update

2005-02-21 Thread Yokota Hiroshi
--- linux-2.6.10/drivers/scsi/nsp32_io.h2004-10-19 06:55:28.0 +0900 +++ linux-2.6.10-nsp/drivers/scsi/nsp32_io.h2004-07-27 00:21:25.0 +0900 @@ -9,40 +9,40 @@ #ifndef _NSP32_IO_H #define _NSP32_IO_H -static inline void nsp32_write1(unsigned int base, +inline stati

[PATCH 7/13] nsp32, nsp_cs driver update

2005-02-21 Thread Yokota Hiroshi
--- linux-2.6.10/drivers/scsi/nsp32_debug.c 2004-10-19 06:55:06.0 +0900 +++ linux-2.6.10-nsp/drivers/scsi/nsp32_debug.c 2004-11-15 05:01:22.0 +0900 @@ -83,24 +83,24 @@ } } -static void print_commandk (unsigned char *command) +static void print_commandk (const unsig

[PATCH 6/13] nsp32, nsp_cs driver update

2005-02-21 Thread Yokota Hiroshi
--- linux-2.6.10/drivers/scsi/nsp32.h 2005-02-22 08:23:09.0 +0900 +++ linux-2.6.10-nsp/drivers/scsi/nsp32.h 2004-11-16 00:26:54.0 +0900 @@ -18,36 +18,46 @@ //#define NSP32_DEBUG 9 -/* +/*- * VENDOR/DEVICE ID */ +

[PATCH 4/13] nsp32, nsp_cs driver update

2005-02-21 Thread Yokota Hiroshi
--- linux-2.6.10/drivers/scsi/Kconfig 2005-02-22 08:23:09.0 +0900 +++ linux-2.6.10-nsp/drivers/scsi/Kconfig 2005-02-22 08:37:48.0 +0900 @@ -1474,6 +1474,22 @@ SCSI host adapter. Please read the SCSI-HOWTO, available from

[PATCH 3/13] nsp32, nsp_cs driver update

2005-02-21 Thread Yokota Hiroshi
--- linux-2.6.10/Documentation/scsi/nsp_cs.txt 1970-01-01 09:00:00.0 +0900 +++ linux-2.6.10-nsp/Documentation/scsi/nsp_cs.txt 2005-02-22 08:44:10.0 +0900 @@ -0,0 +1,126 @@ + + WorkBiT NinjaSCSI-3/32Bi driver for Linux + +1. Comment + This is Workbit corp.'s(http://w

[PATCH 2/13] nsp32, nsp_cs driver update

2005-02-21 Thread Yokota Hiroshi
--- linux-2.6.10/Documentation/scsi/nsp32.txt 1970-01-01 09:00:00.0 +0900 +++ linux-2.6.10-nsp/Documentation/scsi/nsp32.txt 2003-11-12 21:42:54.0 +0900 @@ -0,0 +1,90 @@ + <> + + +1. What's this? + + This is Workbit corp.'s(http://www.workbit.co.jp/) NinjaSCSI-32Bi +

[PATCH 1/13] nsp32, nsp_cs driver update

2005-02-21 Thread Yokota Hiroshi
Hi. "nsp32" and "nsp_cs" driver is updated. And here is patch file for kernel 2.6.10 You can also get these patchs in one big file. http://www.netlab.is.tsukuba.ac.jp/~yokota/archive/linux-2.6.10-nsp20050222.diff.bz2 --- linux-2.6.10/Documentation/scsi/NinjaSCSI.txt 2004-10-19 06:54:55

dc395x patch: failure notice (fwd)

2005-02-21 Thread Guennadi Liakhovetski
Jamie, mail to you bounced: -- Forwarded message -- Date: 21 Feb 2005 22:28:46 - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: failure notice Hi. This is the qmail-send program at mail.gmx.net. I'm afraid I wasn't able to deliver your message to the following addresse

Re: [PATCH] scsi/sata write barrier support

2005-02-21 Thread Greg Stark
Jens Axboe <[EMAIL PROTECTED]> writes: > For the longest time, only the old PATA drivers supported barrier writes > with journalled file systems. What about for fsync(2)? One of the most frequent sources of data loss on the postgres mailing list has to do with users with IDE drives where fsync

RE: [RFC] adding per scsi-host workqueues for defered processing

2005-02-21 Thread James . Smart
> > > > I'd like to propose the addition of a per-Scsi_Host work-queue to > > manage these scanning as well as any other (relevant) > > lower-level-driver differed requests. > > Why not use the per-host error handler thread for this? brings a deadlock condition to mind - where the error thread i

Re: [RFC] adding per scsi-host workqueues for defered processing

2005-02-21 Thread Matthew Wilcox
On Mon, Feb 21, 2005 at 04:09:37PM -0800, Andrew Vasquez wrote: > * must be done from process context -- depending on transport type, > discovery can occur from a non-process context > * potentially _long_ scan times -- even if discovery is done from a > 'sleeping' capable context, halting a LL

[RFC] adding per scsi-host workqueues for defered processing

2005-02-21 Thread Andrew Vasquez
Following discussions which resulted from the: [RFC] target code updates to support scanned targets http://marc.theaimsgroup.com/?l=linux-scsi&m=110850749515984&w=2 thread, the overall consensus seems to be that transport-classes should support a 'true-hotplug' mechanism of device discovery and r

Re: [PATCH] dc395x fix memory mapping (was Re: dc395x: can't write to tape)

2005-02-21 Thread Guennadi Liakhovetski
On Sun, 6 Feb 2005, Guennadi Liakhovetski wrote: > Two weeks since I posted this patch - ping... ...and another two weeks since you, Jamie, replied to me privately. Just wanted to say, it would be good to get this bug fixed for the post-2.6.11 SCSI patch. Regards Guennadi > > On Sun, 23 Jan 2

Re: [PATCH as470] Add a NOREPORTLUN blacklist flag

2005-02-21 Thread Alan Stern
On Sun, 20 Feb 2005, Matthew Dharm wrote: > > Matt, it looks like the best way to solve this problem is to go back to > > the old strategy of always setting the SCSI revision to 2 (no matter what > > it might actually be), at least for Direct Access devices. That would > > suppress the REPORT_LUN

Re: [ANNOUNCE] nsp32, nsp_cs driver update

2005-02-21 Thread Arjan van de Ven
On Tue, 2005-02-22 at 06:26 +0900, YOKOTA Hiroshi wrote: > Hi. > > "nsp32" and "nsp_cs" SCSI host adapter driver is now updated. > You can get newest version from here. > > http://www.netlab.is.tsukuba.ac.jp/~yokota/archive/nsp_cs+nsp32-20050222.tar.gz Hi, could you please be so kind as to al

[ANNOUNCE] nsp32, nsp_cs driver update

2005-02-21 Thread YOKOTA Hiroshi
Hi. "nsp32" and "nsp_cs" SCSI host adapter driver is now updated. You can get newest version from here. http://www.netlab.is.tsukuba.ac.jp/~yokota/archive/nsp_cs+nsp32-20050222.tar.gz -- YOKOTA Hiroshi - To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a mes

[PATCH 15/15] ipr: Bump driver version to 2.0.13

2005-02-21 Thread brking
Bump the driver version to 2.0.13 Signed-off-by: Brian King <[EMAIL PROTECTED]> --- linux-2.6.11-rc4-bk9-bjking1/drivers/scsi/ipr.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff -puN drivers/scsi/ipr.h~ipr_driver_version_2_0_13 drivers/scsi/ipr.h --- linux-2.6.11-rc4-bk9/d

[PATCH 14/15] ipr: Send uevent change notifications

2005-02-21 Thread brking
Send scsi_host kobject uevent notifications for potential configuration changes. This small change allows userspace ipr apps to use netlink/uevent for configuration change notification instead of having to poll /sys for this information. These apps can already look for add/remove uevents for devic

[PATCH 13/15] ipr: Sparse fixes

2005-02-21 Thread brking
Various fixes to make sparse happy Signed-off-by: Brian King <[EMAIL PROTECTED]> --- linux-2.6.11-rc4-bk9-bjking1/drivers/scsi/ipr.c | 30 +++- 1 files changed, 14 insertions(+), 16 deletions(-) diff -puN drivers/scsi/ipr.c~ipr_sparse_fixes drivers/scsi/ipr.c --- linux-2.

[PATCH 12/15] ipr: Use bitwise types

2005-02-21 Thread brking
Change to use bitwise types for additional error checking by sparse Signed-off-by: Brian King <[EMAIL PROTECTED]> --- linux-2.6.11-rc4-bk9-bjking1/drivers/scsi/ipr.h | 166 1 files changed, 83 insertions(+), 83 deletions(-) diff -puN drivers/scsi/ipr.h~ipr_bitwise_ty

[PATCH 11/15] ipr: Remove tcq_active flag from resource entry

2005-02-21 Thread brking
Remove the tcq_active flag from the ipr_resource_entry struct since the same information is available through scsi core APIs. Signed-off-by: Brian King <[EMAIL PROTECTED]> --- linux-2.6.11-rc4-bk9-bjking1/drivers/scsi/ipr.c | 10 +++--- linux-2.6.11-rc4-bk9-bjking1/drivers/scsi/ipr.h |

[PATCH 10/15] ipr: Remove resource qdepth field

2005-02-21 Thread brking
Remove qdepth field from the ipr_resource_entry structure since the same data is also available in the scsi_device struct. Signed-off-by: Brian King <[EMAIL PROTECTED]> --- linux-2.6.11-rc4-bk9-bjking1/drivers/scsi/ipr.c | 26 linux-2.6.11-rc4-bk9-bjking1/drivers/scsi

[PATCH 09/15] ipr: Remove tcq_enable device attribute

2005-02-21 Thread brking
Remove driver specific tcq_enable attribute now that change_queue_type API has made it redundant. Signed-off-by: Brian King <[EMAIL PROTECTED]> --- linux-2.6.11-rc4-bk9-bjking1/drivers/scsi/ipr.c | 76 1 files changed, 76 deletions(-) diff -puN drivers/scsi/ipr.c~ipr

[PATCH 08/15] ipr: Use change queue type API

2005-02-21 Thread brking
Use new change_queue_type API. Signed-off-by: Brian King <[EMAIL PROTECTED]> --- linux-2.6.11-rc4-bk9-bjking1/drivers/scsi/ipr.c | 42 1 files changed, 42 insertions(+) diff -puN drivers/scsi/ipr.c~ipr_change_queue_type drivers/scsi/ipr.c --- linux-2.6.11-rc4-bk9/dri

[PATCH 07/15] ipr: Fast failure module options

2005-02-21 Thread brking
Since the ipr adapter initialization is performed by waiting for an interrupt to occur and this is the first interrupt ever received from the adapter, and the timeout for this interrupt is 5 minutes, failed ipr adapters can halt the boot process for a long time. In certain environments, it makes s

[PATCH 06/15] ipr: Support dynamic IDs

2005-02-21 Thread brking
Fixes ipr to handle dynamic pci ids by searching for the adapter chipset in the probe routine if driver_data is NULL. Signed-off-by: Brian King <[EMAIL PROTECTED]> --- linux-2.6.11-rc4-bk9-bjking1/drivers/scsi/ipr.c | 37 +++- linux-2.6.11-rc4-bk9-bjking1/drivers/scsi/ipr.

[PATCH 05/15] ipr: Setup max_sectors based on device type

2005-02-21 Thread brking
The ipr family of adapters is capable of handling data transfer sizes of 16777215 bytes. Logical disk array devices under ipr are capable of only 256k transfer lengths. Patch sets max_sectors of the adapter to 32767 and overrides max_sectors for the logical disk array devices in the slave_configur

[PATCH 03/15] ipr: New adapter support

2005-02-21 Thread brking
Add support for some new adapters. Signed-off-by: Brian King <[EMAIL PROTECTED]> --- linux-2.6.11-rc4-bk9-bjking1/drivers/scsi/ipr.c | 17 + linux-2.6.11-rc4-bk9-bjking1/drivers/scsi/ipr.h |5 - 2 files changed, 17 insertions(+), 5 deletions(-) diff -puN drivers/scsi/

[PATCH 04/15] ipr: Device remove cleanup

2005-02-21 Thread brking
If a device disappears across an adapter reset, ipr schedules the device to be removed from scsi core. Any ops sent to that device prior to its actual removal end up getting sent to the adapter using a now invalid adapter resource handle. Usually, the adapter will just fail the command and the fai

[PATCH 02/15] ipr: PCI ID table update

2005-02-21 Thread brking
Remove an adapter from the table that never shipped. Signed-off-by: Brian King <[EMAIL PROTECTED]> --- linux-2.6.11-rc4-bk9-bjking1/drivers/scsi/ipr.c |3 --- linux-2.6.11-rc4-bk9-bjking1/drivers/scsi/ipr.h |1 - 2 files changed, 4 deletions(-) diff -puN drivers/scsi/ipr.h~ipr_remove_a

[PATCH 01/15] PCI: update ipr PCI ids

2005-02-21 Thread brking
Add some new IPR adapters and remove one. These ids have already been entered into http://pciids.sourceforge.net. Signed-off-by: Brian King <[EMAIL PROTECTED]> --- linux-2.6.11-rc4-bk9-bjking1/drivers/pci/pci.ids |7 +-- linux-2.6.11-rc4-bk9-bjking1/include/linux/pci_ids.h |1 +

Re: [PATCH as470] Add a NOREPORTLUN blacklist flag

2005-02-21 Thread Patrick Mansfield
On Sun, Feb 20, 2005 at 10:47:09PM -0800, Matthew Dharm wrote: > On Sun, Feb 20, 2005 at 10:44:21PM -0500, Alan Stern wrote: > > Matt, it looks like the best way to solve this problem is to go back to > > the old strategy of always setting the SCSI revision to 2 (no matter what > > it might actual