]> git.hungrycats.org Git - linux/log
linux
22 years agoLinux v2.5.43 v2.5.43
Linus Torvalds [Tue, 15 Oct 2002 13:29:37 +0000 (06:29 -0700)]
Linux v2.5.43

22 years ago[PATCH] AFS filesystem 2/2
David Howells [Tue, 15 Oct 2002 12:47:34 +0000 (05:47 -0700)]
[PATCH] AFS filesystem 2/2

Here's a patch to add an Andrew File System (AFS) driver to the kernel.
Currently it only provides read-only, uncached, non-automounted and
unsecured support.

22 years ago[PATCH] AFS filesystem (1/2)
David Howells [Tue, 15 Oct 2002 12:47:29 +0000 (05:47 -0700)]
[PATCH] AFS filesystem (1/2)

This adds RxRPC support to Linux for use by the AFS filesystem

22 years ago[PATCH] Small PCMCIA patch
David Hinds [Tue, 15 Oct 2002 12:43:55 +0000 (05:43 -0700)]
[PATCH] Small PCMCIA patch

Someone adding tests for failed kmalloc's (which is fine in itself)
did so in a way that would leave some PCMCIA data structures in
inconsistent states... and also introduced a fatal bug affecting
PCMCIA memory cards even when there are no kmalloc failures.

22 years agoMerge RCU / oprofile clashes
Linus Torvalds [Tue, 15 Oct 2002 12:42:58 +0000 (05:42 -0700)]
Merge RCU / oprofile clashes

22 years ago[PATCH] Read-Copy Update infrastructure
Dipankar Sarma [Tue, 15 Oct 2002 12:40:46 +0000 (05:40 -0700)]
[PATCH] Read-Copy Update infrastructure

This is the RCU core patch from akpm's tree. It has been in his
tree since about 2.5.37-mm1 along with dcache_rcu and so far it has
worked fine. For 2.5, I am hoping that we might get the following
RCU patches included -

1. rt_rcu - ipv4 routecache lookup. Davem agreed to include this patch
   if and when you include RCU core in your tree.

2. dcache_rcu (by Maneesh Soni) - dcache lookup avoiding dcache_lock as
   much as possible. This has been akpm's tree - stable and gives us
   good yield. I have been submitting this to Viro and I will publish
   some more benchmark numbers later to help decide on this.

This RCU core implements RCU APIs, call_rcu() and synchronize_kernel(),
by monitoring a per-CPU quiescent state (idle/user etc.) counter.
call_rcu() queues a callback to be invoked after all the CPUs have
gone through a quiescent state. Queuing is per-CPU and each per-CPU
batch gets a batch number. As batches get their turn, a global
cpu mask is used to keep track of CPUs pending quiescent state.
Checking for quiescent cycle is done by saving the per-CPU
counter at the beginning of the batch and then monitoring it for change
through the local timer interrupt handler.

22 years ago[PATCH] Summit: APIC ID mapping
Martin J. Bligh [Tue, 15 Oct 2002 12:38:07 +0000 (05:38 -0700)]
[PATCH] Summit: APIC ID mapping

Adds a raw_phys_apicid array that maps from the mps cpu number
to the apicid - this is needed because the apicids for Summit can be
larger than 32, and thus won't fit into the bitmap. Also adds little wrappers
to map neatly between the two.

Bumps up MAX_APICS for Summit.

22 years ago[PATCH] Summit: MPS table detection
Martin J. Bligh [Tue, 15 Oct 2002 12:38:02 +0000 (05:38 -0700)]
[PATCH] Summit: MPS table detection

Adds detection for summit machines from the MPS tables.
Prints a handy-dandy debug message telling you what kind of twisted
machine the kernel thinks you have.

22 years ago[PATCH] Summit: APIC limits
Martin J. Bligh [Tue, 15 Oct 2002 12:37:57 +0000 (05:37 -0700)]
[PATCH] Summit: APIC limits

This one sets up the apic broadcast id (the maximum allowable apic address)
properly for whichever platform. It also abstracts out check_apicid_used,
because that check doesn't work on Summit. Oh, and I bumped up
MAX_IO_APICS, but only for NUMA x86 platforms.

22 years ago[PATCH] Summit: infrastructure
Martin J. Bligh [Tue, 15 Oct 2002 12:37:52 +0000 (05:37 -0700)]
[PATCH] Summit: infrastructure

This puts the DFR (desination format register) value into a #define, and
calculates the LDR (logical desitination register) correctly dependant
on platform. Similarly for TARGET_CPUS.

22 years ago[PATCH] Summit: config options and hooks
Martin J. Bligh [Tue, 15 Oct 2002 12:37:47 +0000 (05:37 -0700)]
[PATCH] Summit: config options and hooks

This just adds the config option for summit, and it's Config.help entry,
puts the hooks for the new mach_apic.h subarch file into the right
places, and creates empty shells of the header files.

22 years agoMerge http://linux-sound.bkbits.net/linux-sound
Linus Torvalds [Tue, 15 Oct 2002 12:35:09 +0000 (05:35 -0700)]
Merge http://linux-sound.bkbits.net/linux-sound
into home.transmeta.com:/home/torvalds/v2.5/linux

22 years agoALSA update
Jaroslav Kysela [Wed, 16 Oct 2002 00:05:01 +0000 (02:05 +0200)]
ALSA update
  - fixed returned structure in ctl_read/write

22 years agoALSA update
Jaroslav Kysela [Tue, 15 Oct 2002 22:30:21 +0000 (00:30 +0200)]
ALSA update
  - fixed compilation of ioctl32 from David S. Miller

22 years agoMerge master.kernel.org:/home/davem/BK/sparc-2.5
Linus Torvalds [Tue, 15 Oct 2002 12:34:17 +0000 (05:34 -0700)]
Merge master.kernel.org:/home/davem/BK/sparc-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

22 years agoMerge master.kernel.org:/home/davem/BK/net-2.5
Linus Torvalds [Tue, 15 Oct 2002 12:32:32 +0000 (05:32 -0700)]
Merge master.kernel.org:/home/davem/BK/net-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

22 years ago[PATCH] A basic NFSv4 client for 2.5.x
Trond Myklebust [Tue, 15 Oct 2002 12:30:58 +0000 (05:30 -0700)]
[PATCH] A basic NFSv4 client for 2.5.x

This patch defines a new switch in fs/Config.in -
  CONFIG_NFS_V4:  enables nfsv4 client

22 years ago[PATCH] A basic NFSv4 client for 2.5.x
Trond Myklebust [Tue, 15 Oct 2002 12:30:53 +0000 (05:30 -0700)]
[PATCH] A basic NFSv4 client for 2.5.x

Now that all the hooks are in place, this large patch imports all
of the new code for the NFSv4 client.
  nfs4proc.c   - procedure vectors
  nfs4xdr.c    - XDR
  nfs4state.c  - state bookkeeping (very minimal for now)
  nfs4renewd.c - a daemon (implemented as an rpc_task) to keep
                 state from expiring on the server

Note: The RPCSEC_GSS authentication code is not yet included here.
  For the moment we make do with AUTH_UNIX aka. AUTH_SYS.

  Neither is the code to do upcalls to userland in order to do
  uid/gid <-> name mappings. Instead, stubs have been added to
  translate everything to 'nobody:nobody' == '-2:-2'

22 years ago[PATCH] A basic NFSv4 client for 2.5.x
Trond Myklebust [Tue, 15 Oct 2002 12:30:48 +0000 (05:30 -0700)]
[PATCH] A basic NFSv4 client for 2.5.x

Define the new NFSv4 data structure for passing user information
from the 'mount' program in nfs4_mount.h.

If CONFIG_NFS_V4 is defined
        Add code to parse the mount structure into the superblock.
        Declare the NFSv4 filesystem to the VFS.

22 years ago[PATCH] A basic NFSv4 client for 2.5.x
Trond Myklebust [Tue, 15 Oct 2002 12:30:42 +0000 (05:30 -0700)]
[PATCH] A basic NFSv4 client for 2.5.x

Further cleanups

Separate the static and dynamic filesystem data retrieval calls as per the
NFSv3 spec. This also simplifies things for NFSv4, since many of the
attributes in the fsinfo+fstat combined call are not mandatory to
implement.

22 years ago[PATCH] A basic NFSv4 client for 2.5.x
Trond Myklebust [Tue, 15 Oct 2002 12:30:37 +0000 (05:30 -0700)]
[PATCH] A basic NFSv4 client for 2.5.x

Clean up nfs_fill_super().

Separate the parsing of the nfs_mount_data struct and the
initialization + sanity checking of the resulting super_block.
The latter is now performed in the new function nfs_sb_init().

22 years ago[PATCH] C99 designated initializers for arch/sh
Art Haas [Tue, 15 Oct 2002 12:27:24 +0000 (05:27 -0700)]
[PATCH] C99 designated initializers for arch/sh

22 years agoMerge master.kernel.org:/home/hch/BK/xfs/linux-2.5
Linus Torvalds [Tue, 15 Oct 2002 12:26:30 +0000 (05:26 -0700)]
Merge master.kernel.org:/home/hch/BK/xfs/linux-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

22 years ago[PATCH] bttv driver compile fix
Gerd Knorr [Tue, 15 Oct 2002 12:20:22 +0000 (05:20 -0700)]
[PATCH] bttv driver compile fix

It is just a missing include, fixed thus..

22 years agoMerge bk://are.twiddle.net/axp-2.5
Linus Torvalds [Tue, 15 Oct 2002 12:19:39 +0000 (05:19 -0700)]
Merge bk://are.twiddle.net/axp-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

22 years ago[PATCH] 2.5.42 Doc/kernel-parameters
Randy Dunlap [Tue, 15 Oct 2002 12:18:26 +0000 (05:18 -0700)]
[PATCH] 2.5.42 Doc/kernel-parameters

Updates/corrects Documentation/kernel-parameters.txt file.

22 years ago[PATCH] Compile failure (gcc 2.96 bug?). 2.5.42 raid0.c
Peter Chubb [Tue, 15 Oct 2002 12:12:39 +0000 (05:12 -0700)]
[PATCH] Compile failure (gcc 2.96 bug?). 2.5.42 raid0.c

Yes it's a GCC optimiser bug.  I'm surprised I didn't see it: I tried
a whole heap of different compilers on that code, and had problems
only on the earlier similar code in raid0_run().

I didn't try redhat's compilers (I run debian) but didn't expect the
behaviour to be that different.

Anyway, please apply this patch (which also fixes the chunk overlap
problems).

22 years ago[PATCH] Forward port of 2.4 fsync_buffers_list() fix.
Tim Wright [Tue, 15 Oct 2002 12:11:13 +0000 (05:11 -0700)]
[PATCH] Forward port of 2.4 fsync_buffers_list() fix.

there was a bug in fysnc_buffers_list() in 2.4 (fixed in 2.4.19) that
could cause the function to return without having written the current
contents of all the buffers.

Obviously, this could be bad for anybody relying on ordering using
O_SYNC or fsync().  If an I/O was already in flight for a particular bh
at the time of the call to fsync_buffers_list(), ll_rw_block() will not
initiate a new I/O even though the contents may have changed.  It is
therefore necessary to wait before the call.  Here's a patch against
2.5.42 that applies the same fix.

22 years agoMerge bk://bk.arm.linux.org.uk
Linus Torvalds [Tue, 15 Oct 2002 12:09:31 +0000 (05:09 -0700)]
Merge bk://bk.arm.linux.org.uk
into home.transmeta.com:/home/torvalds/v2.5/linux

22 years agoMerge home.transmeta.com:/home/torvalds/v2.5/scsi-update
Linus Torvalds [Tue, 15 Oct 2002 12:05:38 +0000 (05:05 -0700)]
Merge home.transmeta.com:/home/torvalds/v2.5/scsi-update
into home.transmeta.com:/home/torvalds/v2.5/linux

22 years ago[PATCH] two driver updates, one core update
Doug Ledford [Tue, 15 Oct 2002 12:01:43 +0000 (05:01 -0700)]
[PATCH] two driver updates, one core update

Rename queue_depth to current_queue_depth so that:

A) we represent the true purpose of the variable
B) we catch anyone using it wrongly

22 years ago[PATCH] dpt_i2o TCQ update
Doug Ledford [Tue, 15 Oct 2002 12:01:38 +0000 (05:01 -0700)]
[PATCH] dpt_i2o TCQ update

This patch for dpt_i2o fixes TCQ stuff, but doesn't solve DMA mapping
issues (so it still doesn't work, but it's not because of TCQ).

Getting around to fixing DMA mapping API issues is much more work per
driver than the TCQ stuff, so I'm putting it off until later.

dpti.h:
  Update template
dpt_i2o.c:
  Update to new TCQ scheme

22 years ago[PATCH] more driver updates (aic7xxx)
Doug Ledford [Tue, 15 Oct 2002 11:58:12 +0000 (04:58 -0700)]
[PATCH] more driver updates (aic7xxx)

aic7xxx_linux_host.h:
  Update host template
aic7xxx_linux.c:
  Update to new TCQ scheme

22 years ago[PATCH] more driver updates (aacraid)
Doug Ledford [Tue, 15 Oct 2002 11:58:08 +0000 (04:58 -0700)]
[PATCH] more driver updates (aacraid)

linit.c:
  Update to use slave_attach

22 years ago[PATCH] eata TCQ update
Doug Ledford [Tue, 15 Oct 2002 11:55:47 +0000 (04:55 -0700)]
[PATCH] eata TCQ update

eata.h:
  Update template
eata.c:
  Add slave_attach and new TCQ method

22 years ago[PATCH] qla1280 TCQ update
Doug Ledford [Tue, 15 Oct 2002 11:55:43 +0000 (04:55 -0700)]
[PATCH] qla1280 TCQ update

qla1280.h:
  Update device template
qla1280.c:
  Update to use slave_attach for setting queue depth

22 years ago[PATCH] Advansys TCQ update
Doug Ledford [Tue, 15 Oct 2002 11:55:37 +0000 (04:55 -0700)]
[PATCH] Advansys TCQ update

advansys.h:
  Update host template to include slave_attach
advansys.c:
  Update to use slave_attach instead of select_queue_depths

22 years ago[PATCH] SCSI update
Doug Ledford [Tue, 15 Oct 2002 11:55:33 +0000 (04:55 -0700)]
[PATCH] SCSI update

drivers/scsi/esp.c:
  Fix the build.
scsi.h:
  Add struct list_head items for future (but soon) use
hosts.h:
  Remove select_queue_depths from host struct, add struct list
  stuff for proper list linking of host structs
hosts.c:
  Don't touch select_queue_depths any longer

22 years ago[PATCH] ips TCQ update
Doug Ledford [Tue, 15 Oct 2002 11:55:28 +0000 (04:55 -0700)]
[PATCH] ips TCQ update

ips.h:
  Since we now have proper tagged depth setting, make
  the cmd_per_lun value reasonable for untagged devices
  like it is suppossed to be.

22 years ago[PATCH] another TCQ update
Doug Ledford [Tue, 15 Oct 2002 11:51:27 +0000 (04:51 -0700)]
[PATCH] another TCQ update

More scsi TCQ updates, tweak to ServeRAID, tweak scsi_scan, make BusLogic
use new method

22 years agoMerge UML update
Linus Torvalds [Tue, 15 Oct 2002 11:46:38 +0000 (04:46 -0700)]
Merge UML update

22 years agoMerge http://jdike.stearns.org:5000/fixes-2.5
Linus Torvalds [Tue, 15 Oct 2002 11:43:52 +0000 (04:43 -0700)]
Merge http://jdike.stearns.org:5000/fixes-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

22 years ago[PATCH] SCSI tape door lock and reset fixes
Kai Mäkisara [Tue, 15 Oct 2002 11:38:24 +0000 (04:38 -0700)]
[PATCH] SCSI tape door lock and reset fixes

- switch to using scsi_ioctl() for drive door locking and unlocking
  instead of private code
- use a driver internal flag to save the reset status until tape is
  positioned into known location
- set driver state properly for all partitions after reset
- change put_device() to driver_unregister() in st_detach()
- C99 initializer changes (from Art Haas)

22 years agoMerge http://jfs.bkbits.net/linux-2.5
Linus Torvalds [Tue, 15 Oct 2002 11:37:20 +0000 (04:37 -0700)]
Merge http://jfs.bkbits.net/linux-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

22 years ago[PATCH] futex-2.5.42-A2
Ingo Molnar [Tue, 15 Oct 2002 11:35:16 +0000 (04:35 -0700)]
[PATCH] futex-2.5.42-A2

This is my current futex patchset against BK-curr.  It mostly includes
must-have crash/correctness fixes from Martin Wirth, tested and reworked
somewhat by myself:

 - crash fix: futex_close did not detach from the vcache. Detach cleanups.
   (Martin Wirth)

 - memory leak fix: forgotten put_page() in a rare path in __pin_page().
   (Martin Wirth)

 - crash fix: do not do any quickcheck in unqueue_me(). (Martin, me)

 - correctness fix: the fastpath in __pin_page() now handles reserved
   pages the same way get_user_pages() does. (Martin Wirth)

 - queueing improvement: __attach_vcache() now uses list_add_tail() to
   avoid the reversal of the futex queue if a COW happens. (Martin Wirth)

 - simplified alignment check in sys_futex. (Martin Wirth)

 - comment fix: make it clear how the vcache hash quickcheck works. (me)

22 years ago[PATCH] oprofile - dcookies need to use u32
John Levon [Tue, 15 Oct 2002 11:31:08 +0000 (04:31 -0700)]
[PATCH] oprofile - dcookies need to use u32

Make dcookies use a stable size regardless of whether we're
on a 32-bit or 64-bit platform.

22 years ago[PATCH] oprofile - i386 driver
John Levon [Tue, 15 Oct 2002 11:31:02 +0000 (04:31 -0700)]
[PATCH] oprofile - i386 driver

Finally, add the i386 timer-interrupt and perfctr drivers for i386

22 years ago[PATCH] oprofile - core
John Levon [Tue, 15 Oct 2002 11:30:56 +0000 (04:30 -0700)]
[PATCH] oprofile - core

Add the oprofile core.  The core design is very similar to that we
discussed in private mail.  The nasty details should be documented in
the patch below.

22 years ago[PATCH] oprofile - MSR defines
John Levon [Tue, 15 Oct 2002 11:30:51 +0000 (04:30 -0700)]
[PATCH] oprofile - MSR defines

Add the MSR defines oprofile uses

22 years ago[PATCH] oprofile - NMI hook
John Levon [Tue, 15 Oct 2002 11:30:44 +0000 (04:30 -0700)]
[PATCH] oprofile - NMI hook

This provides a simple api to let oprofile hook into the NMI interrupt
for the perfctr profiler.

22 years ago[PATCH] oprofile - timer hook
John Levon [Tue, 15 Oct 2002 11:30:38 +0000 (04:30 -0700)]
[PATCH] oprofile - timer hook

This implements a simple hook into the profiling timer for x86 so that
non-perfctr machines can still use oprofile.  This has proven useful for
laptops and the like.

It also reduces header dependencies a bit by centralising readprofile
code

22 years ago[PATCH] oprofile - dcookies
John Levon [Tue, 15 Oct 2002 11:30:32 +0000 (04:30 -0700)]
[PATCH] oprofile - dcookies

This implements the persistent path-to-dcookies mapping, and adds a
system call for the user-space profiler to look up the profile data, so
it can tag profiles to specific binaries.

22 years ago[PATCH] oprofile - hooks
John Levon [Tue, 15 Oct 2002 11:30:26 +0000 (04:30 -0700)]
[PATCH] oprofile - hooks

This implements the simple hooks we need to catch unmappings, and to
make sure no stale task_struct*'s are ever used by the main oprofile
core mechanism.  If disabled, it compiles to nothing.

22 years ago[PATCH] bunch of ->open() killed.
Alexander Viro [Tue, 15 Oct 2002 11:25:44 +0000 (04:25 -0700)]
[PATCH] bunch of ->open() killed.

Quite a few drivers don't need ->open() anymore - all it did was checking
that minor is good (== gendisk exists).  That is handled by generic code
now...

22 years ago[PATCH] bdev->bd_disk introduced
Alexander Viro [Tue, 15 Oct 2002 11:25:37 +0000 (04:25 -0700)]
[PATCH] bdev->bd_disk introduced

There we go - now we can put a reference to gendisk into block_device.  Which
we do in do_open().  Most of the callers of get_gendisk() are simply using
bdev->bd_disk now (and most of the put_disk() calls introduced on previous
step disappear).  We also put that pointer into struct request - ->rq_disk.
That allows to get rid of disk_index() kludges in md.c (we simply count
relevant IO in the struct gendisk fields) and kill the export of get_gendisk().
Notice that by now we can move _all_ IO counters into gendisk.  That
will kill a bunch of per-major arrays and more importantly, allow to merge
sard in clean way.  FWIW, we probably could show them as disk/partitions
attributes in driverfs...

22 years ago[PATCH] refcounts for gendisks
Alexander Viro [Tue, 15 Oct 2002 11:25:32 +0000 (04:25 -0700)]
[PATCH] refcounts for gendisks

Finally.  We use disk->dev.refcount as a gendisk refcount.  New helper -
get_disk(): atomic_inc on refcount.  get_gendisk() does it on return,
callers of get_gendisk() do put_disk() when they are done.

22 years ago[PATCH] preparation to use of driverfs refcounts, part 2 - disk
Alexander Viro [Tue, 15 Oct 2002 11:25:24 +0000 (04:25 -0700)]
[PATCH] preparation to use of driverfs refcounts, part 2 - disk

* disk->disk_dev is initialized in alloc_disk(), device_add()'d in
  add_disk(), device_del()'d in unregister_disk() and device_put() in
  put_disk().
* devices of partitions are made its children.
* attributes of disk one: dev (dev_t of the thing), range (number of
  minors) and size (in sectors).
* attributes of partition ones: dev (ditto), start (in sectors) and
  size (in sectors).
* disk devices are put on a new bus - "block"
* if caller of add_disk() had set disk->driverfs_dev, we set symlinks:
  "device" from disk to underlying device and "block" from underlying
  device to disk.
* ->release() of disk_dev frees disk and disk->part.
At that point we have sane driverfs subtree for each gendisk and
refcount of its root (disk->disk_dev) can act as gendisk refcount.

22 years ago[PATCH] preparation to use of driverfs refcounts, part 1 - partitions
Alexander Viro [Tue, 15 Oct 2002 11:25:18 +0000 (04:25 -0700)]
[PATCH] preparation to use of driverfs refcounts, part 1 - partitions

* update_partition() split into add_partition() and delete_partition().
* all updating of ->part[] is switched to these two (including initial
filling/final cleaning).
* per-partition devices are allocated on-demand and never reused.
We allocate struct device in add_partition() and put reference to it into
hd_struct.  ->release() for that struct device frees it.  delete_partition()
removes reference from hd_struct and does put_device() on it.  Basically,
we get rid of problems with reused struct device by never reusing them...
At that point devices for partitions are nice and sane.

22 years ago[PATCH] block ioctl cleanup
Alexander Viro [Tue, 15 Oct 2002 11:25:13 +0000 (04:25 -0700)]
[PATCH] block ioctl cleanup

guts of blkpg.c and blkdev_ioctl() sanitized up and moved into a new
file - drivers/block/ioctl.c.  blkpg.c is gone.

22 years ago[PATCH] device_register() splitup
Alexander Viro [Tue, 15 Oct 2002 11:23:37 +0000 (04:23 -0700)]
[PATCH] device_register() splitup

new driverfs helpers - device_initialize/device_add and device_del.
The latter is device_unregister() sans the final put_device().  The former
is splitup of device_register() into initialization and insertion into tree.

22 years ago[PATCH] disk->minor_shift cleanup
Alexander Viro [Tue, 15 Oct 2002 11:23:32 +0000 (04:23 -0700)]
[PATCH] disk->minor_shift cleanup

new field - disk->minors (1 << disk->minor_shift).  Almost all uses
of ->minor_shift had that form and thus had been replaced.

22 years ago[PATCH] early allocation of ->part
Alexander Viro [Tue, 15 Oct 2002 11:23:25 +0000 (04:23 -0700)]
[PATCH] early allocation of ->part

allocation of ->part[] moved to alloc_disk(); alloc_disk() got an
argument (number of minors expected).  Freeing is in put_disk().

22 years agoMerge bk://linux-bt.bkbits.net/bt-2.5
Linus Torvalds [Tue, 15 Oct 2002 11:19:00 +0000 (04:19 -0700)]
Merge bk://linux-bt.bkbits.net/bt-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

22 years agoFixed some locking bugs spotted by Oleg Drokin.
Jeff Dike [Tue, 15 Oct 2002 07:21:41 +0000 (03:21 -0400)]
Fixed some locking bugs spotted by Oleg Drokin.

22 years agoFixed a bug caused by moving the location of the include of the
Jeff Dike [Tue, 15 Oct 2002 07:09:15 +0000 (03:09 -0400)]
Fixed a bug caused by moving the location of the include of the
arch and os Makefiles.

22 years agoOops, fix over-eager search-and-replace.
Linus Torvalds [Tue, 15 Oct 2002 06:04:41 +0000 (23:04 -0700)]
Oops, fix over-eager search-and-replace.

22 years agoJFS: return code from sb_bread was incorrectly checked
Dave Kleikamp [Tue, 15 Oct 2002 05:43:56 +0000 (00:43 -0500)]
JFS: return code from sb_bread was incorrectly checked

22 years agoMerge tove:v2.5/linux into home.transmeta.com:/home/torvalds/v2.5/linux
Linus Torvalds [Tue, 15 Oct 2002 05:04:42 +0000 (22:04 -0700)]
Merge tove:v2.5/linux into home.transmeta.com:/home/torvalds/v2.5/linux

22 years agoRemove ide-cd reliance on "struct packet_struct", make it use
Linus Torvalds [Tue, 15 Oct 2002 04:53:34 +0000 (21:53 -0700)]
Remove ide-cd reliance on "struct packet_struct", make it use
the native "struct request" fields instead.

Simplify and clean up sense data handling.

This makes IDE CD-RW burning possible without ide-scsi.c

22 years agoRemove unused variable warning
Linus Torvalds [Tue, 15 Oct 2002 04:50:22 +0000 (21:50 -0700)]
Remove unused variable warning

22 years agoBlock layer ioctl cleanups.
Linus Torvalds [Tue, 15 Oct 2002 04:24:37 +0000 (21:24 -0700)]
Block layer ioctl cleanups.

Rename old "block_ioctl()" function: it's "scsi_cmd_ioctl()", as that
is what the function does. Rename the whole file "scsi_ioctl.c"

22 years agoALSA update
Jaroslav Kysela [Tue, 15 Oct 2002 02:27:41 +0000 (04:27 +0200)]
ALSA update
  - ioctl32 - added missing backslashes

22 years ago[PATCH] alpha fixes
Ivan Kokshaysky [Tue, 15 Oct 2002 02:14:48 +0000 (19:14 -0700)]
[PATCH] alpha fixes

Whee! __stxncpy works now.
The patch also fixes OSF1-compatibe readv/writev.

Ivan.

22 years agoXFS: Switch from iget_locked to ilookup in vn_get
Christoph Hellwig [Tue, 15 Oct 2002 01:30:01 +0000 (03:30 +0200)]
XFS: Switch from iget_locked to ilookup in vn_get

We only want to get the inode if it actually is present in core.  The
new ilookup function allows us to do this easily instead of having to
tear down the wrongly allocated inode again if it wasn't in memory.

Modid: 2.5.x-xfs:slinx:129883a

22 years agoXFS: Revert VMAP() to the old IRIX prototype
Christoph Hellwig [Tue, 15 Oct 2002 01:29:02 +0000 (03:29 +0200)]
XFS: Revert VMAP() to the old IRIX prototype

Modid: 2.5.x-xfs:slinx:129878a

22 years agoXFS: Fix a couple of nasty log problems
Stephen Lord [Tue, 15 Oct 2002 01:26:56 +0000 (03:26 +0200)]
XFS: Fix a couple of nasty log problems

When a transaction crosses multiple iclogs, the async transaction code
needs to force the log up until the last iclog.  We need to record this
lsn in the transaction so we can do a log flush on it.

Secondly, there was a sleep/wakeup pair between flushing the log and
log write completions which was a) incorrect, and  b) no longer needed.
This could result in early wakeups of threads waiting for log flushes.

Modid: 2.5.x-xfs:slinx:129778a

22 years agoXFS: More XFS debug-related fixes
Eric Sandeen [Tue, 15 Oct 2002 01:24:14 +0000 (03:24 +0200)]
XFS: More XFS debug-related fixes

Modid: 2.5.x-xfs:slinx:129773a

22 years agoXFS: Clean up xfs' log message printing
Eric Sandeen [Tue, 15 Oct 2002 01:23:15 +0000 (03:23 +0200)]
XFS: Clean up xfs' log message printing

Modid: 2.5.x-xfs:slinx:129771a

22 years agoXFS: fix some off by one errors in the busy list search code
Stephen Lord [Tue, 15 Oct 2002 01:19:34 +0000 (03:19 +0200)]
XFS: fix some off by one errors in the busy list search code

The errors were benevolent, we flushed the log more than we needed to.

Modid: 2.5.x-xfs:slinx:129745a

22 years agoXFS: merge strategy and bmap calls, they are two aspects of the same operation
Stephen Lord [Tue, 15 Oct 2002 01:18:15 +0000 (03:18 +0200)]
XFS: merge strategy and bmap calls, they are two aspects of the same operation

Modid: 2.5.x-xfs:slinx:129728a

22 years agoXFS: remove debug print statements
Stephen Lord [Tue, 15 Oct 2002 01:17:02 +0000 (03:17 +0200)]
XFS: remove debug print statements

Modid: 2.5.x-xfs:slinx:129722a

22 years agoXFS: Switch to native endian internal representation for extents
Stephen Lord [Tue, 15 Oct 2002 01:16:03 +0000 (03:16 +0200)]
XFS: Switch to native endian internal representation for extents

Switch xfs from using a big endian internal representation for
the in memory copy of extents to a host byte order representation.
The internal extents are read in once, then modified seperately
from the on disk ones. Since we search and manipulate the extents
multiple times, it is cheaper to convert them to host byte order
once and then keep them in that format. Worth about 5 to 10%
reduction in cpu time for some loads. Complicated by the fact
that the in memory extents are written out to the log sometimes,
and when expanding extents are used to write out the initial
block of extents.

Modid: 2.5.x-xfs:slinx:129646a

22 years agoXFS: remove some 'temporary debugging code'
Stephen Lord [Tue, 15 Oct 2002 01:13:31 +0000 (03:13 +0200)]
XFS: remove some 'temporary debugging code'

(has been there a couple of years at least)

Modid: 2.5.x-xfs:slinx:128918a

22 years agoXFS: remove some bit shifting constants we do not use
Stephen Lord [Tue, 15 Oct 2002 01:12:04 +0000 (03:12 +0200)]
XFS: remove some bit shifting constants we do not use

Modid: 2.5.x-xfs:slinx:128887a

22 years agoXFS: bring the 32 bit inode flag back into line with the Irix version.
Stephen Lord [Tue, 15 Oct 2002 01:10:09 +0000 (03:10 +0200)]
XFS: bring the 32 bit inode flag back into line with the Irix version.

Modid: 2.5.x-xfs:slinx:128653a

22 years agoXFS: Re-sync pagebuf flags in xfsidbg (missed last time...)
Eric Sandeen [Tue, 15 Oct 2002 01:08:58 +0000 (03:08 +0200)]
XFS: Re-sync pagebuf flags in xfsidbg (missed last time...)

Modid: 2.5.x-xfs:slinx:129660a

22 years agoXFS: remove a no-longer-used conditional macro.
Nathan Scott [Tue, 15 Oct 2002 01:08:08 +0000 (03:08 +0200)]
XFS: remove a no-longer-used conditional macro.

Modid: 2.5.x-xfs:slinx:129574a

22 years agoXFS: Global search and replace of the b* memory routines to their mem* equivalents.
Nathan Scott [Tue, 15 Oct 2002 01:06:39 +0000 (03:06 +0200)]
XFS: Global search and replace of the b* memory routines to their mem* equivalents.

Modid: 2.5.x-xfs:slinx:129466a

22 years agoXFS: ensure inode size is correct after making a symlink.
Stephen Lord [Tue, 15 Oct 2002 01:00:58 +0000 (03:00 +0200)]
XFS: ensure inode size is correct after making a symlink.

Modid: 2.5.x-xfs:slinx:129340a

22 years agoXFS: Don't update i_rdev and i_generation in vn_revalidate.
Christoph Hellwig [Tue, 15 Oct 2002 00:59:56 +0000 (02:59 +0200)]
XFS: Don't update i_rdev and i_generation in vn_revalidate.

Modid: 2.5.x-xfs:slinx:129315a

22 years agoXFS: Remove struct pm entirely - it was never defined in the Linux port.
Christoph Hellwig [Tue, 15 Oct 2002 00:59:02 +0000 (02:59 +0200)]
XFS: Remove struct pm entirely - it was never defined in the Linux port.

Modid: 2.5.x-xfs:slinx:129236a

22 years agoXFS: Remove leftovers of long-dead iocore methods
Christoph Hellwig [Tue, 15 Oct 2002 00:57:47 +0000 (02:57 +0200)]
XFS: Remove leftovers of long-dead iocore methods

Modid: 2.5.x-xfs:slinx:129234a

22 years agoXFS: Sysctl updates
Nathan Scott [Tue, 15 Oct 2002 00:56:47 +0000 (02:56 +0200)]
XFS: Sysctl updates

Symlinks are created by default with mode 777 now, old behavior is
still accessible through sysctl through.  Irixsgid mount option
eprecated and it too is still accessible through sysctl.

Modid: 2.5.x-xfs:slinx:129282a

22 years agoXFS: Remove unused pagebuf flags
Eric Sandeen [Tue, 15 Oct 2002 00:54:17 +0000 (02:54 +0200)]
XFS: Remove unused pagebuf flags

Modid: 2.5.x-xfs:slinx:129235a

22 years agoXFS: Export xfs_bmbt_get_all for the last fix in xfsidbg.c
Eric Sandeen [Tue, 15 Oct 2002 00:53:17 +0000 (02:53 +0200)]
XFS: Export xfs_bmbt_get_all for the last fix in xfsidbg.c

Modid: 2.5.x-xfs:slinx:129160a

22 years agoXFS: Check rtdev as well when testing for read-only devices
Eric Sandeen [Tue, 15 Oct 2002 00:52:26 +0000 (02:52 +0200)]
XFS: Check rtdev as well when testing for read-only devices

Modid: 2.5.x-xfs:slinx:129155a

22 years agoXFS: Fix sysctl values, add PB_CLEAR_OWNER debugging line
Eric Sandeen [Tue, 15 Oct 2002 00:51:45 +0000 (02:51 +0200)]
XFS: Fix sysctl values, add PB_CLEAR_OWNER debugging line

Modid: 2.5.x-xfs:slinx:129132a

22 years agoXFS: Rearrange how xfs deals with read-only mounts vs. read-only devices.
Eric Sandeen [Tue, 15 Oct 2002 00:50:46 +0000 (02:50 +0200)]
XFS: Rearrange how xfs deals with read-only mounts vs. read-only devices.

Modid: 2.5.x-xfs:slinx:129120a

22 years agoXFS: simplify the xfs flush and flushinvalidate calls down the what
Stephen Lord [Tue, 15 Oct 2002 00:48:58 +0000 (02:48 +0200)]
XFS: simplify the xfs flush and flushinvalidate calls down the what

Modid: 2.5.x-xfs:slinx:129128a

22 years agoXFS: add some tracing calls in the read/write path
Stephen Lord [Tue, 15 Oct 2002 00:48:13 +0000 (02:48 +0200)]
XFS: add some tracing calls in the read/write path

Modid: 2.5.x-xfs:slinx:129126a