- 18 Jun, 2004 4 commits
-
-
Jeremy Higdon authored
The BLIST_REPORTLUN2 blacklist item has exactly the behavior that the MYLEX DACARMRB (and SGI TP9100, which is really a 2Gb upgrade to the DACARMRB) need. These devices use a PQ of 1 instead of 3 for unconfigured luns, which means that every RAID has 32 luns, many or most of which are just phantoms. However, it does support Report Luns, and it returns the correct data. Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
James Bottomley authored
The object of this infrastructure is to give HBAs early warning that error handling is about to happen and also provide them with the opportunity to do something about it. It introduces the extra template callback: eh_timed_out() which scsi_times_out() will call if it is populated to notify the LLD that an outstanding command took a timeout. There are three possible returns: EH_HANDLED: I've fixed the problem, please complete the command for me (as soon as the timer fires, scsi_done will do nothing, so the timer itself will call a special version of scsi_done that doesn't check the timer). EH_NOT_HANDLED: Invoke error recovery as normal EH_RESET_TIMER: The command will complete, reset the timer to its original value and start it ticking again. Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com> Based on work by Christoph Hellwig and Luben Tuikov
-
Alan Cox authored
I've been going through Mark's changes with a fine toothcomb and this merges most of them. Its tested on 64bit SMP hardware and seems to be fine. There are a couple of Mark's changes I've left out for now but there isnt really an easy way to break down the changes further. This fixes a whole host of problems including random hangs under high load Signed-off-by: Alan Cox <alan@redhat.com> Original contribution under GPL from Adaptec, updates checking by Red Hat Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
James Bottomley authored
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
- 16 Jun, 2004 2 commits
-
-
James Bottomley authored
From: Douglas Gilbert <dougg@torque.net> Changes in version 1.73: - 'num_parts' parameter to specify 0 to 4 partitions - 'ptype' to specify (or change via sysfs) SCSI peripheral device type - support ability to increase the number of targets and/or luns then re-scan a scsi_debug host - remove redundant trailing spaces The new facilties are described at: http://www.torque.net/sg/sdebug26.html A tarball of driver (version 1.73) is also there. Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com> (conflict resolution)
-
James Bottomley authored
Spotted By: Andrew Morton <akpm@osdl.org> drivers/scsi/scsi_transport_spi.c: In function `spi_dv_retrain': drivers/scsi/scsi_transport_spi.c:393: warning: `period' might be used uninitialized in this function Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
- 15 Jun, 2004 8 commits
-
-
James Bottomley authored
If the driver doesn't update the peroid, we go around forever. The fix is to keep our old period unless the driver returns a greater one. Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
James Bottomley authored
-
Randy Dunlap authored
Eliminate unused function wd7000_abort() in wd7000 driver. CC [M] drivers/scsi/wd7000.o drivers/scsi/wd7000.c:1612: warning: `wd7000_abort' defined but not used As the author states in his comment, this is "unfinished business" ;-) From: Mika Kukkonen <mika@osdl.org> Signed-off-by: Randy Dunlap <rddunlap@osdl.org> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
Adrian Bunk authored
On Mon, Jun 14, 2004 at 08:22:15PM +0100, Christoph Hellwig wrote: > On Mon, Jun 14, 2004 at 08:52:56PM +0200, Adrian Bunk wrote: > > The issue described in the mail forwarded below is still present in > > 2.6.7-rc3-mm2 (but not specific to -mm). > > > > I'd suggest the following workaround: > > Please add the exports instead. It'll affect all the other 53C9X-based > drivers aswell. This sounds like a better solution. Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
Andrew Morton authored
From: "Robert T. Johnson" <rtjohnso@eecs.berkeley.edu> Since arg is a user pointer, so are uioc_mimd and uiocp, and hence umc is a user pointer. Thus reading umc->xferaddr requires dereferencing a user pointer, which isn't safe. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
Guennadi Liakhovetski authored
> Although, I think, there's still a glitch there (modified if's order). > I'll send a new version, if the approach is approved in principle. Ok, attached is version 3:-) It also fixes a definite (although, perhaps, harmless) bug in scsiiom.c. And removes a redundant assignment in tmscsim.c. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
Christoph Hellwig authored
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
Christoph Hellwig authored
- qlogicfc.c abuses SCSI_TIEMOUT although it's not part of the scsi core, give it it's own ISP_TIMEOUT define - avoid redefining timeouts #ifdef DEBUG, that's a cause for heisenbugs just waiting to happen - now SCSI_TIMEOUT is private to scsi_scan.c, move it there Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
- 14 Jun, 2004 13 commits
-
-
Chris Wright authored
Add proper __user annotation to selinux_shm_shmat. From: Mika Kukkonen <mika@osdl.org> Signed-off-by: Chris Wright <chrisw@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Chris Wright authored
Add proper __user annotation to dummy_shm_shmat. Signed-off-by: Chris Wright <chrisw@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Chris Wright authored
Add proper __user annotation for shm_shmat hook in security.h. From: Mika Kukkonen <mika@osdl.org> Signed-off-by: Chris Wright <chrisw@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Chris Wedgwood authored
Some filesystems can get overflows when their link-count exceeds 65534. This patch increases the kernels internal resolution for this and also has a check for the old-system call paths to return and error (-EOVERFLOW) as required (as suggested by Al Viro). Signed-off-by: Chris Wedgwood <cw@f00f.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Linus Torvalds authored
This patch results in too much idle time under certain loads, and while that is being looked into we're better off just reverting the change. Cset exclude: nickpiggin@yahoo.com.au[torvalds]|ChangeSet|20040605175839|02419
-
bk://kernel.bkbits.net/davem/net-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
bk://kernel.bkbits.net/davem/sparc-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
David S. Miller authored
into kernel.bkbits.net:/home/davem/sparc-2.6
-
Harald Welte authored
This patch fixes orphaned expectations, which can occur when helpers create expectations for unconfirmed conntracks and the packet is dropped before the conntrack is confirmed. Signed-off-by: Phil Oester <kernel@linuxace.com> Signed-off-by: Harald Welte <laforge@netfilter.org> Signed-off-by: David S. Miller <davem@redhat.com>
-
Harald Welte authored
Tracked down by Raivis Bucis <raivis@mt.lv> This patch fixes an oops while listing /proc/net/ip_conntrack. When a helper sets up expectations based on the first packet (tftp), NAT can still change the packet and cause conntrack to look for a new helper based on the new tuple. When no helper is found, expectant->helper will be NULL, which leads to an oops in print_expect(). Only assign a new helper in ip_conntrack_alter_reply() if there are no expectations. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: Harald Welte <laforge@netfilter.org> Signed-off-by: David S. Miller <davem@redhat.com>
-
Harald Welte authored
Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: Harald Welte <laforge@netfilter.org> Signed-off-by: David S. Miller <davem@redhat.com>
-
Hideaki Yoshifuji authored
[IPV6] IPSEC: fix double kfree_skb() in error path. (reported by Ken-ichirou MATSUZAWA <chamas@h4.dion.ne.jp>) Signed-off-by: Yoshifuji Hideaki <yoshfuji@linux-ipv6.org> Signed-off-by: David S. Miller <davem@redhat.com>
-
bk://bk.arm.linux.org.uk/linux-2.6-rmkLinus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
- 15 Jun, 2004 1 commit
-
-
Russell King authored
This fixes build errors in EBSA110, and updates the default configuration.
-
- 14 Jun, 2004 7 commits
-
-
bk://linux-dj.bkbits.net/cpufreqLinus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
http://jfs.bkbits.net/linux-2.5Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
Andrew Morton authored
From: Benjamin Herrenschmidt <benh@kernel.crashing.org> Patch fixes out_be64 implementation on ppc64 along with a glich in out_be32 (inconsistent) use of barrier. Signed-off-by: Roland Dreier <roland@topspin.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Andrew Morton <akpm@osdl.org>
-
Randy Dunlap authored
Nick changed shrink_cache() to void, but one call was missed. From: Mika Kukkonen <mika@osdl.org> Signed-off-by: Randy Dunlap <rddunlap@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Andrew Morton authored
From: Nick Piggin <nickpiggin@yahoo.com.au> nfs_writepage() refuses to write back mapped pages at all on the page reclaim path, causing systems to get locked up when there's a lot of dirty mmapped data around. The patch changes NFS so that it will start I/O against these pages. The code as it stands is designed to defer writeout to pdflush which can do larger, more efficient I/Os. But there shouldn't be much traffic by this path, and going slow is better than not going at all. Patch originally from Trond. Signed-off-by: Trond Myklebust <trond.myklebust@fys.uio.no> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Andi Kleen authored
VIA chipsets are broken and don't work with IOMMU enabled. For some mysterious reason (the IOMMU logic is actually in the CPU) they manage to corrupt all data going through the aperture to PCI devices. There was a workaround previously that enabled the slower softmmu when VIA is detected on the normal IOMMU path (when there is more than 3GB of memory). But CONFIG_IOMMU_DEBUG took a short cut that was not handled, which ended up with VIA systems not booting when this option is enabled. This patch enables the workaround with CONFIG_IOMMU_DEBUG/iommu=force too
-
bk://kernel.bkbits.net/davem/tg3-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
- 13 Jun, 2004 5 commits
-
-
Dave Jones authored
into delerium.codemonkey.org.uk:/mnt/data/src/bk/cpufreq
-
bk://bk.linux1394.org/ieee1394-2.6Linus Torvalds authored
into evo.osdl.org:/home/torvalds/v2.6/linux
-
Ben Collins authored
Signed-off-by: Ben Collins <bcollins@debian.org>
-
Ben Collins authored
Signed-off-by: Ben Collins <bcollins@debian.org>
-
Ben Collins authored
Signed-off-by: Ben Collins <bcollins@debian.org>
-