Petr Vandrovec [Mon, 11 Feb 2002 13:39:50 +0000 (05:39 -0800)]
[PATCH] 2.5.4-pre5 and ncpfs fill_super changes
* fs/ncpfs/inode.c: Return reasonable error codes instead of universal
-EINVAL. Remove printk() as reasonable code is returned.
Set maximum file size limit on ncpfs to 4GB-1.
* fs/ncpfs/sock.c: Return correct error code when send() fails.
Alexander Viro [Mon, 11 Feb 2002 13:26:50 +0000 (05:26 -0800)]
[PATCH] BKL-free ext2_get_block()
Linus, I've got the first of BKL-removal ext2 patches ready to
go. It removes BKL from ext2_get_block() and guts of ext2_truncate().
The only place where we hold BKL on these paths is in dquot.c - probably
can be easily dealt with, but threading quota is a separate story.
Inode metadata (pointers to blocks, both in inode itself and in
indirect blocks, preallocation data and allocation goal) are protected
by rwlock - EXT2_I(inode)->i_meta_lock.
Next steps will involve threading the group descriptors and bitmaps
handling - lock_super() uses in ext2 are going to die. However, that's
a separate story - let's do that step-by-step.
I suspect that patch below will take care of almost all BKL contention
from ext2 - we still have BKL held over directory operations, but for regular
files that's it.
Hans Reiser [Mon, 11 Feb 2002 13:15:52 +0000 (05:15 -0800)]
[PATCH] 08-truncate_update_mtime.diff
truncate now correctly sets mtime always. Before this fix, mtime was not
updated if truncated file was of zero length or if new filesize was bigger
then old.
Problem was noticed by Matthias Andree <ma@dt.e-technik.uni-dortmund.de>
Hans Reiser [Mon, 11 Feb 2002 13:15:30 +0000 (05:15 -0800)]
[PATCH] 03-savelink_dir_truncate.diff
Do not panic on incorrect savelink entries (truncate on directory).
Currently we suppose these can be created if switching between kernels
with and without savelinks support.
What should be happening with the references to the discarded .text.exit
section? I see a __devexit_p mentioned in Documentation/pci.txt, but it
hasn't been implemented except for down inside ieee1394.
In any case, I need something like the following in order to build with
pre-release binutils 2.12. If this sort of thing is acceptible I can
prepare a more comprehensive patch.
David Mosberger [Mon, 11 Feb 2002 13:09:41 +0000 (05:09 -0800)]
[PATCH] video console fix up
Here is the last patch for today: it enables writecombined mappings
for ia64 in fbmem.c and gets rid of an ugly ia64 simulator workaround
in vgacon.c which isn't needed anymore.
David Mosberger [Mon, 11 Feb 2002 13:09:37 +0000 (05:09 -0800)]
[PATCH] fix for elf coredump deadlock
This patch fixes a deadlock condition in the elf core dump that shows
on ia64 because ELF_CORE_COPY_REGS() needs to access user space (to
get a hold of the backing store of the stacked registers). Marcelo
already accepted this into 2.4.17.
David Mosberger [Mon, 11 Feb 2002 13:09:34 +0000 (05:09 -0800)]
[PATCH] dma64_addr_t fix ups
This patch fixes up two places whre dma64_addr_t is used incorrectly.
Note that pci_dev->dma_mask and the second argument to
blk_queue_bounce_limit() are both u64, so the old types clearly are
wrong (besides, dma64_addr_t is supposed to be used only with the
pci_dac_*() routines, as per DaveM's earlier mail).
Rob Radez [Mon, 11 Feb 2002 13:09:30 +0000 (05:09 -0800)]
[PATCH] drivers/char/pcwd.c
This patch to drivers/char/pcwd.c against 2.5.4 does two things:
a) Makes one code snippet more consistent with the rest of the code, and
b) Makes it possible for this code to actually work
Nearly the same patch against 2.4 was reviewed by Alan, and, well, the
maintainer seems to have disappeared. It's also looking like no one uses
this driver much either.
Jens Axboe [Mon, 11 Feb 2002 13:38:30 +0000 (14:38 +0100)]
Remove nr_sectors from bio_end_io end I/O callback. It was a relic
from when completion was potentially called more than once to indicate
partial end I/O. These days bio->bi_end_io is _only_ called when I/O
has completed on the entire bio.
Robert Love [Mon, 11 Feb 2002 12:41:33 +0000 (04:41 -0800)]
[PATCH] Optimized UP preempt fix
I previously sent a patch by Mikael Pettersson to fix the UP+preempt
problem. It seems from your BK repository you have not yet merged it;
if so, this patch takes a different approach which is optimal, removing
the unneeded conditional altogether in the UP case. I have verified UP
and SMP are now correct. Patch is against 2.5.4, please apply.
Stephen Rothwell [Mon, 11 Feb 2002 12:32:46 +0000 (04:32 -0800)]
[PATCH] 2.5.4-pre6 apm compile fix
Here is the patch against 2.5.4. I have compiled this patch under
2.5.3, so it should still be OK.
This patch just resyncs the driver with 2.4.18-pre (which is what is
being testd by others). The only outstanding known problem is some
very strange interaction with VMWARE. But otherwise people seem
happy with the changes.
Original announcement to Dave Jones and Marcelo:
Update a couple of email addresses
Fix the idle handling (this is an improved version of the fix
that Alan Cox has in his -ac tree)
Notify user mode of suspend events before drivers (fix)
Make the idling percentage boot time configurable
Rename kapm-idled to kapmd
Credit to Andreas Steinmetz, Russell King, Thomas Hood and me.
More small updates to come.
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
Jens Axboe [Mon, 11 Feb 2002 10:39:44 +0000 (11:39 +0100)]
Replace calls to suser() with capable(). Move those checks to be
as late as possible to avoid accounting overcharging processes with
privilege usage. Applies to 2.5.4-pre3
-- steve.cameron@compaq.com
Jens Axboe [Mon, 11 Feb 2002 10:33:09 +0000 (11:33 +0100)]
This patch fixes a bug that appears when you have more than 16 physical
LUNs attached to a cciss controller, and a tape drive is beyond the 16th
LUN. In such a case, the tape drive would not be accessible without this
patch. Applies to 2.5.4-pre3. -- steve.cameron@compaq.com
Robert Love [Sun, 10 Feb 2002 04:59:32 +0000 (20:59 -0800)]
[PATCH] preemptible kernel documentation, etc
Linus,
The attached patch adds a Documentation/preempt-locking.txt file which
describes the new locking rules wrt preemptive kernels (ie, watch
per-CPU data, etc). It also updates a CREDITS entry and adds some
comments.
Robert Love [Sun, 10 Feb 2002 04:58:05 +0000 (20:58 -0800)]
[PATCH] yet another lseek fix
Another lseek fix, spotted by Dave Hansen @ IBM. Missing a
corresponding lock_kernel for an unlock_kernel. Patch against
2.5.4-pre5, please apply. Thanks,
James Bottomley [Sat, 9 Feb 2002 16:23:57 +0000 (11:23 -0500)]
Various bugfixes to sync with 2.4 version:
- Fix bug in scripts that was causing CDRW hang
- add sense buffer length initialisation
- update lasi700 to new driver model and fix rmmod hang
- add correct MCA reporting to D700 driver
Alexander Viro [Sat, 9 Feb 2002 14:18:13 +0000 (06:18 -0800)]
[PATCH] affs cleanup
affs digs in blk_size[] to find the size of device (it
has its analog of superblock living in the middle of disk). That
information is available in ->s_bdev->bd_inode->i_size - no need
to mess with major/minor/arrays to get it.