]> git.neil.brown.name Git - history.git/log
history.git
23 years ago[WATCHDOG] eurotech nowayout fixes from 2.4
Dave Jones [Fri, 10 Jan 2003 03:08:04 +0000 (02:08 -0100)]
[WATCHDOG] eurotech nowayout fixes from 2.4

23 years ago[WATCHDOG] eurotech indentation fixes
Dave Jones [Fri, 10 Jan 2003 03:05:35 +0000 (02:05 -0100)]
[WATCHDOG] eurotech indentation fixes

23 years ago[WATCHDOG] wdt_pci nowayout fixes from 2.4
Dave Jones [Fri, 10 Jan 2003 02:54:48 +0000 (01:54 -0100)]
[WATCHDOG] wdt_pci nowayout fixes from 2.4

23 years ago[WATCHDOG] wdt977 nowayout fixes from 2.4
Dave Jones [Fri, 10 Jan 2003 02:50:03 +0000 (01:50 -0100)]
[WATCHDOG] wdt977 nowayout fixes from 2.4

23 years ago[WATCHDOG] wdt nowayout changes from 2.4
Dave Jones [Fri, 10 Jan 2003 02:46:53 +0000 (01:46 -0100)]
[WATCHDOG] wdt nowayout changes from 2.4

23 years ago[WATCHDOG] nowayout fixes for wafer5823
Dave Jones [Fri, 10 Jan 2003 02:43:29 +0000 (01:43 -0100)]
[WATCHDOG] nowayout fixes for wafer5823

23 years ago[WATCHDOG] w83877f nowayout fixes from 2.4
Dave Jones [Fri, 10 Jan 2003 02:38:59 +0000 (01:38 -0100)]
[WATCHDOG] w83877f nowayout fixes from 2.4

23 years ago[WATCHDOG] softdog nowayout fixes from 2.4
Dave Jones [Fri, 10 Jan 2003 02:37:04 +0000 (01:37 -0100)]
[WATCHDOG] softdog nowayout fixes from 2.4

23 years ago[WATCHDOG] C99 struct initialisers for shwdt
Dave Jones [Fri, 10 Jan 2003 02:21:18 +0000 (01:21 -0100)]
[WATCHDOG] C99 struct initialisers for shwdt

23 years ago[WATCHDOG] SC520 nowayout fixes from 2.4
Dave Jones [Fri, 10 Jan 2003 02:16:32 +0000 (01:16 -0100)]
[WATCHDOG] SC520 nowayout fixes from 2.4

23 years ago[WATCHDOG] SC1200WDT nowayout fixes from 2.4
Dave Jones [Fri, 10 Jan 2003 02:14:01 +0000 (01:14 -0100)]
[WATCHDOG] SC1200WDT nowayout fixes from 2.4

23 years ago[WATCHDOG] sbc60xxwdt nowayout fixes from 2.4
Dave Jones [Fri, 10 Jan 2003 02:09:09 +0000 (01:09 -0100)]
[WATCHDOG] sbc60xxwdt nowayout fixes from 2.4

23 years ago[WATCHDOG] pcwd nowayout fixes from 2.4
Dave Jones [Fri, 10 Jan 2003 02:07:50 +0000 (01:07 -0100)]
[WATCHDOG] pcwd nowayout fixes from 2.4

23 years ago[WATCHDOG] mixcomwd nowayout fixes from 2.4
Dave Jones [Fri, 10 Jan 2003 02:00:51 +0000 (01:00 -0100)]
[WATCHDOG] mixcomwd nowayout fixes from 2.4

23 years ago[WATCHDOG] machzwd nowayout fixes from 2.4
Dave Jones [Fri, 10 Jan 2003 01:54:18 +0000 (00:54 -0100)]
[WATCHDOG] machzwd nowayout fixes from 2.4

23 years ago[WATCHDOG] indydog nowayout fixes from 2.4
Dave Jones [Fri, 10 Jan 2003 01:51:19 +0000 (00:51 -0100)]
[WATCHDOG] indydog nowayout fixes from 2.4

23 years ago[WATCHDOG] ib700wdt c99 structs
Dave Jones [Fri, 10 Jan 2003 01:46:53 +0000 (00:46 -0100)]
[WATCHDOG] ib700wdt c99 structs

23 years ago[WATCHDOG] ib700wdt fixes from 2.4
Dave Jones [Fri, 10 Jan 2003 01:45:22 +0000 (00:45 -0100)]
[WATCHDOG] ib700wdt fixes from 2.4

23 years ago[WATCHDOG] i810-tco fix from 2.4
Dave Jones [Fri, 10 Jan 2003 01:38:53 +0000 (00:38 -0100)]
[WATCHDOG] i810-tco fix from 2.4

23 years ago[WATCHDOG] More alim7101 cleanups
Dave Jones [Fri, 10 Jan 2003 01:35:42 +0000 (00:35 -0100)]
[WATCHDOG] More alim7101 cleanups

23 years ago[WATCHDOG] ALIM7101 fixes from 2.4 + C99 structs
Dave Jones [Fri, 10 Jan 2003 01:33:27 +0000 (00:33 -0100)]
[WATCHDOG] ALIM7101 fixes from 2.4 + C99 structs

23 years ago[WATCHDOG] advantech compile fixes
Dave Jones [Fri, 10 Jan 2003 01:27:05 +0000 (00:27 -0100)]
[WATCHDOG] advantech compile fixes

23 years ago[WATCHDOG] acquirewdt compile fixes
Dave Jones [Fri, 10 Jan 2003 01:24:13 +0000 (00:24 -0100)]
[WATCHDOG] acquirewdt compile fixes

23 years ago[WATCHDOG] Fix up incorrect C99 struct conversion
Dave Jones [Fri, 10 Jan 2003 01:20:12 +0000 (00:20 -0100)]
[WATCHDOG] Fix up incorrect C99 struct conversion

23 years ago[WATCHDOG] simplify advwdt_open, and add C99 struct initialisers
Dave Jones [Fri, 10 Jan 2003 01:19:27 +0000 (00:19 -0100)]
[WATCHDOG] simplify advwdt_open, and add C99 struct initialisers

23 years ago[WATCHDOG] Advantech fixes from 2.4
Dave Jones [Fri, 10 Jan 2003 01:15:37 +0000 (00:15 -0100)]
[WATCHDOG] Advantech fixes from 2.4

23 years ago[WATCHDOG] Acquirewdt C99 struct initialisers.
Dave Jones [Fri, 10 Jan 2003 01:04:59 +0000 (00:04 -0100)]
[WATCHDOG] Acquirewdt C99 struct initialisers.

23 years ago[WATCHDOG] acquirewdt nowayout fixes from 2.4
Dave Jones [Fri, 10 Jan 2003 01:02:23 +0000 (00:02 -0100)]
[WATCHDOG] acquirewdt nowayout fixes from 2.4
(plus some CodingStyle reformatting)

23 years ago[WATCHDOG] pcwd driver update from 2.4
Dave Jones [Fri, 10 Jan 2003 00:35:06 +0000 (23:35 -0100)]
[WATCHDOG] pcwd driver update from 2.4

23 years ago[WATCHDOG] Add several new watchdog drivers from 2.4
Dave Jones [Fri, 10 Jan 2003 00:33:54 +0000 (23:33 -0100)]
[WATCHDOG] Add several new watchdog drivers from 2.4

23 years agoMerge tetrachloride.(none):/mnt/stuff/kernel/2.5/bk-linus
Dave Jones [Thu, 9 Jan 2003 18:05:32 +0000 (17:05 -0100)]
Merge tetrachloride.(none):/mnt/stuff/kernel/2.5/bk-linus
into tetrachloride.(none):/mnt/stuff/kernel/2.5/watchdog

23 years agoLinux v2.5.55 v2.5.55
Linus Torvalds [Wed, 8 Jan 2003 11:58:50 +0000 (03:58 -0800)]
Linux v2.5.55

23 years ago[PATCH] Remove unused proto
Dave Jones [Wed, 8 Jan 2003 10:56:17 +0000 (02:56 -0800)]
[PATCH] Remove unused proto

23 years ago[PATCH] Remove unneeded CONFIG_X86_USE_STRING_486
Dave Jones [Wed, 8 Jan 2003 10:56:12 +0000 (02:56 -0800)]
[PATCH] Remove unneeded CONFIG_X86_USE_STRING_486

Since we killed off the broken 486 strings copies,
the config item isn't needed any longer.

23 years ago[PATCH] signal.h -W cleanup
Dave Jones [Wed, 8 Jan 2003 10:56:06 +0000 (02:56 -0800)]
[PATCH] signal.h -W cleanup

Next in line for the -W cleanups is this patch from Willy
which I've been carrying since 2.5.29 or so. Should be no
functional differences, just no more warnings when we compile
with -W

23 years ago[PATCH] EDD typo.
Dave Jones [Wed, 8 Jan 2003 10:55:59 +0000 (02:55 -0800)]
[PATCH] EDD typo.

s/boundry/boundary/

23 years ago[PATCH] compiler warning silence
Dave Jones [Wed, 8 Jan 2003 10:55:52 +0000 (02:55 -0800)]
[PATCH] compiler warning silence

23 years ago[PATCH] x86-64 spinlock code typo
Dave Jones [Wed, 8 Jan 2003 10:55:45 +0000 (02:55 -0800)]
[PATCH] x86-64 spinlock code typo

Without this fix, compiling with CONFIG_DEBUG_SPINLOCK
dies with an unknown variable error..

23 years ago[PATCH] Remove broken prefetching in free_one_pgd()
Dave Jones [Wed, 8 Jan 2003 10:55:39 +0000 (02:55 -0800)]
[PATCH] Remove broken prefetching in free_one_pgd()

This looks extremely suspect to me, and seems like
it will prefetch past the end of the pmd, which is a no no.

23 years ago[PATCH] Correct header
Dave Jones [Wed, 8 Jan 2003 10:55:32 +0000 (02:55 -0800)]
[PATCH] Correct header

23 years ago[PATCH] tracer pid.
Dave Jones [Wed, 8 Jan 2003 10:55:25 +0000 (02:55 -0800)]
[PATCH] tracer pid.

Can't remember where this came from, but its been around
for quite a while. Prints the parent (tracer) pid if
its being traced.

23 years ago[PATCH] size_t fixes.
Dave Jones [Wed, 8 Jan 2003 10:55:18 +0000 (02:55 -0800)]
[PATCH] size_t fixes.

The first of many...

From 2.4

23 years ago[PATCH] x86-64 pmd corruption fix.
Dave Jones [Wed, 8 Jan 2003 10:55:12 +0000 (02:55 -0800)]
[PATCH] x86-64 pmd corruption fix.

Silly typo caused strange corruption.

With this fixed, agpgart almost works again on x86-64
(change_page_attr() seems broken there)

23 years ago[PATCH] zoran ioctl sleeping fixes.
Dave Jones [Wed, 8 Jan 2003 10:55:05 +0000 (02:55 -0800)]
[PATCH] zoran ioctl sleeping fixes.

From 2.4

23 years ago[PATCH] Fix up dma_alloc_coherent with 64bit DMA masks on i386.
Dave Jones [Wed, 8 Jan 2003 10:54:58 +0000 (02:54 -0800)]
[PATCH] Fix up dma_alloc_coherent with 64bit DMA masks on i386.

Cset 1.808 in 2.4 never got propagated forward to 2.5

It's pretty much the same fix as below (s/!=/</), but with the following
changes
 - This was a patch to pci_alloc_consistant(), which now wants to be
   dma_alloc_coherent()
 - Removal of the u32 cast

23 years ago[PATCH] Missing check in PCI hotplug.
Dave Jones [Wed, 8 Jan 2003 10:54:50 +0000 (02:54 -0800)]
[PATCH] Missing check in PCI hotplug.

Missed forward port from 2.4. ACKed by GregKH

23 years ago[PATCH] Make ip2 module variable dependant on CONFIG_MODULE
Dave Jones [Wed, 8 Jan 2003 10:54:44 +0000 (02:54 -0800)]
[PATCH] Make ip2 module variable dependant on CONFIG_MODULE

23 years ago[PATCH] Missed checks in hisax.
Dave Jones [Wed, 8 Jan 2003 10:54:37 +0000 (02:54 -0800)]
[PATCH] Missed checks in hisax.

From 2.4

23 years ago[PATCH] yenta comment typo
Dave Jones [Wed, 8 Jan 2003 10:54:30 +0000 (02:54 -0800)]
[PATCH] yenta comment typo

23 years ago[PATCH] Appletalk bits depend on ISA/EISA
Dave Jones [Wed, 8 Jan 2003 10:54:23 +0000 (02:54 -0800)]
[PATCH] Appletalk bits depend on ISA/EISA

From 2.4, and munged.

23 years ago[PATCH] CREDITS updates
Dave Jones [Wed, 8 Jan 2003 10:54:16 +0000 (02:54 -0800)]
[PATCH] CREDITS updates

From 2.4

23 years ago[PATCH] P4 typo.
Dave Jones [Wed, 8 Jan 2003 10:54:09 +0000 (02:54 -0800)]
[PATCH] P4 typo.

Fix incorrect CONFIG_ name

23 years ago[PATCH] Wacky gdth driver vendor update.
Dave Jones [Wed, 8 Jan 2003 10:54:02 +0000 (02:54 -0800)]
[PATCH] Wacky gdth driver vendor update.

From 2.4 a few months back. With a few edits by
myself to remove the wacky bits of the diff that
backed out fixes. (*Sigh*, Intel).

23 years ago[PATCH] CDROM changers timeout tweak
Dave Jones [Wed, 8 Jan 2003 10:53:55 +0000 (02:53 -0800)]
[PATCH] CDROM changers timeout tweak

Been carrying this for ages..

From Jens Axboe:

   This is for changers, we may need more than the default
   5 second timeout for loading a disc since it may require
   moving stuff around :)

23 years ago[PATCH] Fix READ_CD fallback.
Dave Jones [Wed, 8 Jan 2003 10:53:48 +0000 (02:53 -0800)]
[PATCH] Fix READ_CD fallback.

From Jens Axboe:

   Only fall back to plain READ, if the device says it doesn't
   support the READ_CD opcode. This is the true error for which
   we want to do the fall back, not for any generic error.

23 years ago[PATCH] x86-64 RAID XOR compile fix.
Dave Jones [Wed, 8 Jan 2003 10:53:41 +0000 (02:53 -0800)]
[PATCH] x86-64 RAID XOR compile fix.

Missing macro header.

23 years agoMake vm86 traps correctly distinguish between vm86 and kernel mode.
Linus Torvalds [Wed, 8 Jan 2003 10:35:25 +0000 (02:35 -0800)]
Make vm86 traps correctly distinguish between vm86 and kernel mode.

23 years ago[PATCH] saa7134 driver update
Gerd Knorr [Wed, 8 Jan 2003 02:11:58 +0000 (18:11 -0800)]
[PATCH] saa7134 driver update

This updates the saa7134 driver.  It adds support for a few more cards
and includes adaptions to the video-buf.c changes sent earlier.

23 years ago[PATCH] i2c update for tuner.c
Gerd Knorr [Wed, 8 Jan 2003 02:11:50 +0000 (18:11 -0800)]
[PATCH] i2c update for tuner.c

This has some i2c adaptions and cleanups for the tv card tuner module.

23 years ago[PATCH] media/video i2c updates
Gerd Knorr [Wed, 8 Jan 2003 02:11:43 +0000 (18:11 -0800)]
[PATCH] media/video i2c updates

This updates a bunch of i2c modules in drivers/media/video.  Most of it
are adaptions to the recent i2c changes in the kernel.  While being at
it I also did some other cleanups like deleting unused+dead code, using
name-based initialization for some not-yet converted structs, ...

The also has a few small fixes here and there, but no major functional
changes.

23 years ago[PATCH] add bt832 module
Gerd Knorr [Wed, 8 Jan 2003 02:11:35 +0000 (18:11 -0800)]
[PATCH] add bt832 module

This adds a driver module for the bt832 chip.  It is needed by the bttv
driver to support the Pixelview Digital Camera.  The bt832 is connected
using the GPIO pins of the bt878 chip.

23 years ago[PATCH] update bttv documentation
Gerd Knorr [Wed, 8 Jan 2003 02:11:28 +0000 (18:11 -0800)]
[PATCH] update bttv documentation

23 years ago[PATCH] bttv driver update.
Gerd Knorr [Wed, 8 Jan 2003 02:11:20 +0000 (18:11 -0800)]
[PATCH] bttv driver update.

This updates the bttv driver.  Changes:

 * adaptions to the video-buf changes send in a previous mail.
 * adaptions to recent i2c changes in the kernel.
 * first code bits the pixelview digital camera support (not
   working yet).
 * lots of small fixes/changes for specific TV cards.

23 years ago[PATCH] add v4l1-compat module.
Gerd Knorr [Wed, 8 Jan 2003 02:11:13 +0000 (18:11 -0800)]
[PATCH] add v4l1-compat module.

This adds the v4l1-compat module.  This is a module which can translate
most (old) v4l1 ioctls into the new v4l2 API.  This makes it easier for
v4l2 drivers to present both old v4l and new v4l2 APIs to video4linux
applications.  The saa7134 driver uses this for example.

23 years ago[PATCH] video-buf.c update
Gerd Knorr [Wed, 8 Jan 2003 02:11:06 +0000 (18:11 -0800)]
[PATCH] video-buf.c update

This updates the video-buf helper module.  It changes the field handling
a bit and adds code do deal better with alternating field capture (=
capture even and odd fields to separate video buffers).

23 years ago[PATCH] add tda9887 module
Gerd Knorr [Wed, 8 Jan 2003 02:11:00 +0000 (18:11 -0800)]
[PATCH] add tda9887 module

This adds the tda9887 i2c module to the linux kernel.  This one is
needed for some TV cards.  It also adds the missing #define to
audiochip.h which currently breaks the bttv build.

23 years agoMerge bk://ppc.bkbits.net/for-linus-ppc
Linus Torvalds [Wed, 8 Jan 2003 02:03:40 +0000 (18:03 -0800)]
Merge bk://ppc.bkbits.net/for-linus-ppc
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years agoPPC32: Add support for new IBM embedded PPC cpus.
Paul Mackerras [Thu, 9 Jan 2003 08:56:55 +0000 (19:56 +1100)]
PPC32: Add support for new IBM embedded PPC cpus.

This adds support for 405GPR, 405LP, STBx25, NP4GS3.

23 years agoPPC32: Add support for the "Redwood-6" STB03xxx-based eval board
Paul Mackerras [Thu, 9 Jan 2003 08:50:15 +0000 (19:50 +1100)]
PPC32: Add support for the "Redwood-6" STB03xxx-based eval board

23 years agoPPC32: Add support for the IBM405LP-based "Beech" board
Paul Mackerras [Thu, 9 Jan 2003 08:44:42 +0000 (19:44 +1100)]
PPC32: Add support for the IBM405LP-based "Beech" board

23 years agoPPC32: remove execute permission from some ppc source files.
Paul Mackerras [Thu, 9 Jan 2003 08:31:21 +0000 (19:31 +1100)]
PPC32: remove execute permission from some ppc source files.

23 years agoPPC32: Update the support for the IBM 40x embedded PowerPC chips and boards.
Paul Mackerras [Thu, 9 Jan 2003 04:11:56 +0000 (15:11 +1100)]
PPC32: Update the support for the IBM 40x embedded PowerPC chips and boards.

Some of this comes from recent work in the 2_4_devel tree, including the
conversion to using an array (core_ocp[]) to describe on-chip peripherals
in a standard format.  The other major change is to give the board file
control early on in the boot and let it call back to generic 4xx routines
rather than vice-versa.

23 years agoMerge samba.org:/home/paulus/kernel/linux-2.5
Paul Mackerras [Wed, 8 Jan 2003 23:09:36 +0000 (10:09 +1100)]
Merge samba.org:/home/paulus/kernel/linux-2.5
into samba.org:/home/paulus/kernel/for-linus-ppc

23 years agoMerge bk://68.0.152.218/linux-2.5-misc
Paul Mackerras [Wed, 8 Jan 2003 21:30:37 +0000 (08:30 +1100)]
Merge bk://68.0.152.218/linux-2.5-misc
into samba.org:/home/paulus/kernel/for-linus-ppc

23 years agoMerge samba.org:/home/paulus/kernel/linux-2.5
Paul Mackerras [Wed, 8 Jan 2003 21:07:55 +0000 (08:07 +1100)]
Merge samba.org:/home/paulus/kernel/linux-2.5
into samba.org:/home/paulus/kernel/for-linus-ppc

23 years agoMerge samba.org:/home/paulus/kernel/linux-2.5
Paul Mackerras [Wed, 8 Jan 2003 03:42:53 +0000 (14:42 +1100)]
Merge samba.org:/home/paulus/kernel/linux-2.5
into samba.org:/home/paulus/kernel/for-linus-ppc

23 years ago[PATCH] {get,put}_compat_timspec: s390x
Stephen Rothwell [Wed, 8 Jan 2003 02:02:55 +0000 (18:02 -0800)]
[PATCH] {get,put}_compat_timspec: s390x

Here is the s390x part of the compat_timespec changes.

23 years ago[PATCH] {get,put}_compat_timspec: generic
Stephen Rothwell [Wed, 8 Jan 2003 02:02:49 +0000 (18:02 -0800)]
[PATCH] {get,put}_compat_timspec: generic

Andi Kleen asked for these two, so here they are.  This is the generic
part of creating compat functions for timespec get/put.

23 years ago[PATCH] Cleanup for SunRPC auth code
Trond Myklebust [Wed, 8 Jan 2003 01:59:44 +0000 (17:59 -0800)]
[PATCH] Cleanup for SunRPC auth code

Converts the RPC client auth code to use 'list_head' rather than a
custom pointer scheme.

Fixes a (relatively harmless) race which could cause several cred
entries to be created for the same user.

23 years ago[PATCH] allow arbitrary alignment of NFS read/write requests
Trond Myklebust [Wed, 8 Jan 2003 01:59:37 +0000 (17:59 -0800)]
[PATCH] allow arbitrary alignment of NFS read/write requests

Patch by Chuck Lever to add a new field called wb_pgbase to the
nfs_page struct. This separates the concept of file page offset from
buffer page offset, allowing NFS to specify read and write requests
into buffers at offsets that are independent of the file page
offset. It is a prequisite for direct I/O in NFS.

23 years ago[PATCH] Fix NFS 'off by one' bug
Trond Myklebust [Wed, 8 Jan 2003 01:59:30 +0000 (17:59 -0800)]
[PATCH] Fix NFS 'off by one' bug

 This fixes a bug that was found using the Stanford checker.

23 years ago[PATCH] dm: Remove redundant error checking
Joe Thornber [Wed, 8 Jan 2003 01:54:50 +0000 (17:54 -0800)]
[PATCH] dm: Remove redundant error checking

bio_alloc() shouldn't fail if GFP_NOIO is used, and the bvec count is
sensible.  So remove redundant error checking.

23 years ago[PATCH] dm: Export dm_table_get_mode()
Joe Thornber [Wed, 8 Jan 2003 01:54:43 +0000 (17:54 -0800)]
[PATCH] dm: Export dm_table_get_mode()

Export dm_table_get_mode()

23 years ago[PATCH] dm: Simplify error->map
Joe Thornber [Wed, 8 Jan 2003 01:54:36 +0000 (17:54 -0800)]
[PATCH] dm: Simplify error->map

Just return an error from the error targets map function, rather than
erroring the buffer_head.

23 years ago[PATCH] dm: printk tgt->error if dm_table_add_target() fails.
Joe Thornber [Wed, 8 Jan 2003 01:54:28 +0000 (17:54 -0800)]
[PATCH] dm: printk tgt->error if dm_table_add_target() fails.

printk tgt->error if dm_table_add_target() fails.

23 years ago[PATCH] dm: Remove explicit returns from void fns (fluff)
Joe Thornber [Wed, 8 Jan 2003 01:54:21 +0000 (17:54 -0800)]
[PATCH] dm: Remove explicit returns from void fns (fluff)

Remove explicit return at the end of a couple of void functions.

23 years ago[PATCH] dm: Call dm_put_target_type() *after* calling the destructor
Joe Thornber [Wed, 8 Jan 2003 01:54:15 +0000 (17:54 -0800)]
[PATCH] dm: Call dm_put_target_type() *after* calling the destructor

Call dm_put_target_type() *after* calling the destructor.

23 years ago[PATCH] dm: rwlock_t -> rw_semaphore (fluff)
Joe Thornber [Wed, 8 Jan 2003 01:54:09 +0000 (17:54 -0800)]
[PATCH] dm: rwlock_t -> rw_semaphore (fluff)

Use a rw_semaphore in dm_target.c rather than a rwlock_t, just to keep
in line with dm.c

23 years ago[PATCH] dm: Correct target_type reference counting
Joe Thornber [Wed, 8 Jan 2003 01:54:02 +0000 (17:54 -0800)]
[PATCH] dm: Correct target_type reference counting

ti->use was only getting incremented the first time a target type was
retrieved (bug introduced by recent hch patch).

23 years ago[PATCH] dm: Correct clone info initialisation
Joe Thornber [Wed, 8 Jan 2003 01:53:56 +0000 (17:53 -0800)]
[PATCH] dm: Correct clone info initialisation

Initialize the clone-info's index to the original bio's index.
Required to properly handle stacking DM devices. [Kevin Corry]

23 years ago[PATCH] dm: Don't let the ioctl interface drop a suspended device
Joe Thornber [Wed, 8 Jan 2003 01:53:48 +0000 (17:53 -0800)]
[PATCH] dm: Don't let the ioctl interface drop a suspended device

Don't let the ioctl interface drop a suspended device.

23 years ago[PATCH] Reduced wakeup rate in direct-io code
Andrew Morton [Wed, 8 Jan 2003 01:48:48 +0000 (17:48 -0800)]
[PATCH] Reduced wakeup rate in direct-io code

We don't need to wake up the synchronous waiter for every BIO
completion - just for the final BIO.

This reduces the context switch rate of a 180 megabyte/sec read from
3500/sec to 2200/sec when performing 1400 128k I/Os per second, so it
more than halves the overhead.

23 years ago[PATCH] AIO support for raw/O_DIRECT
Andrew Morton [Wed, 8 Jan 2003 01:48:41 +0000 (17:48 -0800)]
[PATCH] AIO support for raw/O_DIRECT

Patch from Badari Pulavarty <pbadari@us.ibm.com> and myself.

This patch adds AIO support for direct-IO - O_DIRECT files, O_DIRECT
blockdevs and /dev/raw/rawN.

Also, the controlling `struct dio' is now always kmalloced, saving ~400 bytes
of stack.

The best tool for testing AIO/DIO is the modified fsx-linux in ext3 CVS.
See http://www.zip.com.au/~akpm/linux/ext3/ for details.  For example:

fsx-linux -Z -A -R -W -r 512 -w 4096 foo

Running many instances of this against ext3 currently fails with incorrect
file data; some bug in the new ext3 O_DIRECT support.  ext2 is OK though.

23 years ago[PATCH] bio dirtying infrastructure
Andrew Morton [Wed, 8 Jan 2003 01:48:34 +0000 (17:48 -0800)]
[PATCH] bio dirtying infrastructure

In two cases (AIO-for-direct-IO and some CDROM DMA stuff which Jens
did), we need to run set_page_dirty() in interrupt context.  After DMA
hardware has altered userspace pages for direct-IO reads.

But mapping->page_lock, mapping->private_lock and inode_lock are not
irq-safe.  And really, we don't want to convert those locks just for this
problem.

So what we do is to dirty the pages *before* starting I/O.  Then, in
interrupt completion context, check to see that they are still dirty.
If so then there is nothing to do.  But if the pages were cleaned while
the direct-IO is in progress we need to redirty them.  The code uses
schedule_work() for that.

Of course, we could use schedule_work() for all BIOs and pages.  The
speculative dirty-before-starting-IO is just an optimisation.  It's
quite unlikely that any of the pages will be cleaned during the direct
IO.

This code is basically untestable under normal circumstances, because the
relevant pages are pinned via get_user_pages().  This makes
is_page_cache_freeable() evaluate false and the VM doesn't try to write them
out anyway.  But if the pages happen to be MAP_SHARED file pages, pdflush
could clean them.  The way I tested this code was to disable the call to
bio_set_pages_dirty() in fs/direct-io.c.

23 years ago[PATCH] AIO support for raw/O_DIRECT
Andrew Morton [Wed, 8 Jan 2003 01:48:27 +0000 (17:48 -0800)]
[PATCH] AIO support for raw/O_DIRECT

Patch from Badari Pulavarty <pbadari@us.ibm.com> and myself

This patch adds the infrastructure for performing asynchronous (AIO) blockdev
direct-IO.

- Adds generic_file_aio_write_nolock() and make other
  generic_file_*_write() to use it.

- Modify generic_file_direct_IO() and ->direct_IO() functions to take
  "kiocb *" instead of "file *".

- Renames generic_direct_IO() to blockdev_direct_IO().

- Move generic_file_direct_IO() to mm/filemap.c (it is not
  blockdev-specific, whereas the rest of fs/direct-io.c is).

- Add AIO read/write support to the raw driver.

23 years ago[PATCH] return the correct thing from direct-io
Andrew Morton [Wed, 8 Jan 2003 01:48:21 +0000 (17:48 -0800)]
[PATCH] return the correct thing from direct-io

If direct-io encounters an error, it currently returns that error even if it
performed some I/O.

Change it so that if there is an error and we read or wrote something, return
the number of bytes written/read.  Only return the error code if zero bytes
were written/read.

23 years ago[PATCH] AIO exit fix
Andrew Morton [Wed, 8 Jan 2003 01:48:13 +0000 (17:48 -0800)]
[PATCH] AIO exit fix

We need to run exit_aio() when the final user of the mm goes away, else lots
of things leak.

Also remove a printk which comes out when this change is made.

This patch was acked by bcrl.

23 years ago[PATCH] remove code for 2.0 kernels from drivers/char/ftape/*
Adrian Bunk [Wed, 8 Jan 2003 01:48:06 +0000 (17:48 -0800)]
[PATCH] remove code for 2.0 kernels from drivers/char/ftape/*

The patch below is large but trivial:

It removes old #if'd compatiblity code for 2.0 kernels from
drivers/char/ftape/* (this includes the removal of two header files
including only compatibility code and the #include's of these files).

23 years agoPPC32: Update the defconfigs
Paul Mackerras [Tue, 7 Jan 2003 23:22:29 +0000 (10:22 +1100)]
PPC32: Update the defconfigs

23 years agoMerge samba.org:/home/paulus/kernel/linux-2.5
Paul Mackerras [Tue, 7 Jan 2003 23:11:25 +0000 (10:11 +1100)]
Merge samba.org:/home/paulus/kernel/linux-2.5
into samba.org:/home/paulus/kernel/for-linus-ppc