]>
git.hungrycats.org Git - linux/log
Linus Torvalds [Sun, 31 Aug 2003 06:45:59 +0000 (23:45 -0700)]
Merge http://lia64.bkbits.net/to-linus-2.5
into home.osdl.org:/home/torvalds/v2.5/linux
Geert Uytterhoeven [Sun, 31 Aug 2003 06:43:53 +0000 (23:43 -0700)]
[PATCH] Atari floppy
Atari floppy: Add missing includes and remove some unnecessary includes
Geert Uytterhoeven [Sun, 31 Aug 2003 06:43:44 +0000 (23:43 -0700)]
[PATCH] M68k switch_to
M68k: Set last in switch_to(), fix asm constraints (from Andreas Schwab)
Geert Uytterhoeven [Sun, 31 Aug 2003 06:43:36 +0000 (23:43 -0700)]
[PATCH] Amiga floppy
Amiga floppy: Add missing includes and remove some unnecessary includes (from
Roman Zippel)
Geert Uytterhoeven [Sun, 31 Aug 2003 06:43:28 +0000 (23:43 -0700)]
[PATCH] Amiga z2ram
Amiga z2ram: Add missing includes and remove some unnecessary includes
Geert Uytterhoeven [Sun, 31 Aug 2003 06:43:19 +0000 (23:43 -0700)]
[PATCH] m68k asm/local.h
M68k: asm/local.h just includes the generic version (from Roman Zippel)
Geert Uytterhoeven [Sun, 31 Aug 2003 06:43:10 +0000 (23:43 -0700)]
[PATCH] m68k asm/sections.h
M68k: asm/sections.h just includes the generic version (from Roman Zippel)
Geert Uytterhoeven [Sun, 31 Aug 2003 06:43:02 +0000 (23:43 -0700)]
[PATCH] macide (was: Re: Linux 2.6.0-test4)
Bartlomiej Zolnierkiewicz:
> o ide: disk geometry/capacity cleanups
> o ide: always store disk capacity in u64
Forgot to update the Macintosh IDE driver:
Geert Uytterhoeven [Sun, 31 Aug 2003 06:42:54 +0000 (23:42 -0700)]
[PATCH] vmlinux-*.lds (was: Re: Linux 2.6.0-test4)
Kai Germaschewski:
> o kbuild: Move generation of vmlinux.lds.s into arch/.../kernel
This forgot to move two files:
mv arch/m68k/vmlinux-std.lds arch/m68k/kernel
mv arch/m68k/vmlinux-sun3.lds arch/m68k/kernel
Alexander Viro [Sun, 31 Aug 2003 05:51:54 +0000 (22:51 -0700)]
[PATCH] dev_t handling cleanups (12/12)
added the exclusion between ADD_PARTITION/DELETE_PARTITION/open() (BLKPG
ioctls didn't grab ->bd_sem when they should have).
added bdev->bd_part; it is set at open() to point to the hd_struct of
partition in question, reset on final close.
blk_partition_remap() uses ->bd_part instead of the current mess
->bd_offset is gone, we use ->bd_part->start_sect instead
added missing ->release() to hd_struct kobject, moved kfree() into it
->bd_part cotributes to refcount of hd_struct - we bump it when
->bd_part is set and drop when it's reset.
Alexander Viro [Sun, 31 Aug 2003 05:51:46 +0000 (22:51 -0700)]
[PATCH] dev_t handling cleanups (11/12)
new helper - imajor(inode)
Alexander Viro [Sun, 31 Aug 2003 05:51:36 +0000 (22:51 -0700)]
[PATCH] dev_t handling cleanups (10/12)
new helper - iminor(inode); defined as minor(inode->i_rdev); lots and
lots of places in drivers had been switched to it.
Alexander Viro [Sun, 31 Aug 2003 05:51:22 +0000 (22:51 -0700)]
[PATCH] dev_t handling cleanups (9/12)
struct block_device made the private part of bdevfs inodes; bd_count
is gone, we use ->i_count of inode now; separate hash is also gone and we
are using iget5_locked()/igrab()/iput() instead.
Alexander Viro [Sun, 31 Aug 2003 05:51:14 +0000 (22:51 -0700)]
[PATCH] dev_t handling cleanups (8/12)
Now that floppy_open() stores bdev in opened_bdevs[drive], we can remove
crap from floppy_read_block_0() and have it use that bdev instead of
messing with bdget_disk()/setting ->bd_disk by hand/bdput().
Alexander Viro [Sun, 31 Aug 2003 05:51:05 +0000 (22:51 -0700)]
[PATCH] dev_t handling cleanups (7/12)
removed dead code from sparc64 hugetlbpage.c
Alexander Viro [Sun, 31 Aug 2003 05:50:58 +0000 (22:50 -0700)]
[PATCH] dev_t handling cleanups (6/12)
- hpfs_unlink() should not try to truncate the victim unless it's a
regular file; truncate will not help for anything else and it will
screw the page cache if victim happens to be a block device.
- network filesystems should *not* invalidate page cache of block
device node when inode gets invalidated; fixed, added a new helper -
invalidate_remote_inode().
- nfs setattr syncs the file before sending SETATTR to server; that
makes a lot of sense for regular files, but not for anything else.
Fixed.
Alexander Viro [Sun, 31 Aug 2003 05:50:48 +0000 (22:50 -0700)]
[PATCH] dev_t handling cleanups (5/12)
removed bogus uses of ->i_sb->s_dev in intermezzo (comparizons can and
should simply compare ->i_sb, printks should use ->s_id).
Alexander Viro [Sun, 31 Aug 2003 05:50:40 +0000 (22:50 -0700)]
[PATCH] dev_t handling cleanups (4/12)
jffs used to put kdev_t values on disk - blind copy of in-core
representation.
Switched to explicit use of u16 (which is what kdev_t currently is),
with appropriate conversion
Alexander Viro [Sun, 31 Aug 2003 05:50:33 +0000 (22:50 -0700)]
[PATCH] dev_t handling cleanups (3/12)
killed gratitious uses of kdev_t in tpqic02
Alexander Viro [Sun, 31 Aug 2003 05:50:25 +0000 (22:50 -0700)]
[PATCH] dev_t handling cleanups (2/12)
tty_paranoia_check() switched from kdev_t to struct inode.
Alexander Viro [Sun, 31 Aug 2003 05:50:17 +0000 (22:50 -0700)]
[PATCH] dev_t handling cleanups (1/12)
removed unused kdev_t stuff, fixed a typo left from the
console->device() conversion.
Greg Ungerer [Sun, 31 Aug 2003 05:44:54 +0000 (22:44 -0700)]
[PATCH] use irqreturn_t in m68knommu/5272 config.c
Fix up interrupt handler type to be irqreturn_t.
Greg Ungerer [Sun, 31 Aug 2003 05:44:46 +0000 (22:44 -0700)]
[PATCH] use irqreturn_t in m68knommu/5249 config.c
Fix up interrupt handler type to be irqreturn_t.
Greg Ungerer [Sun, 31 Aug 2003 05:44:38 +0000 (22:44 -0700)]
[PATCH] use irqreturn_t in m68knommu/5206e config.c
Fix up interrupt handler type to be irqreturn_t.
Greg Ungerer [Sun, 31 Aug 2003 05:44:30 +0000 (22:44 -0700)]
[PATCH] use irqreturn_t in m68knommu/5206 config.c
Neil Brown [Sun, 31 Aug 2003 05:44:22 +0000 (22:44 -0700)]
[PATCH] fix in NFSv4 server for bad sequence id errors
From: "William A.(Andy) Adamson" <andros@citi.umich.edu>
this patch fixes the share state sequenceid bookeeping.
- increment the sequence id on an open that is confirmed
- increment the sequence id on close
Neil Brown [Sun, 31 Aug 2003 05:44:14 +0000 (22:44 -0700)]
[PATCH] Track nfsv4 open files by "struct inode" rather than dev/ino/generation
Neil Brown [Sun, 31 Aug 2003 05:44:06 +0000 (22:44 -0700)]
[PATCH] Fix md superblock incompatabilities with 2.4 kernels.
2.4 kernels are very fussy about some values in the superblock, and
2.6 got them wrong. This fixes it.
Neil Brown [Sun, 31 Aug 2003 05:43:58 +0000 (22:43 -0700)]
[PATCH] Set max_sectors for raid0 only, not for all raid levels.
raid1 and multipath have not concept of a chunksize, so basing
max_sectors on it is obviously wrong.
Similary 'linear' has a very different concept of chunksize and
max_sectors doesn't apply.
raid5 does have relevant chunk_size concept, but it has code to
effectively handle any chunksize.
So we only need to set max_sectors based on chunk_size in raid0.
Neil Brown [Sun, 31 Aug 2003 05:43:49 +0000 (22:43 -0700)]
[PATCH] Honour the read-ahead for for reads in raid5.
If we get a failure trying to allocate a stripe_head for a read-ahead
request (the only time we can get a failure), we skip the rest of the
request and fail the whole bio.
Neil Brown [Sun, 31 Aug 2003 05:43:41 +0000 (22:43 -0700)]
[PATCH] Fix module ref counting for md.
We don't need to explicitly count references as:
- refcounting already happens for opens of /dev/md?
- when an array is active, a daughter module is loaded which
locks "md" in.
We just need to make sure we clean up properly on unload. (export_array)
Also, xor needs a null module_exit so that it can be unloaded.
Matthew Wilcox [Sun, 31 Aug 2003 05:40:10 +0000 (22:40 -0700)]
[PATCH] bio.c: reduce verbosity at boot
The queue init is really far too verbose at boot time. I don't think
these messages add anything to either the end user experience or debug
ability.
Acked by Jens
Jens Axboe [Sun, 31 Aug 2003 05:40:01 +0000 (22:40 -0700)]
[PATCH] cciss init problem
This assigns the queue properly.
Andi Kleen [Sun, 31 Aug 2003 05:33:55 +0000 (22:33 -0700)]
[PATCH] x86-64 update
Make everything compile and boot again.
- Update defconfig
- Some minor cleanup
- Introduce physid_t for APIC masks (fixes UP kernels)
- Add bandaid for CardBus bridges and broken BIOS (Vojtech)
- Add bandaid for unsynchronized TSCs (Vojtech)
- Fix ffs(0) return value (fixes XFS)
- Fix compilation with software suspend
François Romieu [Sun, 31 Aug 2003 05:32:04 +0000 (22:32 -0700)]
[PATCH] sis190 driver fix
synchronize_irq() requires an argument when built with CONFIG_SMP.
Andi Kleen [Sun, 31 Aug 2003 05:31:55 +0000 (22:31 -0700)]
[PATCH] Do 32bit addresses in /proc/self/maps if possible
As discussed earlier. This implements Linus' idea of printing
the addresses in /proc/<pid>/maps as 32bit if possible.
This works around some broken 32bit programs that cannot parse
64bit addresses as generated by x86-64 kernels.
Also simplifies the code slightly.
Andi Kleen [Sun, 31 Aug 2003 05:31:47 +0000 (22:31 -0700)]
[PATCH] Make ACPI_SLEEP select SOFTWARE_SUSPEND
CONFIG_ACPI_SLEEP doesn't compile without SOFTWARE_SUSPEND.
Make it select it automagically.
This fixes some bugzilla bug whose number I forgot.
Bartlomiej Zolnierkiewicz [Sun, 31 Aug 2003 05:17:50 +0000 (22:17 -0700)]
[PATCH] kill ide_register()
Bartlomiej Zolnierkiewicz [Sun, 31 Aug 2003 05:17:43 +0000 (22:17 -0700)]
[PATCH] kill ide_module_t
Bartlomiej Zolnierkiewicz [Sun, 31 Aug 2003 05:17:35 +0000 (22:17 -0700)]
[PATCH] remove unused ide_chipsets and IDE_CHIPSET_MODULE
Bartlomiej Zolnierkiewicz [Sun, 31 Aug 2003 05:17:27 +0000 (22:17 -0700)]
[PATCH] remove unused exports from ide-probe.c
export_ide_init_queue() and export_probe_for_drive()
Bartlomiej Zolnierkiewicz [Sun, 31 Aug 2003 05:17:18 +0000 (22:17 -0700)]
[PATCH] kill ide_init_drive() in ide-probe.c
also fix comment in init_irq()
Bartlomiej Zolnierkiewicz [Sun, 31 Aug 2003 05:17:10 +0000 (22:17 -0700)]
[PATCH] do not set drive->dn twice in probe_hwif()
Bartlomiej Zolnierkiewicz [Sun, 31 Aug 2003 05:17:02 +0000 (22:17 -0700)]
[PATCH] kill ide_modes.h
Bartlomiej Zolnierkiewicz [Sun, 31 Aug 2003 05:16:54 +0000 (22:16 -0700)]
[PATCH] allow drivers (ie. mediabay) to set hwif->gendev.parent
From Benjamin Herrenschmidt <benh@kernel.crashing.org>.
Bartlomiej Zolnierkiewicz [Sun, 31 Aug 2003 05:16:46 +0000 (22:16 -0700)]
[PATCH] fix ide-lib.c warning when compiling IDE without DMA support
From Mikael Pettersson <mikpe@csd.uu.se>.
Bartlomiej Zolnierkiewicz [Sun, 31 Aug 2003 05:16:39 +0000 (22:16 -0700)]
[PATCH] fix ide.c warning when compiling IDE for non-PCI systems
From Stephane Ouellette <ouellettes@videotron.ca>.
Bartlomiej Zolnierkiewicz [Sun, 31 Aug 2003 05:16:29 +0000 (22:16 -0700)]
[PATCH] fix PowerMac driver breakage caused by recent dynamic queue change
From Mikael Pettersson <mikpe@csd.uu.se>.
Bartlomiej Zolnierkiewicz [Sun, 31 Aug 2003 05:16:21 +0000 (22:16 -0700)]
[PATCH] cable detection fixes for HPT37x controllers
From Duncan Laurie <duncan@sun.com>
This same patch made its way into 2.4 via the -ac tree but hasn't
been put in 2.6 yet.
It fixes some cable detect issues that stem from the fact that the
cable detect pins are also used as address/data lines, so they need
to first be configured as inputs to read valid cable detect state.
Ulrich Drepper [Sun, 31 Aug 2003 04:32:59 +0000 (21:32 -0700)]
[PATCH] More ->pid to ->tgid changes
One more overlooked area where the proper process ID has to be used:
SysV IPC "pid" values should use the thread group ID, not the per-thread
one.
David Mosberger [Tue, 26 Aug 2003 08:09:26 +0000 (01:09 -0700)]
ia64: Fix usage ("corrected" machine checks and platform errors,
not "correctable").
David Mosberger [Tue, 26 Aug 2003 07:51:39 +0000 (00:51 -0700)]
ia64: The second chunk of the "UP cmc/cpe polling fix" seems to have
gotten lost. Please apply the attached for the cpe side of the
fix.
David Mosberger [Mon, 25 Aug 2003 07:47:44 +0000 (00:47 -0700)]
ia64: Hook up fadvise64_64() system call.
David Mosberger [Mon, 25 Aug 2003 07:45:51 +0000 (00:45 -0700)]
ia64: Use offset_in_page() instead of equivalent open code.
Matthew Wilcox [Mon, 25 Aug 2003 05:37:40 +0000 (22:37 -0700)]
[PATCH] ia64: ia64/lib/Makefile: use call-if-changed
- IGNORE_FLAGS_OBJS is no longer honoured (this is the only reference to
it in the tree).
- Change the .o.S rule to look the same as the one in
scripts/Makefile.build. This means we'll generate .cmd files instead
of the .d files which makes CVS happier.
David Mosberger [Mon, 25 Aug 2003 05:32:18 +0000 (22:32 -0700)]
ia64: Manual merge with Alex's "UP cmc/cpe polling fix" patch.
Alex Williamson [Mon, 25 Aug 2003 05:26:28 +0000 (22:26 -0700)]
[PATCH] ia64: no discontig w/o NUMA
Currently the generic kernel won't build if you turn off NUMA
support. Seems discontig support is too entangled with NUMA
support to live without it. This patch makes it behave a bit
more friendly.
Martin Hicks [Mon, 25 Aug 2003 05:23:20 +0000 (22:23 -0700)]
[PATCH] ia64: paddr_to_nid fixup
Here is a small patch for paddr_to_nid(). This fix is already in 2.4
and is used in the case where a NUMA kernel is running on a machine
without a SRAT ACPI table. Without this patch the node info is not
correctly located.
Matthew Wilcox [Mon, 25 Aug 2003 05:21:12 +0000 (22:21 -0700)]
[PATCH] ia64: default to building compressed
i386 defaults to building bzImage (as well as modules) if you just type
make. This patch mirrors that on ia64 by building compressed.
Randy Dunlap [Mon, 25 Aug 2003 05:18:29 +0000 (22:18 -0700)]
[PATCH] ia64: fix printk type warning
David Mosberger [Mon, 25 Aug 2003 03:00:45 +0000 (20:00 -0700)]
Merge tiger.hpl.hp.com:/data1/bk/vanilla/linux-2.5
into tiger.hpl.hp.com:/data1/bk/lia64/to-linus-2.5
Vinay K. Nallamothu [Fri, 22 Aug 2003 22:23:23 +0000 (15:23 -0700)]
[PATCH] vx_entry.c: remove release timer
sound/pcmcia/vx/vx_entry.c:
This patch removes the PCMCIA timer release functionality which is no
longer required. Without this the module does not compile.
Linus Torvalds [Fri, 22 Aug 2003 22:16:32 +0000 (15:16 -0700)]
Input: typo in device matching.
Too much cut-and-paste, noticed by Dmitry Torokhov <dtor_core@ameritech.net>
Paul Mackerras [Sun, 24 Aug 2003 05:33:49 +0000 (15:33 +1000)]
PPC32: Update some of the example configs
Paul Mackerras [Sun, 24 Aug 2003 03:59:25 +0000 (13:59 +1000)]
Merge samba.org:/home/paulus/kernel/linux-2.5
into samba.org:/home/paulus/kernel/for-linus-ppc
Paul Mackerras [Sat, 23 Aug 2003 22:58:19 +0000 (08:58 +1000)]
PPC32: Declare cpu_online_map and cpu_possible_map as cpumask_t.
Paul Mackerras [Sat, 23 Aug 2003 22:15:37 +0000 (08:15 +1000)]
PPC32: Add the fadvise64_64 system call.
On PPC32 we reorder the arguments so they fit into 6 registers. Glibc will
need a two-line stub to change them from the standard order to the ordering
used by the system call: (fd, advice, offset, len).
Paul Mackerras [Sat, 23 Aug 2003 20:09:40 +0000 (06:09 +1000)]
Merge samba.org:/home/paulus/kernel/linux-2.5
into samba.org:/home/paulus/kernel/for-linus-ppc
Paul Mackerras [Sat, 23 Aug 2003 08:26:30 +0000 (18:26 +1000)]
PPC32: Define MCA_bus__is_a_macro. From Christoph Hellwig.
Paul Mackerras [Sat, 23 Aug 2003 04:36:05 +0000 (14:36 +1000)]
Merge samba.org:/stuff/paulus/kernel/linux-2.5
into samba.org:/stuff/paulus/kernel/for-linus-ppc
Paul Mackerras [Fri, 22 Aug 2003 19:54:45 +0000 (05:54 +1000)]
Merge bk://stop.crashing.org/linux-2.6-misc
into samba.org:/stuff/paulus/kernel/for-linus-ppc
Paul Mackerras [Fri, 22 Aug 2003 19:42:10 +0000 (05:42 +1000)]
Merge bk://stop.crashing.org/linux-2.6-8260
into samba.org:/stuff/paulus/kernel/for-linus-ppc
Paul Mackerras [Fri, 22 Aug 2003 18:33:59 +0000 (04:33 +1000)]
Merge samba.org:/stuff/paulus/kernel/linux-2.5
into samba.org:/stuff/paulus/kernel/for-linus-ppc
Erik Andersen [Fri, 22 Aug 2003 11:29:33 +0000 (04:29 -0700)]
[PATCH] Fix cdrom error handling in 2.6
In both 2.4 and in 2.6, error handling for bad cdrom media is
wrong. And it is my fault I'm afraid, since I botched an earlier
fix for the problem by putting the fix in the wrong spot.
My kids have a "Jumpstart Toddlers" cd they have long since
completely killed, which makes a great test disc. Without this
fix, the best time projection I can get for completing a dd type
sector copy is about 2 years... Most of that is spent thrashing
about in kernel space trying to re-read sectors we already know
are not correctable.... After the fix, I was able to rip a copy
the CD (or rather muddle through it getting lots of EIO errors)
in about 15 minutes.
Attached is the fix for 2.6.x,
Linus Torvalds [Fri, 22 Aug 2003 09:38:56 +0000 (02:38 -0700)]
Linux 2.6.0-test4
Paul Mackerras [Fri, 22 Aug 2003 06:44:16 +0000 (16:44 +1000)]
Merge samba.org:/stuff/paulus/kernel/linux-2.5
into samba.org:/stuff/paulus/kernel/for-linus-ppc
Linus Torvalds [Fri, 22 Aug 2003 05:01:57 +0000 (22:01 -0700)]
Make USB storage select SCSI support automatically, instead
of requiring users to select SCSI in order to see it.
Arun Sharma [Fri, 22 Aug 2003 04:52:11 +0000 (21:52 -0700)]
[PATCH] ia64: fix ia32 execve memory leak
The attached patch by Tony Luck fixes a memory leak in the ia32 execve code
path.
Trond Myklebust [Fri, 22 Aug 2003 04:05:41 +0000 (21:05 -0700)]
Merge http://nfsclient.bkbits.net/linux-2.5
into fys.uio.no:/home/linux/bitkeeper/nfsclient-2.5
Linus Torvalds [Fri, 22 Aug 2003 02:52:24 +0000 (19:52 -0700)]
VT requires INPUT support: make it be automatically included.
From Christoph Hellwig
Rusty Russell [Fri, 22 Aug 2003 02:46:47 +0000 (19:46 -0700)]
[PATCH] /proc/kallsyms problem
From David Mosberger:
> We definitely are seeing some strange crashes in get_ksymbol_core().
> I think the reason is the lack of iterator initialization.
Yes, looks good: reset the iterator at allocation.
Christoph Hellwig [Fri, 22 Aug 2003 01:16:24 +0000 (18:16 -0700)]
[PATCH] sedlbauer_cs.c: remove release timer
Remove the PCMCIA release timer that got missed in earlier patch. This
is required for successful compilation of the driver.
Trond Myklebust [Thu, 21 Aug 2003 17:09:04 +0000 (10:09 -0700)]
Merge http://nfsclient.bkbits.net/linux-2.5
into fys.uio.no:/home/linux/bitkeeper/nfsclient-2.5
Trond Myklebust [Thu, 21 Aug 2003 17:05:15 +0000 (10:05 -0700)]
Fix compiler warning about using a wrong type as the argument for
nfsroot_mount().
Trond Myklebust [Thu, 21 Aug 2003 17:03:36 +0000 (10:03 -0700)]
Fix problem with open(O_EXCL) not creating hashed dentries.
Problem analysis and fix provided by Andries Brouwer.
Cleanup of nfs_lookup() by me...
Yoshinori Sato [Thu, 21 Aug 2003 15:56:22 +0000 (08:56 -0700)]
[PATCH] h8300 support fix (2/2)
o inline assembler funcs cleanup
o machine depend header cleanup
o interrupt management fix
Yoshinori Sato [Thu, 21 Aug 2003 15:56:04 +0000 (08:56 -0700)]
[PATCH] h8300 support fix (1/2)
o build script update
o interrupt management fix
o mtd support fix
o signal handling fix
Linus Torvalds [Thu, 21 Aug 2003 15:54:21 +0000 (08:54 -0700)]
Merge http://klibc.bkbits.net/early_userspace
into home.osdl.org:/home/torvalds/v2.5/linux
Linus Torvalds [Thu, 21 Aug 2003 15:51:07 +0000 (08:51 -0700)]
Merge bk://cifs.bkbits.net/linux-2.5cifs
into home.osdl.org:/home/torvalds/v2.5/linux
Linus Torvalds [Thu, 21 Aug 2003 15:50:34 +0000 (08:50 -0700)]
The Intel Instruction set manual is wrong on how to test for
a valid SEP bit. The errata has it right: you have to have at
least model 3, stepping 3. Not "model >= 3 or stepping >= 3".
Fix the test accordingly.
Bryan O'Sullivan [Thu, 21 Aug 2003 15:08:10 +0000 (08:08 -0700)]
Merge camp4.serpentine.com:/export/bos/bk/pristine/linux-2.5
into camp4.serpentine.com:/export/bos/bk/linux-early
Bryan O'Sullivan [Thu, 21 Aug 2003 14:56:56 +0000 (07:56 -0700)]
Documentation for initramfs, klibc, and early userspace.
Steve French [Thu, 21 Aug 2003 14:00:57 +0000 (07:00 -0700)]
Add missing CIFS VFS entry to maintainers list
Trond Myklebust [Thu, 21 Aug 2003 11:45:26 +0000 (04:45 -0700)]
Merge http://nfsclient.bkbits.net/linux-2.5
into fys.uio.no:/home/linux/bitkeeper/nfsclient-2.5
Trond Myklebust [Thu, 21 Aug 2003 11:43:45 +0000 (04:43 -0700)]
Fix a problem whereby READDIRPLUS was causing lookups to result in
ESTALE errors.
Trond Myklebust [Thu, 21 Aug 2003 11:42:05 +0000 (04:42 -0700)]
A request cannot be used as part of the RTO estimation if it gets
resent since you don't know whether the server is replying to the
first or the second transmission. However we're currently setting
the cutoff point to be the timeout of the first transmission.
This patch moves the cutoff point to the actual start of the
retransmission.
Trond Myklebust [Thu, 21 Aug 2003 11:33:03 +0000 (04:33 -0700)]
Increase the minimum RTO timer value to 1/10 second. This is more
in line with what is done for TCP.
Signedness corrections when updating RTT.
Be conservative when calculating RTO. Round up the residues.
Trond Myklebust [Thu, 21 Aug 2003 11:29:14 +0000 (04:29 -0700)]
Back out some congestion control changes that were causing trouble,
among other things, for the "soft" mount option.
Trond Myklebust [Thu, 21 Aug 2003 11:27:54 +0000 (04:27 -0700)]
If an RPC request has to be resent due to a timeout, it turns out
that call_encode() may cause rq_rcv_buf to be reset despite the fact
that a reply might be delivered at any moment by a softirq.
This typically results in 'NFS: server cheating in read reply'
error messages.
Solve by adding rq_private_buf, which is updated atomically from
rq_rcv_buf.
Trond Myklebust [Thu, 21 Aug 2003 11:23:34 +0000 (04:23 -0700)]
Various RPC client fixes:
- Ensure that we reset req->rq_received before resending if the
server has sent us a garbage reply.
- Whenever we grab the xprt_lock_write "semaphore" ensure that we
reset req->rq_bytes_sent.
- When resending a TCP request, do not interrupt in the
middle of transmission even if we do get a reply from the server.
- Protect the call to rpc_calc_rto() against modification while
we are calculating