]> git.neil.brown.name Git - history.git/log
history.git
22 years agoMerge nuts.davemloft.net:/disk1/BK/network-2.6
David S. Miller [Sun, 14 Mar 2004 13:54:33 +0000 (05:54 -0800)]
Merge nuts.davemloft.net:/disk1/BK/network-2.6
into nuts.davemloft.net:/disk1/BK/net-2.6

22 years agoMerge http://nfsclient.bkbits.net/linux-2.5
Linus Torvalds [Sun, 14 Mar 2004 06:01:38 +0000 (22:01 -0800)]
Merge http://nfsclient.bkbits.net/linux-2.5
into ppc970.osdl.org:/home/torvalds/v2.5/linux

22 years agoMerge http://nfsclient.bkbits.net/linux-2.5
Trond Myklebust [Sun, 14 Mar 2004 11:12:36 +0000 (06:12 -0500)]
Merge http://nfsclient.bkbits.net/linux-2.5
into fys.uio.no:/home/linux/bitkeeper/nfsclient-2.5

22 years ago[PATCH] Fix voyager to boot again
James Bottomley [Sun, 14 Mar 2004 05:50:32 +0000 (21:50 -0800)]
[PATCH] Fix voyager to boot again

The very early memory detection patch broke voyager.

This fixes it again.

22 years ago[PATCH] __kill_pg_info() return value fix
Andrew Morton [Sun, 14 Mar 2004 05:50:10 +0000 (21:50 -0800)]
[PATCH] __kill_pg_info() return value fix

Fix a bug which was spotted by Alex Lyashkov <shadow@psoft.net>

The fairly unobvious coding in __kill_pg_info() will cause a zero value to be
incorrectly returned if the second or succeeding call to
group_send_sig_info() returns an error.

22 years ago[PATCH] s390: update for altered page_state structure
Andrew Morton [Sun, 14 Mar 2004 05:49:59 +0000 (21:49 -0800)]
[PATCH] s390: update for altered page_state structure

From: Olaf Hering <olh@suse.de>

This patch is needed on s390.

22 years ago[PATCH] move consistent_dma_mask to the generic device
Andrew Morton [Sun, 14 Mar 2004 05:49:48 +0000 (21:49 -0800)]
[PATCH] move consistent_dma_mask to the generic device

From: James Bottomley <James.Bottomley@SteelEye.com>

pci_dev.consistent_dma_mask was introduced to get around problems in the
IA64 Altix machine.

Now, we have a use for it in x86: the aacraid needs coherent memory in a
31 bit address range (2GB).  Unfortunately, x86 is converted to the dma
model, so it can't see the pci_dev by the time coherent memory is
allocated.

The solution to all of this is to move pci_dev.consistent_dma_mask to
dev.coherent_dma_mask and make x86 use it in the dma_alloc_coherent()
calls.

This should allow me to make the aacraid set the coherent mask instead
of using it's current dma_mask juggling.

22 years ago[PATCH] PA-RISC update
Matthew Wilcox [Sun, 14 Mar 2004 02:28:18 +0000 (18:28 -0800)]
[PATCH] PA-RISC update

Updates for 2.6.4 for PARISC:

 - defconfigs (Randolph Chung)
 - copyright updates (Grant Grundler)
 - Fix DOS hole in sys_clone (James Bottomley)
 - missing hardware ID (Andy Walker)
 - disable interrupts during cache-flushes (LaMont Jones)
 - Fix crash on machines with <256MB ram (Randolph Chung)
 - Make SuckyIO IDE work better (Randolph Chung)
 - Align data_start so the extable is writable (Randolph Chung)
 - Extensive rewrite of virtual merging code (James Bottomley)
 - Fix EISA, non-PCI module builds (Matthew Wilcox)
 - Fix Elroy PCI config space byte & word writes (Grant Grundler)
 - Eliminate a warning in parport_gsc (Helge Deller)
 - Fix endian problem with ide mmio macros (Randolph Chung)
 - Delete asm/keyboard.h (Matthew Wilcox)
 - Delete asm/md.h (Grant Grundler)
 - Eliminate a warning in ALSA harmony (Matthew Wilcox)

22 years agoMerge http://linux-sound.bkbits.net/linux-sound
Linus Torvalds [Sun, 14 Mar 2004 02:16:37 +0000 (18:16 -0800)]
Merge http://linux-sound.bkbits.net/linux-sound
into ppc970.osdl.org:/home/torvalds/v2.5/linux

22 years agoMerge bk://linux-acpi.bkbits.net/linux-acpi-release-2.6.5
Linus Torvalds [Sun, 14 Mar 2004 01:11:57 +0000 (17:11 -0800)]
Merge bk://linux-acpi.bkbits.net/linux-acpi-release-2.6.5
into ppc970.osdl.org:/home/torvalds/v2.5/linux

22 years agoMerge bk://linux-scsi.bkbits.net/scsi-for-linus-2.6
Linus Torvalds [Sun, 14 Mar 2004 01:09:58 +0000 (17:09 -0800)]
Merge bk://linux-scsi.bkbits.net/scsi-for-linus-2.6
into ppc970.osdl.org:/home/torvalds/v2.5/linux

22 years ago[PATCH] gcc-3.5 libata build fix
Andrew Morton [Sun, 14 Mar 2004 01:05:57 +0000 (17:05 -0800)]
[PATCH] gcc-3.5 libata build fix

drivers/scsi/sata_vsc.c: In function `vsc_sata_interrupt':
include/linux/libata.h:414: sorry, unimplemented: inlining failed in call to 'ata_host_intr': function body not available
drivers/scsi/sata_vsc.c:187: sorry, unimplemented: called from here

22 years ago[PATCH] module unload deadlock fix
Andrew Morton [Sun, 14 Mar 2004 01:05:48 +0000 (17:05 -0800)]
[PATCH] module unload deadlock fix

From: Rusty Russell <rusty@rustcorp.com.au>

From: Andrea Arcangeli <andrea@suse.de>

We should drop module sem before calling mod->exit, for practical reasons:
too many module exit functions oops or hang, resulting in a permenantly held
module sem, which blocks all module ops including lsmod.

22 years ago[PATCH] DMA: Fill gaping hole in DMA API interfaces.
Andrew Morton [Sun, 14 Mar 2004 01:05:37 +0000 (17:05 -0800)]
[PATCH] DMA: Fill gaping hole in DMA API interfaces.

From: "David S. Miller" <davem@redhat.com>

Currently, for an existing DMA mapping, there is a way to transfer buffer
ownership back to the cpu, yet there is no way to give it back to the device
again explicitly.  The latter really is needed on platforms where the PCI
subsystem does not snoop the cpu caches, MIPS is one example.

Many drivers were expecting the existing DMA sync interface to handle both
directions, which was wrong.

Now, with this change, we have explicit interfaces for DMA syncing to/from
the device and the cpu.

22 years ago[PATCH] Add Domain Validation to 53c700 driver
James Bottomley [Sat, 13 Mar 2004 19:40:13 +0000 (14:40 -0500)]
[PATCH] Add Domain Validation to 53c700 driver

This simply throws out the 53c700 driver's optimistic setting of the
best possible transport parameters and replaces it with DV
determination.  It also adds a missing report_bus_reset() callback and
finally does a delayed DV on device errors.

22 years agoALSA CVS update - Takashi Iwai <tiwai@suse.de>
Jaroslav Kysela [Sat, 13 Mar 2004 19:21:37 +0000 (20:21 +0100)]
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
ALSA Core
fixed the wrong release of id proc file.

22 years agoALSA CVS update - Takashi Iwai <tiwai@suse.de>
Jaroslav Kysela [Sat, 13 Mar 2004 19:21:14 +0000 (20:21 +0100)]
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
ALSA Core
added the new magic numbers for atiixp and au88x0 drivers.

22 years agoALSA CVS update - Takashi Iwai <tiwai@suse.de>
Jaroslav Kysela [Sat, 13 Mar 2004 19:20:53 +0000 (20:20 +0100)]
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
Documentation,PCI drivers,Intel8x0-modem driver
added Intel-compatible onboard MC97 modem driver
by Sasha Khapyorsky <sashak@smlink.com>

22 years agoALSA CVS update - Takashi Iwai <tiwai@suse.de>
Jaroslav Kysela [Sat, 13 Mar 2004 19:20:29 +0000 (20:20 +0100)]
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
Documentation,PCI drivers,ATIIXP driver
added snd-atiixp driver for the ATI IXP150/200/250 AC97 controllers.

22 years agoALSA CVS update - Takashi Iwai <tiwai@suse.de>
Jaroslav Kysela [Sat, 13 Mar 2004 19:20:04 +0000 (20:20 +0100)]
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
MIXART driver
fixed the compile warning.

22 years agoALSA CVS update - Takashi Iwai <tiwai@suse.de>
Jaroslav Kysela [Sat, 13 Mar 2004 19:19:40 +0000 (20:19 +0100)]
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
EMU10K1/EMU10K2 driver
disabled Dell OEM Emu10k1x from the pci id list.
the board isn't compatible with the normal emu10k1.

22 years agoALSA CVS update - Takashi Iwai <tiwai@suse.de>
Jaroslav Kysela [Sat, 13 Mar 2004 19:19:16 +0000 (20:19 +0100)]
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
au88x0 driver
removed EXPORT_NO_SYMBOLS.

22 years agoALSA CVS update - Takashi Iwai <tiwai@suse.de>
Jaroslav Kysela [Sat, 13 Mar 2004 19:18:52 +0000 (20:18 +0100)]
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
PPC Tumbler driver
fixed the info callback of mixer input source (for enum type).

22 years agoALSA CVS update - Takashi Iwai <tiwai@suse.de>
Jaroslav Kysela [Sat, 13 Mar 2004 19:18:28 +0000 (20:18 +0100)]
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
USB generic driver
added fix and workaround for the mixer problem on SB Extigy.

22 years agoALSA CVS update - Takashi Iwai <tiwai@suse.de>
Jaroslav Kysela [Sat, 13 Mar 2004 19:18:02 +0000 (20:18 +0100)]
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
Documentation
fixed the files to include.

22 years agoALSA CVS update - Takashi Iwai <tiwai@suse.de>
Jaroslav Kysela [Sat, 13 Mar 2004 19:17:41 +0000 (20:17 +0100)]
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
Documentation
changed the description of the buffer allocation routines
for the new designed functions.

22 years agoALSA CVS update - Takashi Iwai <tiwai@suse.de>
Jaroslav Kysela [Sat, 13 Mar 2004 19:17:18 +0000 (20:17 +0100)]
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
PPC Tumbler driver
added input source switch to select mic/line-in.

22 years agoALSA CVS update - Takashi Iwai <tiwai@suse.de>
Jaroslav Kysela [Sat, 13 Mar 2004 19:16:54 +0000 (20:16 +0100)]
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
Documentation,PCI drivers,au88x0 driver
added the au88x0 drivers for Aureal soundcards by Manuel Jander <mjander@embedded.cl>

22 years agoALSA CVS update - Takashi Iwai <tiwai@suse.de>
Jaroslav Kysela [Sat, 13 Mar 2004 19:16:24 +0000 (20:16 +0100)]
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
VIA82xx driver
patch was applied wrongly.  fixed the rate restriction of spdif output
again.

22 years agoALSA CVS update - Jaroslav Kysela <perex@suse.cz>
Jaroslav Kysela [Sat, 13 Mar 2004 19:16:02 +0000 (20:16 +0100)]
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
DT019x driver
Fixed warnings

22 years agoALSA CVS update - Takashi Iwai <tiwai@suse.de>
Jaroslav Kysela [Sat, 13 Mar 2004 19:15:42 +0000 (20:15 +0100)]
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
VIA82xx driver
restrict the PCM sample rates to 32, 44.1 and 48kHz when the SPDIF
switch is on.

22 years agoALSA CVS update - Clemens Ladisch <clemens@ladisch.de>
Jaroslav Kysela [Sat, 13 Mar 2004 19:15:17 +0000 (20:15 +0100)]
ALSA CVS update - Clemens Ladisch <clemens@ladisch.de>
USB generic driver
prevent twenty-seconds wait when unplugging USB MIDI device with a port subscription

22 years agoALSA CVS update - Clemens Ladisch <clemens@ladisch.de>
Jaroslav Kysela [Sat, 13 Mar 2004 19:14:53 +0000 (20:14 +0100)]
ALSA CVS update - Clemens Ladisch <clemens@ladisch.de>
USB generic driver
show one decimal place of momentary frequency in proc file

22 years agoALSA CVS update - Clemens Ladisch <clemens@ladisch.de>
Jaroslav Kysela [Sat, 13 Mar 2004 19:14:31 +0000 (20:14 +0100)]
ALSA CVS update - Clemens Ladisch <clemens@ladisch.de>
USB generic driver
use MIN_PACKS_URB as lower bound for nrpacks parameter

22 years agoALSA CVS update - Clemens Ladisch <clemens@ladisch.de>
Jaroslav Kysela [Sat, 13 Mar 2004 19:14:09 +0000 (20:14 +0100)]
ALSA CVS update - Clemens Ladisch <clemens@ladisch.de>
ALSA sequencer,ALSA<-OSS sequencer
use wrapper function for DELETE_PORT ioctl calls

22 years agoALSA CVS update - Clemens Ladisch <clemens@ladisch.de>
Jaroslav Kysela [Sat, 13 Mar 2004 19:13:13 +0000 (20:13 +0100)]
ALSA CVS update - Clemens Ladisch <clemens@ladisch.de>
ALSA sequencer
remove superfluous call to snd_seq_event_port_detach

22 years agoMerge suse.cz:/home/perex/bk/linux-sound/linux-2.5
Jaroslav Kysela [Sat, 13 Mar 2004 18:41:34 +0000 (19:41 +0100)]
Merge suse.cz:/home/perex/bk/linux-sound/linux-2.5
into suse.cz:/home/perex/bk/linux-sound/linux-sound

22 years agoMerge http://nfsclient.bkbits.net/linux-2.5
Trond Myklebust [Sat, 13 Mar 2004 18:01:02 +0000 (13:01 -0500)]
Merge http://nfsclient.bkbits.net/linux-2.5
into fys.uio.no:/home/linux/bitkeeper/nfsclient-2.5

22 years agoMerge http://nfsclient.bkbits.net/linux-2.5
Trond Myklebust [Sat, 13 Mar 2004 17:18:24 +0000 (12:18 -0500)]
Merge http://nfsclient.bkbits.net/linux-2.5
into fys.uio.no:/home/linux/bitkeeper/nfsclient-2.5

22 years ago[WATCHDOG] v2.6.4 notifier_block-patches
Wim Van Sebroeck [Sun, 14 Mar 2004 00:49:53 +0000 (01:49 +0100)]
[WATCHDOG] v2.6.4 notifier_block-patches

Remove unnecessary initialization in notifier_block

22 years agoWATCHDOG] v2.6.4 wdt977-v0.03-patch
Wim Van Sebroeck [Sun, 14 Mar 2004 00:38:29 +0000 (01:38 +0100)]
WATCHDOG] v2.6.4 wdt977-v0.03-patch

Version 0.03 of wdt977.c - Changes that were made are:
* Extract the stop code in a seperate function (wdt977_stop)
* Extract the start code in a seperate function (wdt977_start)
* Rename kick_wdog to wdt977_keepalive for consistency
* Extract the watchdog's status code to a seperate function (wdt977_get_status)
* Change the way we deal with the watchdog timeout:
   Up till now we used timeoutM (in minutes) as the correct value and then
   calculated timeout as being timeoutM*60 or *timeoutM*120 (depending on
   wether or not we have the netwinder hardware bug).

   From now on timeout is the correct value and we calculate timeoutM out
   of it. Because of this we start with checking wether or not we have a
   correct timeout value (if not we reset it to the default value) and we
   automatically calculate timeoutM. Each time we change timeout with a
   correct timeout value, we recalculate timeoutM.
* Extended ioctl code with WDIOC_SETOPTIONS and updated the watchdog_info structure
* Added notifier support

Code has been tested by Woody

22 years ago[WATCHDOG] v2.6.4 pcwd_pci-v1.00_20040313-patch
Wim Van Sebroeck [Sun, 14 Mar 2004 00:31:12 +0000 (01:31 +0100)]
[WATCHDOG] v2.6.4 pcwd_pci-v1.00_20040313-patch

Two small fixes:
* Make cards_found a global variable so that if we remove the
  pci device we can count down.
* If we can't find a correct I/O address for the card, then we
should disable the card again.

22 years agoakpm@odsl.org: For complex reasons it is not possible to hold i_sem in nfs_update_ino...
Trond Myklebust [Sat, 13 Mar 2004 17:10:52 +0000 (12:10 -0500)]
akpm@odsl.org: For complex reasons it is not possible to hold i_sem in nfs_update_inode().
Hence the i_size_write() in there is deadlocky.  Go back to the old way.

22 years agoFrom: <martin@meltin.net>
Trond Myklebust [Sat, 13 Mar 2004 17:07:59 +0000 (12:07 -0500)]
From: <martin@meltin.net>

Forward-port from 2.4:

The following patch pulls an NFS server IP address off root_server_path
(handed out via the DHCP root-path option), if it is present.  For example,
you can do this sort of thing in dhcpd.conf:

  root-path = 192.168.1.33:/tftpboot/yip.zImage

This lets you mount your root filesystem off a different machine than you
booted from, without needing to use kernel command-line parameters.

The patch appears to be backwards compatible.

RFC2132 says this about the root-path option:

   This option specifies the path-name that contains the client's root
   disk.  The path is formatted as a character string consisting of
   characters from the NVT ASCII character set.

This is sufficiently vague to allow the path-name to include an IP-address.
Also, I found some documentation for FreeBSD saying it does this too, so it
must be right, because those FreeBSD guys are really smart...  :-)

The only downside of the patch is that the summary that ipconfig prints can
be a little odd when the kernel command line overrides whatever ipconfig gets
from (say) DHCP.  The address from the kernel command line seems to get
stripped off early, so ipconfig reports it, but it doesn't report the kernel
command line NFS path, since that's handled a bit later...  This small
cosmetic problem looks difficult to "fix" without rewriting quite a bit of
stuff...

22 years agoNFS: From the suse kenrel RPM: handle ENOMEM from nfs_fhget().
Trond Myklebust [Sat, 13 Mar 2004 17:04:55 +0000 (12:04 -0500)]
NFS: From the suse kenrel RPM: handle ENOMEM from nfs_fhget().

22 years agoNFSv4: Fix a list corruption in the NFSv4 state engine.
Trond Myklebust [Sat, 13 Mar 2004 17:01:26 +0000 (12:01 -0500)]
NFSv4: Fix a list corruption in the NFSv4 state engine.

22 years agoNFSv2: Fix up NFSv2 reads so that they report when the server returned a short
Trond Myklebust [Sat, 13 Mar 2004 17:00:15 +0000 (12:00 -0500)]
NFSv2: Fix up NFSv2 reads so that they report when the server returned a short
       read due to EOF.

22 years agoRPC: patch by Chuck Lever to make the number of RPC slots a tunable parameter.
Trond Myklebust [Sat, 13 Mar 2004 16:59:23 +0000 (11:59 -0500)]
RPC: patch by Chuck Lever to make the number of RPC slots a tunable parameter.
     This is wanted in order to allow the NFS client to send more requests before
     is has to block and wait for replies.
     This is mainly useful if you have a WAN and want to ensure that the bandwidth
     is being used efficiently.

22 years agoRPC,NFSv3: remove the redundant "memset()" in call_encode(). Fix up the only places
Trond Myklebust [Sat, 13 Mar 2004 16:53:43 +0000 (11:53 -0500)]
RPC,NFSv3: remove the redundant "memset()" in call_encode(). Fix up the only places
    where this causes a padding error: xdr_encode_fhandle() and unx_marshal()

22 years agoNFSv2/v3 locking: A patch to ensure that blocks which are not going to time out
Trond Myklebust [Sat, 13 Mar 2004 16:52:33 +0000 (11:52 -0500)]
NFSv2/v3 locking: A patch to ensure that blocks which are not going to time out
    are placed last on the ordered list nlm_block (problem reported by Olaf
    Kirch).

22 years agoNFSv2/v3 locking: Patch by Patrice Dumas to ensure that the server index blocks uniquely
Trond Myklebust [Sat, 13 Mar 2004 16:51:10 +0000 (11:51 -0500)]
NFSv2/v3 locking: Patch by Patrice Dumas to ensure that the server index blocks uniquely
    by using the client address in addition to the value of the NLM cookie field.

22 years agoNFSv2/v3 locking: Patch by Patrice Dumas that adds a check to ensure we really
Trond Myklebust [Sat, 13 Mar 2004 16:49:51 +0000 (11:49 -0500)]
NFSv2/v3 locking: Patch by Patrice Dumas that adds a check to ensure we really
    were requesting a blocking lock when we get a reply from the server asking us to
    block.

22 years agoNFSv2/v3 locking: Patch by Patrice Dumas to implement nlmsvc_proc_granted_res.
Trond Myklebust [Sat, 13 Mar 2004 16:48:42 +0000 (11:48 -0500)]
NFSv2/v3 locking: Patch by Patrice Dumas to implement nlmsvc_proc_granted_res.
    When a server receives that callback it should deallocate the corresponding blocked
    lock using the nlmsvc_grant_reply function.

22 years agoNFSv2/v3/v4: Parenthesize #defines in nfs?xdr.c. Fix an off-by-one error on the value
Trond Myklebust [Sat, 13 Mar 2004 16:47:36 +0000 (11:47 -0500)]
NFSv2/v3/v4: Parenthesize #defines in nfs?xdr.c. Fix an off-by-one error on the value
     of compound_decode_hdr_maxsz.
NFSv4: fix a printk() typo (spotted by Linda Dunaphant).
NFSv4: Ensure that nfs4_open_reclaim() copies the value of the new stateid back into
     the shared nfsv4 state structure.
NFSv4: Don't leak NFS4ERR_WRONGSEC errors back into nfs_lookup().
RPC,NFS,Lockd: Mark the debugging code as "unlikely" so that gcc moves it out of the
     mainline code paths.

22 years agoRPC,NFSv2/v3/v4: Ensure that xprt_create_proto() and rpc_create_client() return
Trond Myklebust [Sat, 13 Mar 2004 16:45:10 +0000 (11:45 -0500)]
RPC,NFSv2/v3/v4: Ensure that xprt_create_proto() and rpc_create_client() return
     full error codes. Should allow the "mount" program to print more useful error
     diagnostics.

22 years agoRPC: Ensure that we have the correct capabilities when binding a socket to a reserved
Trond Myklebust [Sat, 13 Mar 2004 16:43:28 +0000 (11:43 -0500)]
RPC: Ensure that we have the correct capabilities when binding a socket to a reserved
     port. Fixes a privilege bug when CONFIG_SECURITY is set.
RPC: When trying to reconnect to a TCP port, try to bind() to the last used port number
     in order to ensure that the servers NFS replay cache recognizes this as being the
     same mount as before.

22 years agoRPC: Sync rpc_set_timeo() up to the 2.4.x version. In particular, this will
Trond Myklebust [Sat, 13 Mar 2004 16:40:04 +0000 (11:40 -0500)]
RPC: Sync rpc_set_timeo() up to the 2.4.x version. In particular, this will
     ensure that the timeout shift is clamped to a maximum value of 8.

RPC: Fix by Olaf Kirch to the rpc scheduler to ensure sync tasks respect the
     "intr" mount flag.

22 years agoRPC: Make XIDs unique on a per-transport basis rather than globally unique. Gets rid
Trond Myklebust [Sat, 13 Mar 2004 16:38:41 +0000 (11:38 -0500)]
RPC: Make XIDs unique on a per-transport basis rather than globally unique. Gets rid
     of an unnecessary global spinlock.

22 years agoNFSv2/v3/v4: A patch by Greg Banks that fixes the "VFS: Busy inodes after unmount."
Trond Myklebust [Sat, 13 Mar 2004 16:37:29 +0000 (11:37 -0500)]
NFSv2/v3/v4: A patch by Greg Banks that fixes the "VFS: Busy inodes after unmount."
     problem.

22 years agoNFSv2/v3/v4: Ensure that fsync() flushes all writebacks to disk rather than just the
Trond Myklebust [Sat, 13 Mar 2004 16:36:38 +0000 (11:36 -0500)]
NFSv2/v3/v4: Ensure that fsync() flushes all writebacks to disk rather than just the
      ones labelled as belonging to our file. This fixes a bug in which msync(MS_SYNC)
      will fail to flush the pages to disk.

22 years agoNFSv2/v3: Ensure that we only use GETATTR+STATFS (NFSv2) and FSINFO (NFSv3) when
Trond Myklebust [Sat, 13 Mar 2004 16:34:29 +0000 (11:34 -0500)]
NFSv2/v3: Ensure that we only use GETATTR+STATFS (NFSv2) and FSINFO (NFSv3) when
     mounting. This should allow us to use AUTH_SYS credentials when mounting,
     (even when the user requests RPCSEC_GSS authentication) due to the hack
     described in RFC2623.

     Remove the broken NFS_INO_FAKE_ROOT hack.

22 years agoConfiguration: simplify configuration options. Automatically select RPCSEC_GSS
Trond Myklebust [Sat, 13 Mar 2004 16:28:35 +0000 (11:28 -0500)]
Configuration: simplify configuration options. Automatically select RPCSEC_GSS
      if NFSv4 is selected. Remove need for user to select SUNRPC_GSS, and the
      crypto options.
      Make NFSv3 a recommended option.

22 years agoNFSv2/v3/v4: New file writeout strategy. Defer writes until a flush
Trond Myklebust [Sat, 13 Mar 2004 16:26:56 +0000 (11:26 -0500)]
NFSv2/v3/v4: New file writeout strategy. Defer writes until a flush
      is requested by the application (or memory pressure).

22 years agoNFSv2/v3/v4: New attribute revalidation code that no
Trond Myklebust [Sat, 13 Mar 2004 16:25:33 +0000 (11:25 -0500)]
NFSv2/v3/v4: New attribute revalidation code that no
     longer relies on ctime for correctness in avoiding
     update races.

VFS: allow filesystems to disable inode_update_time() on
     a per-inode basis.

22 years ago[PATCH] Work around an AMD768MPX erratum
Andrew Morton [Sat, 13 Mar 2004 11:26:39 +0000 (03:26 -0800)]
[PATCH] Work around an AMD768MPX erratum

From: Andi Kleen <ak@suse.de>

This patch has been in the SuSE 2.4 kernel forever, but for some reason
never made it mainline.

It works around the infamous "only works stable when a mouse is plugged in"
problem some AMD 768MPX Dual Athlon chipsets have.  The problem happens
because the chipset can hang when PCI prefetch strides from a RAM page into
the VGA text buffer.  When a PS2 mouse is plugged in the BIOS reserves a
page before the VGA text buffer, which stops the prefetch early.

This patch always reserves this page when the chipset could be AMD768MPX.
This can be only done early in bootmem setup.  Because it's difficult to
scan the PCI bus that early it just always reserves this page when the CPU
is an Athlon.  Normally it should not make a difference because the BIOS
will have reserved that page anyways when a PS/2 mouse is plugged in.

22 years ago[PATCH] md: allow assembling of partitioned arrays at boot time.
Andrew Morton [Sat, 13 Mar 2004 11:26:28 +0000 (03:26 -0800)]
[PATCH] md: allow assembling of partitioned arrays at boot time.

From: NeilBrown <neilb@cse.unsw.edu.au>

kernel parameters:

   raid=partitionable
     will make all auto-detected md arrays partitionable

   md=d....
     will assemble an array as a partitionable array.

22 years ago[PATCH] md: use "shedule_timeout()" instead of yield()
Andrew Morton [Sat, 13 Mar 2004 11:26:18 +0000 (03:26 -0800)]
[PATCH] md: use "shedule_timeout()" instead of yield()

From: NeilBrown <neilb@cse.unsw.edu.au>

Use "shedule_timeout()" instead of yield() as it seems to wait for less
time.

22 years ago[PATCH] use wait_task_inactive() in kthread_bind()
Andrew Morton [Sat, 13 Mar 2004 11:26:09 +0000 (03:26 -0800)]
[PATCH] use wait_task_inactive() in kthread_bind()

From: Rusty Russell <rusty@rustcorp.com.au>

Make it clear that the reason we do wait_task_inactive is because
kthread_bind frobs with k->thread_info->cpu, which is only legal because
the task is definitely not running.

We can't use the normal migration thread code here, because it doesn't let
us bind to cpus which are offline yet, and also because we use this to
start the migration threads themselves.

22 years ago[PATCH] further __KERNEL_SYSCALLS__ removal
Andrew Morton [Sat, 13 Mar 2004 11:25:58 +0000 (03:25 -0800)]
[PATCH] further __KERNEL_SYSCALLS__ removal

From: Arnd Bergmann <arnd@arndb.de>

Dave Jones already removed some of the useless __KERNEL_SYSCALLS__ defines
in various files, this gets rid of almost all the others.  Replacing
execve() is nontrivial, so I left those in for now.

For all the other system calls that are currently used from inside the
kernel, calling the sys_* function directly should always have an identical
effect.

22 years ago[PATCH] Manfred's patch to distribute boot allocations across nodes
Andrew Morton [Sat, 13 Mar 2004 11:25:48 +0000 (03:25 -0800)]
[PATCH] Manfred's patch to distribute boot allocations across nodes

From: Anton Blanchard <anton@samba.org>

Distribute boot time memory allocations across all nodes, from Manfred
Spraul.

We want to spread memory across nodes to avoid all allocations ending
up on node 0.

Spreading boot time allocations around also helps us to avoid node 0
becoming the hot node.

I took it for a spin:

buddyinfo before:
Node 7, 0    2    1    1    0    2    1    2    1    2    1    2    741
Node 6, 0    0    0    2    0    2    1    1    2    2    2    2   1002
Node 5, 0    0    0    2    0    2    1    2    1    2    2    2   2006
Node 4, 0    0    0    2    0    2    1    2    1    2    2    2   2006
Node 3, 0    0    0    2    0    2    1    2    1    2    2    2   2006
Node 2, 0    0    0    2    0    2    1    2    1    2    2    2   2006
Node 1, 0    0    0    2    0    2    1    1    2    2    2    2   1002
Node 0, 0    0   38    7    0    1    1    1    0    0    0    0   1998

buddyinfo after:
Node 7, 0    1    0    1    1    1    1    0    0    0    1    2    738
Node 6, 0    1    0    1    1    1    0    1    0    0    2    2   1002
Node 5, 0    0    0    1    1    1    1    0    0    0    2    2   2006
Node 4, 0    1    0    1    0    1    1    0    0    0    2    2   2006
Node 3, 0    0    0    1    0    1    1    0    0    0    2    2   2005
Node 2, 0    1    0    0    0    0    0    1    0    0    2    2   2006
Node 1, 0    2    1    1    0    1    1    1    0    0    2    2   1002
Node 0, 0   20   45    8    3    0    1    1    1    1    0    1   2004

Change in free memory due to patch:

Node 7 -54.08 MB
Node 6  -6.33 MB
Node 5  -6.09 MB
Node 4  -6.14 MB
Node 3 -22.15 MB
Node 2  -6.05 MB
Node 1  -6.12 MB
Node 0 107.35 MB

As you can see we gained over 100MB on node 0.

22 years ago[PATCH] Use 64-bit counters for scheduler stats
Andrew Morton [Sat, 13 Mar 2004 11:25:38 +0000 (03:25 -0800)]
[PATCH] Use 64-bit counters for scheduler stats

From: Kingsley Cheung <kingsley@aurema.com>

A number of scheduler counters wrap around after 47 days.  The context-switch
counter can wrap around after considerably less time.

Convert them to 64-bit values.

22 years ago[PATCH] ppc64: fix NUMA compile with large cpumasks
Andrew Morton [Sat, 13 Mar 2004 11:25:29 +0000 (03:25 -0800)]
[PATCH] ppc64: fix NUMA compile with large cpumasks

From: Anton Blanchard <anton@samba.org>

The recent NUMA changes fail to compile with large cpumasks, we need to use
a temporary to get around the type checking.

22 years ago[PATCH] Fix removable USB drive oops
James Bottomley [Sat, 13 Mar 2004 08:48:36 +0000 (03:48 -0500)]
[PATCH] Fix removable USB drive oops

The actual problem reported was because there wasn't a corresponding
check on transport_classdev.class in the unregister.

However, on closer inspection I also turned up a nasty thinko in the
reference counting.  For reasons best known to the class code authors,
class devices have to obtain their own references to the devices they're
attached to which they release again in their .release routines, so you
have to remember to do a get_device() in the correct place after the
class_device_add().  I put comments in the code so that, hopefully, we
can avoid the problem in future.

22 years ago[PATCH] Add Domain Validation to the SPI transport class
James Bottomley [Sat, 13 Mar 2004 05:35:20 +0000 (00:35 -0500)]
[PATCH] Add Domain Validation to the SPI transport class

Domain Validation is a fairly essential element to the SCSI Parallel
Interface (although if you look very few drivers actually do it).  The
premise is that the Parallel Bus, being a transmission line, might not
be correctly tuned to the transfers you want do perform.  DV probes the
parameters of the transport until it finds a setting that works (for the
interested, see http://www.t10.org/ftp/t10/drafts/sdv/sdv-r08b.pdf)

The current code employs rather simplistic DV heuristics, although those
can be improved over time.  The change in scsi_scan.c is so that DV may
be done easily from the slave_configure routine, which is the most
natural place to begin.

22 years agoMerge bk://gkernel.bkbits.net/net-drivers-2.5
Linus Torvalds [Sat, 13 Mar 2004 00:21:58 +0000 (16:21 -0800)]
Merge bk://gkernel.bkbits.net/net-drivers-2.5
into ppc970.osdl.org:/home/torvalds/v2.5/linux

22 years agoMerge redhat.com:/spare/repo/linux-2.5
Jeff Garzik [Sat, 13 Mar 2004 04:11:14 +0000 (23:11 -0500)]
Merge redhat.com:/spare/repo/linux-2.5
into redhat.com:/spare/repo/net-drivers-2.5

22 years agoMerge intel.com:/home/lenb/src/linux-acpi-test-2.6.4
Len Brown [Fri, 12 Mar 2004 23:16:02 +0000 (18:16 -0500)]
Merge intel.com:/home/lenb/src/linux-acpi-test-2.6.4
into intel.com:/home/lenb/src/linux-acpi-test-2.6.5

22 years ago[ACPI] add boot parameters "acpi_osi=" and "acpi_serialize"
Len Brown [Fri, 12 Mar 2004 23:14:53 +0000 (18:14 -0500)]
[ACPI] add boot parameters "acpi_osi=" and "acpi_serialize"
  acpi_osi= will disable the _OSI method -- which by default
tells the BIOS to behave as if Windows is the OS.
  acpi_serialize is for debugging AE_ALREADY_EXISTS failures

22 years agoMerge intel.com:/home/lenb/src/linux-acpi-test-2.6.4
Len Brown [Fri, 12 Mar 2004 20:33:46 +0000 (15:33 -0500)]
Merge intel.com:/home/lenb/src/linux-acpi-test-2.6.4
into intel.com:/home/lenb/src/linux-acpi-test-2.6.5

22 years agoMerge intel.com:/home/lenb/bk/linux-2.6.5
Len Brown [Fri, 12 Mar 2004 20:24:10 +0000 (15:24 -0500)]
Merge intel.com:/home/lenb/bk/linux-2.6.5
into intel.com:/home/lenb/src/linux-acpi-test-2.6.5

22 years ago[blk carmel] fix bug, minor cleanups
Jeff Garzik [Fri, 12 Mar 2004 20:16:33 +0000 (15:16 -0500)]
[blk carmel] fix bug, minor cleanups

* the scan-channels message seemed to always give invalid output.
  Look at the constant, and discover we are sending another
  message entirely.  Fix the constant (CARM_MSG_IOCTL).

* s/MISC_SYNC_TIME/MISC_SET_TIME/

* list some additional messages

* bump version number

22 years ago[ACPI] ACPICA 20040311 from Bob Moore
Len Brown [Fri, 12 Mar 2004 19:35:17 +0000 (14:35 -0500)]
[ACPI] ACPICA 20040311 from Bob Moore

Fixed a problem where errors occurring during the parse phase of control
method execution did not abort cleanly.  For example, objects created
and installed in the namespace were not deleted.  This caused all
subsequent invocations of the method to return the AE_ALREADY_EXISTS
exception.

Implemented a mechanism to force a control method to "Serialized"
execution if the method attempts to create namespace objects.
(The root of the AE_ALREADY_EXISTS problem.)

Implemented support for the predefined _OSI "internal" control method.
Initial supported strings are "Linux", "Windows 2000", "Windows 2001",
and "Windows 2001.1", and can be easily upgraded for new strings as
necessary.  This feature allows Linux to execute
the fully tested, "Windows" code path through the ASL code

Global Lock Support:  Now allows multiple acquires and releases with any
internal thread.  Removed concept of "owning thread" for this special
mutex.

Fixed two functions that were inappropriately declaring large objects on
the CPU stack: ps_parse_loop() and ns_evaluate_relative().
Reduces the stack usage during method execution considerably.

Fixed a problem in the ACPI 2.0 FACS descriptor (actbl2.h) where the
S4Bios_f field was incorrectly defined as UINT32 instead of UINT32_BIT.

Fixed a problem where acpi_ev_gpe_detect() would fault
if there were no GPEs defined on the machine.

Implemented two runtime options:  One to force all control method
execution to "Serialized" to mimic Windows behavior, another to disable
_OSI support if it causes problems on a given machine.

22 years ago[ACPI] SMP poweroff (David Shaohua Li)
Len Brown [Fri, 12 Mar 2004 19:03:06 +0000 (14:03 -0500)]
[ACPI] SMP poweroff (David Shaohua Li)
http://bugzilla.kernel.org/show_bug.cgi?id=1141

22 years ago[netdrvr e100] fix stray skb pointer
Scott Feldman [Fri, 12 Mar 2004 16:40:45 +0000 (11:40 -0500)]
[netdrvr e100] fix stray skb pointer

* Not setting cb->skb = NULL after releasing skb to OS or during
  initialization of cbs.  Reported by Deepak Saxena
  [dsaxena@plexity.net].

22 years ago[PATCH] update the 53c700 use of transport attributes
James Bottomley [Fri, 12 Mar 2004 12:00:50 +0000 (07:00 -0500)]
[PATCH] update the 53c700 use of transport attributes

This patch just brings it up to date with the previous transport
attribute patch, moving it to the model where it sets the min/max of the
attribute if asked for something outside its range.  It also only makes
period and offset visible (it doesn't care about any of the others).

22 years ago[PATCH] more SPI transport attribute updates
James Bottomley [Fri, 12 Mar 2004 11:59:27 +0000 (06:59 -0500)]
[PATCH] more SPI transport attribute updates

This does three things

- Fix the signedness of the bit attributes (otherwise they show up as -1
when on, not 1)
- Make the period adjust to the closest value rather than ignoring
values it doesn't understand.
- Add a visibility field to attributes, so drivers can get rid of
attributes they're never going to care about

22 years ago[PATCH] add device quiescing to the SCSI API
James Bottomley [Fri, 12 Mar 2004 11:52:52 +0000 (06:52 -0500)]
[PATCH] add device quiescing to the SCSI API

This patch adds the ability to quiesce a SCSI device.  The idea is that
user issued commands (including filesystem ones) would get blocked,
while mid-layer and device issued ones would be allowed to proceed.
This is for things like Domain Validation which like to operate on an
otherwise quiet device.

There is one big change: to get all of this to happen correctly,
scsi_do_req() has to queue on the *head* of the request queue, not the
tail as it was doing previously.  The reason is that deferred requests
block the queue, so anything needing executing after a deferred request
has to go in front of it.  I don't think there are any untoward
consequences of this.

22 years ago[PATCH] add adapter support to aacraid driver (update)
Mark Haverkamp [Fri, 12 Mar 2004 11:29:49 +0000 (06:29 -0500)]
[PATCH] add adapter support to aacraid driver (update)

Mark S. said that there was another adapter added, and that they changed
the names of some boards.  Here is the updated version.

22 years ago[PATCH] sym2 2.1.18i
Matthew Wilcox [Fri, 12 Mar 2004 11:28:27 +0000 (06:28 -0500)]
[PATCH] sym2 2.1.18i

 - Correct a typo "mvram" -> "nvram".
 - Re-do the PQS/PDS support which I'd #if 0 out.  Should even work on
   multiple-domain boxes now ;-)
 - Move all the nvram definitions to sym_nvram.h (from Gerard's 2.1.19-pre3)
 - hcb_p -> struct sym_hcb *
 - sdev_p -> struct sym_device *
 - Delete a lot of unused macros from sym_misc.h
 - Move READ_BARRIER and WRITE_BARRIER definitions to sym_glue.h
 - SYM_CONF_NVRAM_WRITE_SUPPORT (from Gerard's 2.1.19-pre3).  Not enabled
   yet.
 - Fix some -W warnings (some courtesy of Adrian Bunk).

22 years ago[PATCH] aacraid driver patch
Mark Haverkamp [Fri, 12 Mar 2004 11:27:04 +0000 (06:27 -0500)]
[PATCH] aacraid driver patch

I submitted a patch last month for the aacraid driver's reset handler.
I left out setting function pointers in the adapter_ops structure for
the adapter_check_health element.

22 years agoMPT Fusion driver 3.01.01 update
James Bottomley [Fri, 12 Mar 2004 11:26:21 +0000 (06:26 -0500)]
MPT Fusion driver 3.01.01 update

From:  Moore, Eric Dean <Emoore@lsil.com>

This is an update for the MPT Fusion drivers 2.6 kernel.
Version 3.01.01.

This is a fix for poor performance in RAID Volumes.
The dvStatus was being cleared for hidden physical disks
when mptscsih_slave_destroy is called.

Also, I have fixed the warning comming from mptscsih_reset_timeouts.

22 years agoMerge kernel.bkbits.net:net-drivers-2.5
Jeff Garzik [Fri, 12 Mar 2004 09:21:45 +0000 (04:21 -0500)]
Merge kernel.bkbits.net:net-drivers-2.5
into redhat.com:/spare/repo/net-drivers-2.5

22 years ago[PATCH] 8139too assertions
Rene Herman [Fri, 12 Mar 2004 08:39:03 +0000 (03:39 -0500)]
[PATCH] 8139too assertions

22 years ago[PATCH] use netdev_priv() in drivers/net/ (others)
Randy Dunlap [Fri, 12 Mar 2004 08:35:25 +0000 (03:35 -0500)]
[PATCH] use netdev_priv() in drivers/net/ (others)

22 years ago[PATCH] use netdev_priv() in net/wan drivers
Randy Dunlap [Fri, 12 Mar 2004 08:35:17 +0000 (03:35 -0500)]
[PATCH] use netdev_priv() in net/wan drivers

22 years ago[PATCH] use netdev_priv() in fusion/mptlan
Randy Dunlap [Fri, 12 Mar 2004 08:35:10 +0000 (03:35 -0500)]
[PATCH] use netdev_priv() in fusion/mptlan

22 years ago[PATCH] use netdev_priv() in tap/tun/plip/loop/skel
Randy Dunlap [Fri, 12 Mar 2004 08:35:03 +0000 (03:35 -0500)]
[PATCH] use netdev_priv() in tap/tun/plip/loop/skel

22 years ago[PATCH] use netdev_priv() in net/wireless/ drivers
Randy Dunlap [Fri, 12 Mar 2004 08:34:55 +0000 (03:34 -0500)]
[PATCH] use netdev_priv() in net/wireless/ drivers

22 years ago[PATCH] use netdev_priv() in net/tokenring/ drivers
Randy Dunlap [Fri, 12 Mar 2004 08:34:48 +0000 (03:34 -0500)]
[PATCH] use netdev_priv() in net/tokenring/ drivers

22 years ago[PATCH] use netdev_priv() in net/tulip drivers
Randy Dunlap [Fri, 12 Mar 2004 08:34:40 +0000 (03:34 -0500)]
[PATCH] use netdev_priv() in net/tulip drivers