linux-2.6
19 years agoMerge git://oss.sgi.com:8090/oss/git/xfs-2.6
Linus Torvalds [Fri, 4 Nov 2005 00:25:58 +0000 (16:25 -0800)] 
Merge git://oss.sgi.com:8090/oss/git/xfs-2.6

19 years ago[XFS] Remove no-longer-used qsort source.
Nathan Scott [Thu, 3 Nov 2005 23:51:01 +0000 (10:51 +1100)] 
[XFS] Remove no-longer-used qsort source.

Signed-off-by: Nathan Scott <nathans@sgi.com>
19 years ago[XFS] Fix an inode32 regression - if no options are presented, must still
Nathan Scott [Thu, 3 Nov 2005 22:49:07 +0000 (09:49 +1100)] 
[XFS] Fix an inode32 regression - if no options are presented, must still
set default flags.

SGI-PV: 945242
SGI-Modid: xfs-linux-melb:xfs-kern:24292a

Signed-off-by: Nathan Scott <nathans@sgi.com>
19 years ago[XFS] Remove several no-longer-used files.
Nathan Scott [Thu, 3 Nov 2005 05:50:07 +0000 (16:50 +1100)] 
[XFS] Remove several no-longer-used files.

Signed-off-by: Nathan Scott <nathans@sgi.com>
19 years ago[XFS] Cleanup cosmetic differences between source trees.
Nathan Scott [Thu, 3 Nov 2005 05:14:31 +0000 (16:14 +1100)] 
[XFS] Cleanup cosmetic differences between source trees.

Signed-off-by: Nathan Scott <nathans@sgi.com>
19 years ago[PATCH] x86-64: bitops fix for -Os
Alexandre Oliva [Mon, 31 Oct 2005 20:29:36 +0000 (18:29 -0200)] 
[PATCH] x86-64: bitops fix for -Os

This fixes the x86-64 find_[first|next]_zero_bit() function for the
end-of-range case.  It didn't test for a zero size, and the "rep scas"
would do entirely the wrong thing.

Signed-off-by: Alexandre Oliva <oliva@lsd.ic.unicamp.br>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[XFS] fix XFS quota for modular XFS builds
Nathan Scott [Thu, 3 Nov 2005 02:55:06 +0000 (13:55 +1100)] 
[XFS] fix XFS quota for modular XFS builds

Cannot build XFS filesystem support as module with quota support.  It
works only when the XFS filesystem support is compiled into the kernel.
Menuconfig prevents from setting CONFIG_XFS_FS=m and CONFIG_XFS_QUOTA=y.

How to reproduce: configure the XFS filesystem with quota support as
module.  The resulting kernel won't have quota support compiled into
xfs.ko.

Fix: Changing the fs/xfs/Kconfig file from tristate to bool lets you
configure the quota support to be compiled into the XFS module.  The
Makefile-linux-2.6 checks only for CONFIG_XFS_QUOTA=y.

Signed-off-by: Dimitri Puzin <tristan-777@ddkom-online.de>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Nathan Scott <nathans@sgi.com>
19 years ago[XFS] Add a mechanism for XFS to use the generic quota sync method.
Nathan Scott [Thu, 3 Nov 2005 02:53:34 +0000 (13:53 +1100)] 
[XFS] Add a mechanism for XFS to use the generic quota sync method.
This is now used to issue a delayed allocation flush before reporting
quota, which allows the used space quota report to match reality.

Signed-off-by: Nathan Scott <nathans@sgi.com>
19 years ago[XFS] Add the project quota type into the XFS quota header.
Nathan Scott [Thu, 3 Nov 2005 02:51:23 +0000 (13:51 +1100)] 
[XFS] Add the project quota type into the XFS quota header.

Signed-off-by: Nathan Scott <nathans@sgi.com>
19 years ago[XFS] Update XFS quota header license to match the SGI boilerplate.
Nathan Scott [Thu, 3 Nov 2005 02:50:05 +0000 (13:50 +1100)] 
[XFS] Update XFS quota header license to match the SGI boilerplate.

Signed-off-by: Nathan Scott <nathans@sgi.com>
19 years ago[XFS] Update XFS documentation.
Nathan Scott [Thu, 3 Nov 2005 02:46:43 +0000 (13:46 +1100)] 
[XFS] Update XFS documentation.

Signed-off-by: Nathan Scott <nathans@sgi.com>
19 years agoMerge master.kernel.org:/home/rmk/linux-2.6-arm
Linus Torvalds [Thu, 3 Nov 2005 02:38:22 +0000 (18:38 -0800)] 
Merge master.kernel.org:/home/rmk/linux-2.6-arm

19 years agoMerge branch 'swiotlb' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6
Linus Torvalds [Thu, 3 Nov 2005 02:36:15 +0000 (18:36 -0800)] 
Merge branch 'swiotlb' of git://git./linux/kernel/git/aegl/linux-2.6

19 years ago[XFS] Fixed the inconsistency between attribute b-tree intermidiate node
Yingping Lu [Wed, 2 Nov 2005 23:31:47 +0000 (10:31 +1100)] 
[XFS] Fixed the inconsistency between attribute b-tree intermidiate node
and leaf blocks. The problem cam from xfsqa test 117.

SGI-PV: 940655
SGI-Modid: xfs-linux:xfs-kern:201527a

Signed-off-by: Yingping Lu <yingping@sgi.com>
Signed-off-by: Nathan Scott <nathans@sgi.com>
19 years ago[ARM SMP] Add hotplug CPU infrastructure
Russell King [Wed, 2 Nov 2005 22:24:33 +0000 (22:24 +0000)] 
[ARM SMP] Add hotplug CPU infrastructure

This patch adds the infrastructure to support hotplug CPU on ARM
platforms.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
19 years ago[ARM SMP] Fix a couple of warnings
Russell King [Wed, 2 Nov 2005 21:54:14 +0000 (21:54 +0000)] 
[ARM SMP] Fix a couple of warnings

Use *cpus_addr() to display the mask of pending/to be called CPUs.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
19 years ago[ARM SMP] Track CPU idle threads
Russell King [Wed, 2 Nov 2005 21:51:40 +0000 (21:51 +0000)] 
[ARM SMP] Track CPU idle threads

Track the idle thread task_struct for each CPU.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
19 years agoMerge git://brick.kernel.dk/data/git/linux-2.6-block
Linus Torvalds [Wed, 2 Nov 2005 16:06:02 +0000 (08:06 -0800)] 
Merge git://brick.kernel.dk/data/git/linux-2.6-block

19 years ago[ARM] Fix ARM rwlock implementations
Russell King [Wed, 2 Nov 2005 15:09:31 +0000 (15:09 +0000)] 
[ARM] Fix ARM rwlock implementations

fb1c8f93d869b34cacb8b8932e2b83d96a19d720 broke the ARM rwlock code since
it only partially updated the rwlock implementation.  Properly update it.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
19 years ago[ARM] AMBA CLCD driver can drive PL110 and PL111 primecells
Russell King [Wed, 2 Nov 2005 14:40:35 +0000 (14:40 +0000)] 
[ARM] AMBA CLCD driver can drive PL110 and PL111 primecells

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
19 years ago[ARM] Fix Realview machine for patch 3016/1
Russell King [Wed, 2 Nov 2005 14:14:37 +0000 (14:14 +0000)] 
[ARM] Fix Realview machine for patch 3016/1

3016/1 changed the map_desc structure to take a PFN instead of a
physical address.  Fixup Realview machine support for this change.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
19 years ago[ARM] Fix mm initialisation with write buffered write allocate caches
Russell King [Wed, 2 Nov 2005 14:11:35 +0000 (14:11 +0000)] 
[ARM] Fix mm initialisation with write buffered write allocate caches

It seems that without the extra tlb flush, we may end up faulting
during the early kernel initialisation because the TLB can't see
the updated page tables.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
19 years ago[ARM] 3083/1: include/asm-arm/arch-ixp4xx/io.h: eliminate warnings for pointer passed...
John Bowler [Wed, 2 Nov 2005 11:55:12 +0000 (11:55 +0000)] 
[ARM] 3083/1: include/asm-arm/arch-ixp4xx/io.h: eliminate warnings for pointer passed to integral function argument

Patch from John Bowler

Fix for a compiler warning, this wasn't apparent in 2.6.12, I
believe the compiler options have been changed (somewhere) so
that passing a (void*) to a (u32) argument is now warned.

This accounts for the majority of the warnings in my builds of
the 2.6.14 kernel for NSLU2.

The patch changes pointer parameters declared as u32 to be
declared as either, for read parameters:

const volatile void __iomem *

and for write parameters:

volatile void __iomem *

Signed-off-by: John Bowler <jbowler@acm.org>
Signed-off-by: Deepak Saxena <dsaxena@plexity.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
19 years ago[ARM] Fix realview machine type for patch 3060/1
Russell King [Wed, 2 Nov 2005 11:51:15 +0000 (11:51 +0000)] 
[ARM] Fix realview machine type for patch 3060/1

Realview was missed in this cleanup...

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
19 years ago[PATCH] blk: fix dangling pointer access in __elv_add_request
Tejun Heo [Tue, 1 Nov 2005 08:23:49 +0000 (17:23 +0900)] 
[PATCH] blk: fix dangling pointer access in __elv_add_request

cfq's add_req_fn callback may invoke q->request_fn directly and
depending on low-level driver used and timing, a queued request may be
finished & deallocated before add_req_fn callback returns.  So,
__elv_add_request must not access rq after it's passed to add_req_fn
callback.

This patch moves rq_mergeable test above add_req_fn().  This may
result in q->last_merge pointing to REQ_NOMERGE request if add_req_fn
callback sets it but as RQ_NOMERGE is checked again when blk layer
actually tries to merge requests, this does not cause any problem.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] ibmveth fix panic in initial replenish cycle
Santiago Leon [Tue, 1 Nov 2005 19:15:09 +0000 (14:15 -0500)] 
[PATCH] ibmveth fix panic in initial replenish cycle

This patch fixes a panic in the current tree caused by a race condition between the initial replenish cycle and the rx processing of the first packets trying to replenish the buffers.

Signed-off-by: Santiago Leon <santil@us.ibm.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] missing platform_device.h includes
Al Viro [Tue, 1 Nov 2005 15:14:05 +0000 (15:14 +0000)] 
[PATCH] missing platform_device.h includes

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years agoMerge master.kernel.org:/pub/scm/linux/kernel/git/airlied/drm-2.6
Linus Torvalds [Wed, 2 Nov 2005 05:49:07 +0000 (21:49 -0800)] 
Merge /pub/scm/linux/kernel/git/airlied/drm-2.6

Manual fixups for some clashes due to re-indenting.

19 years ago[PATCH] tlclk build fix
Andrew Morton [Tue, 1 Nov 2005 07:44:30 +0000 (23:44 -0800)] 
[PATCH] tlclk build fix

drivers/char/tlclk.c: In function `tlclk_init':
drivers/char/tlclk.c:775: warning: implicit declaration of function `platform_device_register_simple'

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] audit_sysctl_exit can only be used with CONF_AUDIT_SYSCTL
Horms [Tue, 1 Nov 2005 07:44:29 +0000 (23:44 -0800)] 
[PATCH] audit_sysctl_exit can only be used with CONF_AUDIT_SYSCTL

This section of code calls .audit_syscal_exit, but is inside CONFIG_AUDIT,
so it will fail to build if CONFIG_AUDITSYSCALL is not defined.

After discussion with David Woodhouse, change the ifdef to
CONFIG_AUDITSYSCALL

Signed-off-by: Horms <horms@verge.net.au>
Acked-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] TPM compile fix
Chris Wright [Tue, 1 Nov 2005 07:44:28 +0000 (23:44 -0800)] 
[PATCH] TPM compile fix

  CC      drivers/char/tpm/tpm_nsc.o
drivers/char/tpm/tpm_nsc.c:277: error: `platform_bus_type' undeclared here (not in a function)
...
  CC      drivers/char/tpm/tpm_atmel.o
drivers/char/tpm/tpm_atmel.c:175: error: `platform_bus_type' undeclared here (not in a function)

Make sure to include proper headers.

Signed-off-by: Chris Wright <chrisw@osdl.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] m68knommu: add 5208 ColdFire reset/reboot support
Greg Ungerer [Wed, 2 Nov 2005 05:12:42 +0000 (15:12 +1000)] 
[PATCH] m68knommu: add 5208 ColdFire reset/reboot support

Add reset/reboot code to support the ColdFire 5208 family.
Patch originally from Matt Wadell (from code originally written by
Mike Lavender).

Signed-off-by: Greg Ungerer <gerg@uclinux.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] m68knommu: add 5208 ColdFire UART support
Greg Ungerer [Wed, 2 Nov 2005 05:11:08 +0000 (15:11 +1000)] 
[PATCH] m68knommu: add 5208 ColdFire UART support

Add support for the UARTs on the ColdFire 5208 family.
Patch originally from Matt Wadell (from code originally written by
Mike Lavender).

Signed-off-by: Greg Ungerer <gerg@uclinux.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] m68knommu: add 5208 ColdFire pit interrupt support
Greg Ungerer [Wed, 2 Nov 2005 05:10:22 +0000 (15:10 +1000)] 
[PATCH] m68knommu: add 5208 ColdFire pit interrupt support

The PIT timer in the 5208 ColdFire has slightly different interrupt
bit definitions than the PIT timer used on other ColdFire parts.
Define the commonly used bit and mask numbers here, and let
part specific defines take precedence if they are defined.

Patch originally from Matt Wadell (from code originally written by
Mike Lavender).

Signed-off-by: Greg Ungerer <gerg@uclinux.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] m68knommu: add 5208 ColdFire pit timer support
Greg Ungerer [Wed, 2 Nov 2005 05:05:55 +0000 (15:05 +1000)] 
[PATCH] m68knommu: add 5208 ColdFire pit timer support

Add support for the PIT timer used in the 5208 ColdFire fmaily.
Patch originally from Matt Wadell (from code originally modified by
Mike Lavender).

Signed-off-by: Greg Ungerer <gerg@uclinux.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] m68knommu: use board defines to distinguish boards
Greg Ungerer [Wed, 2 Nov 2005 05:04:37 +0000 (15:04 +1000)] 
[PATCH] m68knommu: use board defines to distinguish boards

Use board name defines to distinguish boards, instead of combinations
of more generic defines.

Signed-off-by: Greg Ungerer <gerg@uclinux.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] m68knommu: add 5208 ColdFire cache support
Greg Ungerer [Wed, 2 Nov 2005 05:03:09 +0000 (15:03 +1000)] 
[PATCH] m68knommu: add 5208 ColdFire cache support

Add support for the cpu cache of the 5208 ColdFire fmaily.
Patch originally from Matt Wadell (from code originally written by
Mike Lavender).

Signed-off-by: Greg Ungerer <gerg@uclinux.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] m68knommu: add 5208 ColdFire support defines
Greg Ungerer [Wed, 2 Nov 2005 05:02:01 +0000 (15:02 +1000)] 
[PATCH] m68knommu: add 5208 ColdFire support defines

Add support for the internal register map of the 5208 ColdFire fmaily.
Patch originally from Matt Wadell (from code originally written by
Mike Lavender).

Signed-off-by: Greg Ungerer <gerg@uclinux.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] m68knommu: add 5208 ColdFire support defines for its internal map
Greg Ungerer [Wed, 2 Nov 2005 04:59:09 +0000 (14:59 +1000)] 
[PATCH] m68knommu: add 5208 ColdFire support defines for its internal map

Define the register space of the new 5208 ColdFire family (which includes
to 5207). It is mostly similar to the other ColdFire parts.

Signed-off-by: Greg Ungerer <gerg@uclinux.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] m68knommu: use board name defines to differentiate board definitions
Greg Ungerer [Wed, 2 Nov 2005 04:56:46 +0000 (14:56 +1000)] 
[PATCH] m68knommu: use board name defines to differentiate board definitions

Use board name define to differentiate boards, not combination
of more generic defines.

Signed-off-by: Greg Ungerer <gerg@uclinux.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] m68knommu: updated defconfig
Greg Ungerer [Wed, 2 Nov 2005 04:53:58 +0000 (14:53 +1000)] 
[PATCH] m68knommu: updated defconfig

Updated m68knommu defconfig. Part of changing the "Motorola" names
to their new name "Freescale".

Signed-off-by: Greg Ungerer <gerg@uclinux.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] m68knommu: remove unmaintained asm-m68knommu/ide.h
Greg Ungerer [Wed, 2 Nov 2005 04:52:21 +0000 (14:52 +1000)] 
[PATCH] m68knommu: remove unmaintained asm-m68knommu/ide.h

Remove unmaintained asm-m68knommu/ide.h. It is completely out of
date - and there is no underlying support for it.

Signed-off-by: Greg Ungerer <gerg@uclinux.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] m68knommu: remove auto-generated asm-offsets.h
Greg Ungerer [Wed, 2 Nov 2005 04:50:04 +0000 (14:50 +1000)] 
[PATCH] m68knommu: remove auto-generated asm-offsets.h

Remove auto-generated file from source base.

Signed-off-by: Greg Ungerer <gerg@uclinux.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] m68knommu: change use of extern inline to static inline in headers
Greg Ungerer [Wed, 2 Nov 2005 04:42:03 +0000 (14:42 +1000)] 
[PATCH] m68knommu: change use of extern inline to static inline in headers

"extern inline" doesn't make much sense here.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Greg Ungerer <gerg@uclinux.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years agoMerge master.kernel.org:/pub/scm/linux/kernel/git/acme/net-2.6
Linus Torvalds [Wed, 2 Nov 2005 05:33:06 +0000 (21:33 -0800)] 
Merge /pub/scm/linux/kernel/git/acme/net-2.6

19 years agoMerge master.kernel.org:/home/rmk/linux-2.6-serial
Linus Torvalds [Wed, 2 Nov 2005 05:32:46 +0000 (21:32 -0800)] 
Merge master.kernel.org:/home/rmk/linux-2.6-serial

19 years agoMerge master.kernel.org:/home/rmk/linux-2.6-arm
Linus Torvalds [Wed, 2 Nov 2005 05:32:14 +0000 (21:32 -0800)] 
Merge master.kernel.org:/home/rmk/linux-2.6-arm

19 years agoMerge master.kernel.org:/pub/scm/linux/kernel/git/wim/linux-2.6-watchdog
Linus Torvalds [Wed, 2 Nov 2005 05:29:57 +0000 (21:29 -0800)] 
Merge /linux/kernel/git/wim/linux-2.6-watchdog

19 years agoMerge master.kernel.org:/pub/scm/linux/kernel/git/sfrench/cifs-2.6
Linus Torvalds [Wed, 2 Nov 2005 05:28:53 +0000 (21:28 -0800)] 
Merge /pub/scm/linux/kernel/git/sfrench/cifs-2.6

19 years ago[PATCH] toshiba_ohci1394_dmi_table should be __devinitdata, not __devinit
Roland Dreier [Sat, 29 Oct 2005 04:50:35 +0000 (21:50 -0700)] 
[PATCH] toshiba_ohci1394_dmi_table should be __devinitdata, not __devinit

I don't really understand why gcc gives the error it does, but without
this patch, when building with CONFIG_HOTPLUG=n, I get errors like:

      CC      arch/x86_64/pci/../../i386/pci/fixup.o
    arch/x86_64/pci/../../i386/pci/fixup.c: In function `pci_fixup_i450nx':
    arch/x86_64/pci/../../i386/pci/fixup.c:13: error: pci_fixup_i450nx causes a section type conflict

The change is obviously correct: an array should be declared
__devinitdata rather that __devinit.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
Acked-by: Martin J. Bligh <mbligh@mbligh.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[XFS] Ensure fsync does not incorrectly return EIO for pages beyond EOF.
Nathan Scott [Wed, 2 Nov 2005 04:14:09 +0000 (15:14 +1100)] 
[XFS] Ensure fsync does not incorrectly return EIO for pages beyond EOF.

SGI-PV: 944819
SGI-Modid: xfs-linux:xfs-kern:24236a

Signed-off-by: Nathan Scott <nathans@sgi.com>
19 years ago[XFS] Fix calculation of reserved AGs for inodes in 32-bit inode mode
Eric Sandeen [Wed, 2 Nov 2005 04:13:42 +0000 (15:13 +1100)] 
[XFS] Fix calculation of reserved AGs for inodes in 32-bit inode mode
Spotted by Roger Willcocks <willcor @at@ gmail.com>

SGI-PV: 944858
SGI-Modid: xfs-linux:xfs-kern:201213a

Signed-off-by: Eric Sandeen <sandeen@sgi.com>
Signed-off-by: Nathan Scott <nathans@sgi.com>
19 years ago[XFS] Fix boundary conditions when issuing direct IOs from large userspace
Nathan Scott [Wed, 2 Nov 2005 04:13:13 +0000 (15:13 +1100)] 
[XFS] Fix boundary conditions when issuing direct IOs from large userspace
buffers.

SGI-PV: 944820
SGI-Modid: xfs-linux:xfs-kern:24223a

Signed-off-by: Nathan Scott <nathans@sgi.com>
19 years ago[XFS] Remove an unhelpful ifdef, the comment above the routine explains
Nathan Scott [Wed, 2 Nov 2005 04:12:28 +0000 (15:12 +1100)] 
[XFS] Remove an unhelpful ifdef, the comment above the routine explains
the purpose well enough here.

SGI-PV: 944821
SGI-Modid: xfs-linux:xfs-kern:24214a

Signed-off-by: Nathan Scott <nathans@sgi.com>
19 years ago[XFS] Remove old, broken nolog-mode code - noone plans to ever fix it.
Nathan Scott [Wed, 2 Nov 2005 04:12:04 +0000 (15:12 +1100)] 
[XFS] Remove old, broken nolog-mode code - noone plans to ever fix it.

SGI-PV: 944821
SGI-Modid: xfs-linux:xfs-kern:24213a

Signed-off-by: Nathan Scott <nathans@sgi.com>
19 years ago[XFS] Rework fid encode/decode wrt 64 bit inums interacting with NFS.
Nathan Scott [Wed, 2 Nov 2005 04:11:45 +0000 (15:11 +1100)] 
[XFS] Rework fid encode/decode wrt 64 bit inums interacting with NFS.

SGI-PV: 937127
SGI-Modid: xfs-linux:xfs-kern:24201a

Signed-off-by: Nathan Scott <nathans@sgi.com>
19 years ago[XFS] Endianess annotations for various allocator data structures
Christoph Hellwig [Wed, 2 Nov 2005 04:11:25 +0000 (15:11 +1100)] 
[XFS] Endianess annotations for various allocator data structures

SGI-PV: 943272
SGI-Modid: xfs-linux:xfs-kern:201006a

Signed-off-by: Christoph Hellwig <hch@sgi.com>
Signed-off-by: Nathan Scott <nathans@sgi.com>
19 years ago[XFS] remove unused code from xfs_iomap_write_direct
Eric Sandeen [Wed, 2 Nov 2005 04:10:55 +0000 (15:10 +1100)] 
[XFS] remove unused code from xfs_iomap_write_direct

SGI-PV: 943266
SGI-Modid: xfs-linux:xfs-kern:200996a

Signed-off-by: Eric Sandeen <sandeen@sgi.com>
Signed-off-by: Nathan Scott <nathans@sgi.com>
19 years ago[XFS] fix old xfs_setattr mis-merge from irix; mostly harmless esp if not
Eric Sandeen [Wed, 2 Nov 2005 04:10:41 +0000 (15:10 +1100)] 
[XFS] fix old xfs_setattr mis-merge from irix; mostly harmless esp if not
using xfs rt

SGI-PV: 944632
SGI-Modid: xfs-linux:xfs-kern:200983a

Signed-off-by: Eric Sandeen <sandeen@sgi.com>
Signed-off-by: Nathan Scott <nathans@sgi.com>
19 years ago[XFS] Fixing size report discrepancy between ls and du caused by xfs_fsr
Yingping Lu [Wed, 2 Nov 2005 04:10:24 +0000 (15:10 +1100)] 
[XFS] Fixing size report discrepancy between ls and du caused by xfs_fsr

SGI-PV: 943908
SGI-Modid: xfs-linux:xfs-kern:200874a

Signed-off-by: Yingping Lu <yingping@sgi.com>
Signed-off-by: Nathan Scott <nathans@sgi.com>
19 years ago[XFS] Fixed a bug in reporting extent list for attribute fork running
Yingping Lu [Wed, 2 Nov 2005 04:09:54 +0000 (15:09 +1100)] 
[XFS] Fixed a bug in reporting extent list for attribute fork running
xfs_bmap -a.

SGI-PV: 944075
SGI-Modid: xfs-linux:xfs-kern:200860a

Signed-off-by: Yingping Lu <yingping@sgi.com>
Signed-off-by: Nathan Scott <nathans@sgi.com>
19 years ago[XFS] Simplify pagebuf_rele Remove a conditional that can not be true
Christoph Hellwig [Wed, 2 Nov 2005 04:09:35 +0000 (15:09 +1100)] 
[XFS] Simplify pagebuf_rele  Remove a conditional that can not be true
anymore and simplify the final put path a little

SGI-PV: 908809
SGI-Modid: xfs-linux:xfs-kern:200790a

Signed-off-by: Christoph Hellwig <hch@sgi.com>
Signed-off-by: Nathan Scott <nathans@sgi.com>
19 years ago[XFS] Rework the final mount options flag bit to make room for more.
Nathan Scott [Wed, 2 Nov 2005 04:09:22 +0000 (15:09 +1100)] 
[XFS] Rework the final mount options flag bit to make room for more.

SGI-PV: 943866
SGI-Modid: xfs-linux:xfs-kern:24030a

Signed-off-by: Nathan Scott <nathans@sgi.com>
19 years ago[XFS] Rework the dquot hash sizing heuristics.
Nathan Scott [Wed, 2 Nov 2005 04:08:25 +0000 (15:08 +1100)] 
[XFS] Rework the dquot hash sizing heuristics.

SGI-PV: 943123
SGI-Modid: xfs-linux:xfs-kern:24012a

Signed-off-by: Nathan Scott <nathans@sgi.com>
19 years ago[XFS] Add ATTR_NOSIZETOK definition for xfs_vnodeops.c change
Eric Sandeen [Wed, 2 Nov 2005 04:08:10 +0000 (15:08 +1100)] 
[XFS] Add ATTR_NOSIZETOK definition for xfs_vnodeops.c change

SGI-PV: 942439
SGI-Modid: xfs-linux:xfs-kern:200185a

Signed-off-by: Eric Sandeen <sandeen@sgi.com>
Signed-off-by: Nathan Scott <nathans@sgi.com>
19 years ago[XFS] Disable attr2 by default, until a more appropriate time to enable
Nathan Scott [Wed, 2 Nov 2005 04:07:51 +0000 (15:07 +1100)] 
[XFS] Disable attr2 by default, until a more appropriate time to enable
it.

SGI-PV: 941645
SGI-Modid: xfs-linux:xfs-kern:24002a

Signed-off-by: Nathan Scott <nathans@sgi.com>
19 years ago[XFS] Prevent data corruption on extending truncate case from cxfs client
Eric Sandeen [Wed, 2 Nov 2005 04:07:34 +0000 (15:07 +1100)] 
[XFS] Prevent data corruption on extending truncate case from cxfs client

SGI-PV: 942439
SGI-Modid: xfs-linux:xfs-kern:200152a

Signed-off-by: Eric Sandeen <sandeen@sgi.com>
Signed-off-by: Nathan Scott <nathans@sgi.com>
19 years ago[XFS] Fix sparse warnings in ktrace.[ch]
Christoph Hellwig [Wed, 2 Nov 2005 04:07:23 +0000 (15:07 +1100)] 
[XFS] Fix sparse warnings in ktrace.[ch]

SGI-PV: 943556
SGI-Modid: xfs-linux:xfs-kern:200113a

Signed-off-by: Christoph Hellwig <hch@sgi.com>
Signed-off-by: Nathan Scott <nathans@sgi.com>
19 years ago[XFS] silence gcc4 warnings. the directory ones are wrong because of
Christoph Hellwig [Wed, 2 Nov 2005 04:06:18 +0000 (15:06 +1100)] 
[XFS] silence gcc4 warnings.  the directory ones are wrong because of
information gcc could not find out (that a directory always has a ..
entry), the others are outright gcc bugs.

SGI-PV: 943511
SGI-Modid: xfs-linux:xfs-kern:200055a

Signed-off-by: Christoph Hellwig <hch@sgi.com>
Signed-off-by: Nathan Scott <nathans@sgi.com>
19 years ago[XFS] Remove unused type, xfs_gap_t.
Nathan Scott [Wed, 2 Nov 2005 04:05:34 +0000 (15:05 +1100)] 
[XFS] Remove unused type, xfs_gap_t.

SGI-PV: 907752
SGI-Modid: xfs-linux:xfs-kern:23932a

Signed-off-by: Nathan Scott <nathans@sgi.com>
19 years ago[XFS] endianess annotations and cleanup for the quota code
Christoph Hellwig [Wed, 2 Nov 2005 04:01:12 +0000 (15:01 +1100)] 
[XFS] endianess annotations and cleanup for the quota code

SGI-PV: 943272
SGI-Modid: xfs-linux:xfs-kern:199767a

Signed-off-by: Christoph Hellwig <hch@sgi.com>
Signed-off-by: Nathan Scott <nathans@sgi.com>
19 years ago[XFS] Show additional mount options in /proc/mounts, fix up some debug
Nathan Scott [Wed, 2 Nov 2005 04:00:48 +0000 (15:00 +1100)] 
[XFS] Show additional mount options in /proc/mounts, fix up some debug
code.

SGI-PV: 941645
SGI-Modid: xfs-linux:xfs-kern:23926a

Signed-off-by: Nathan Scott <nathans@sgi.com>
19 years ago[XFS] Fix up a 32/64 local flags variable issue when enabling attr2 mode.
Nathan Scott [Wed, 2 Nov 2005 04:00:20 +0000 (15:00 +1100)] 
[XFS] Fix up a 32/64 local flags variable issue when enabling attr2 mode.

SGI-PV: 941645
SGI-Modid: xfs-linux:xfs-kern:23925a

Signed-off-by: Nathan Scott <nathans@sgi.com>
19 years ago[XFS] Remove dead code in xfs_iomap_write_direct; save some stack
Eric Sandeen [Wed, 2 Nov 2005 04:00:01 +0000 (15:00 +1100)] 
[XFS] Remove dead code in xfs_iomap_write_direct; save some stack

SGI-PV: 943266
SGI-Modid: xfs-linux:xfs-kern:199750a

Signed-off-by: Eric Sandeen <sandeen@sgi.com>
Signed-off-by: Nathan Scott <nathans@sgi.com>
19 years ago[XFS] Update license/copyright notices to match the prefered SGI
Nathan Scott [Wed, 2 Nov 2005 03:59:41 +0000 (14:59 +1100)] 
[XFS] Update license/copyright notices to match the prefered SGI
boilerplate.

SGI-PV: 913862
SGI-Modid: xfs-linux:xfs-kern:23917a

Signed-off-by: Nathan Scott <nathans@sgi.com>
19 years ago[XFS] Update license/copyright notices to match the prefered SGI
Nathan Scott [Wed, 2 Nov 2005 03:58:39 +0000 (14:58 +1100)] 
[XFS] Update license/copyright notices to match the prefered SGI
boilerplate.

SGI-PV: 913862
SGI-Modid: xfs-linux:xfs-kern:23903a

Signed-off-by: Nathan Scott <nathans@sgi.com>
19 years ago[XFS] Remove xfs_macros.c, xfs_macros.h, rework headers a whole lot.
Nathan Scott [Wed, 2 Nov 2005 03:38:42 +0000 (14:38 +1100)] 
[XFS] Remove xfs_macros.c, xfs_macros.h, rework headers a whole lot.

SGI-PV: 943122
SGI-Modid: xfs-linux:xfs-kern:23901a

Signed-off-by: Nathan Scott <nathans@sgi.com>
19 years ago[XFS] remove unused struct xfs_ail_ticket
Christoph Hellwig [Wed, 2 Nov 2005 00:44:57 +0000 (11:44 +1100)] 
[XFS] remove unused struct xfs_ail_ticket

SGI-PV: 919278
SGI-Modid: xfs-linux:xfs-kern:199498a

Signed-off-by: Christoph Hellwig <hch@sgi.com>
Signed-off-by: Nathan Scott <nathans@sgi.com>
19 years ago[XFS] Track external log/realtime device names for correct reporting in
Nathan Scott [Wed, 2 Nov 2005 00:44:33 +0000 (11:44 +1100)] 
[XFS] Track external log/realtime device names for correct reporting in
/proc/mounts.

SGI-PV: 942984
SGI-Modid: xfs-linux:xfs-kern:23862a

Signed-off-by: Nathan Scott <nathans@sgi.com>
19 years ago[XFS] Improve buffered read throughput by removing unnecessary timer calls
Nathan Scott [Wed, 2 Nov 2005 00:43:58 +0000 (11:43 +1100)] 
[XFS] Improve buffered read throughput by removing unnecessary timer calls
that showed in ´kernel profiles.

SGI-PV: 925163
SGI-Modid: xfs-linux:xfs-kern:23861a

Signed-off-by: Nathan Scott <nathans@sgi.com>
19 years ago[XFS] Remove a null CELL macro and its one caller, not useful to anyone.
Nathan Scott [Wed, 2 Nov 2005 00:43:42 +0000 (11:43 +1100)] 
[XFS] Remove a null CELL macro and its one caller, not useful to anyone.

SGI-PV: 942986
SGI-Modid: xfs-linux:xfs-kern:23860a

Signed-off-by: Nathan Scott <nathans@sgi.com>
19 years ago[XFS] Fix up an internal sort function name collision issue.
Nathan Scott [Wed, 2 Nov 2005 00:43:18 +0000 (11:43 +1100)] 
[XFS] Fix up an internal sort function name collision issue.

SGI-PV: 942986
SGI-Modid: xfs-linux:xfs-kern:23859a

Signed-off-by: Nathan Scott <nathans@sgi.com>
19 years ago[XFS] Make some extended attributes routines take const parameters, for
Nathan Scott [Wed, 2 Nov 2005 00:43:04 +0000 (11:43 +1100)] 
[XFS] Make some extended attributes routines take const parameters, for
the FreeBSD porters.

SGI-PV: 942906
SGI-Modid: xfs-linux:xfs-kern:23845a

Signed-off-by: Nathan Scott <nathans@sgi.com>
19 years ago[XFS] Ondisk format extension for extended attributes (attr2). Basically,
Nathan Scott [Tue, 1 Nov 2005 23:35:56 +0000 (10:35 +1100)] 
[XFS] Ondisk format extension for extended attributes (attr2). Basically,
the data/attr forks now grow up/down from either end of the literal area,
rather than dividing the literal area into two chunks and growing both
upward.  Means we can now make much more efficient use of the attribute
space, incl. fitting DMF attributes inline in 256 byte inodes, and large
jumps in dbench3 performance numbers.  It is self enabling, but can be
forced on/off via the attr2/noattr2 mount options.

SGI-PV: 941645
SGI-Modid: xfs-linux:xfs-kern:23837a

Signed-off-by: Nathan Scott <nathans@sgi.com>
19 years ago[XFS] Ondisk format extension for extended attributes (attr2). Basically,
Nathan Scott [Tue, 1 Nov 2005 23:35:46 +0000 (10:35 +1100)] 
[XFS] Ondisk format extension for extended attributes (attr2). Basically,
the data/attr forks now grow up/down from either end of the literal area,
rather than dividing the literal area into two chunks and growing both
upward.  Means we can now make much more efficient use of the attribute
space, incl. fitting DMF attributes inline in 256 byte inodes, and large
jumps in dbench3 performance numbers.  It is self enabling, but can be
forced on/off via the attr2/noattr2 mount options.

SGI-PV: 941645
SGI-Modid: xfs-linux:xfs-kern:23836a

Signed-off-by: Nathan Scott <nathans@sgi.com>
19 years ago[XFS] Ondisk format extension for extended attributes (attr2). Basically,
Nathan Scott [Tue, 1 Nov 2005 23:34:53 +0000 (10:34 +1100)] 
[XFS] Ondisk format extension for extended attributes (attr2). Basically,
the data/attr forks now grow up/down from either end of the literal area,
rather than dividing the literal area into two chunks and growing both
upward.  Means we can now make much more efficient use of the attribute
space, incl. fitting DMF attributes inline in 256 byte inodes, and large
jumps in dbench3 performance numbers.  It is self enabling, but can be
forced on/off via the attr2/noattr2 mount options.

SGI-PV: 941645
SGI-Modid: xfs-linux:xfs-kern:23835a

Signed-off-by: Nathan Scott <nathans@sgi.com>
19 years ago[XFS] Move some code around to prepare for the upcoming extended
Nathan Scott [Tue, 1 Nov 2005 23:33:33 +0000 (10:33 +1100)] 
[XFS] Move some code around to prepare for the upcoming extended
attributes format change (attr2).

SGI-PV: 941645
SGI-Modid: xfs-linux:xfs-kern:23833a

Signed-off-by: Nathan Scott <nathans@sgi.com>
19 years ago[XFS] Introduce two new mount options (nolargeio/largeio) to allow
David Chinner [Tue, 1 Nov 2005 23:33:05 +0000 (10:33 +1100)] 
[XFS] Introduce two new mount options (nolargeio/largeio) to allow
filesystems to expose the filesystem stripe width in stat(2) rather than
the page cache size. This allows applications requiring high bandwidth to
easily determine the optimum I/O size for the underlying filesystem. The
default is to report the page cache size (i.e. "nolargeio").

SGI-PV: 942818
SGI-Modid: xfs-linux:xfs-kern:23830a

Signed-off-by: David Chinner <dgc@sgi.com>
Signed-off-by: Nathan Scott <nathans@sgi.com>
19 years ago[XFS] Provide a mechiansm for flushing delalloc before quota reporting.
Nathan Scott [Tue, 1 Nov 2005 23:32:38 +0000 (10:32 +1100)] 
[XFS] Provide a mechiansm for flushing delalloc before quota reporting.

SGI-PV: 942815
SGI-Modid: xfs-linux:xfs-kern:23829a

Signed-off-by: Nathan Scott <nathans@sgi.com>
19 years ago[XFS] Fix signedness issues in dquot ID handling, allowing uids/gids above
Nathan Scott [Tue, 1 Nov 2005 23:31:41 +0000 (10:31 +1100)] 
[XFS] Fix signedness issues in dquot ID handling, allowing uids/gids above
MAXINT

SGI-PV: 942528
SGI-Modid: xfs-linux:xfs-kern:23828a

Signed-off-by: Nathan Scott <nathans@sgi.com>
19 years ago[XFS] Add a comment about the use of XFS_SIZE_TOKEN_WANT.
Nathan Scott [Tue, 1 Nov 2005 23:31:13 +0000 (10:31 +1100)] 
[XFS] Add a comment about the use of XFS_SIZE_TOKEN_WANT.

SGI-PV: 936331
SGI-Modid: xfs-linux:xfs-kern:23827a

Signed-off-by: Nathan Scott <nathans@sgi.com>
19 years ago[XFS] only mark buffers done when all pages are uptodate in addition
Christoph Hellwig [Tue, 1 Nov 2005 23:29:39 +0000 (10:29 +1100)] 
[XFS] only mark buffers done when all pages are uptodate  in addition
replace PBF_NONE with an inverted PBF_DONE, so it's like all the other
flags.

SGI-PV: 942609
SGI-Modid: xfs-linux:xfs-kern:199136a

Signed-off-by: Christoph Hellwig <hch@sgi.com>
Signed-off-by: Nathan Scott <nathans@sgi.com>
19 years ago[XFS] Stack footprint reduction for xfs_swapext (used from xfs_fsr)
Eric Sandeen [Tue, 1 Nov 2005 23:29:04 +0000 (10:29 +1100)] 
[XFS] Stack footprint reduction for xfs_swapext (used from xfs_fsr)

SGI-PV: 913332
SGI-Modid: xfs-linux:xfs-kern:198926a

Signed-off-by: Eric Sandeen <sandeen@sgi.com>
Signed-off-by: Nathan Scott <nathans@sgi.com>
19 years ago[XFS] write barrier support Issue all log sync operations as ordered
Christoph Hellwig [Tue, 1 Nov 2005 23:26:59 +0000 (10:26 +1100)] 
[XFS] write barrier support  Issue all log sync operations as ordered
writes.  In addition flush the disk cache on fsync if the sync cached
operation didn't sync the log to disk (this requires some additional
bookeping in the transaction and log code). If the device doesn't claim to
support barriers, the filesystem has an extern log volume or the trial
superblock write with barriers enabled failed we disable barriers and
print a warning.  We should probably fail the mount completely, but that
could lead to nasty boot failures for the root filesystem.  Not enabled by
default yet, needs more destructive testing first.

SGI-PV: 912426
SGI-Modid: xfs-linux:xfs-kern:198723a

Signed-off-by: Christoph Hellwig <hch@sgi.com>
Signed-off-by: Nathan Scott <nathans@sgi.com>
19 years ago[XFS] fix PBF_NONE handling
Christoph Hellwig [Tue, 1 Nov 2005 23:25:51 +0000 (10:25 +1100)] 
[XFS] fix PBF_NONE handling

SGI-PV: 908809
SGI-Modid: xfs-linux:xfs-kern:198669a

Signed-off-by: Christoph Hellwig <hch@sgi.com>
Signed-off-by: Nathan Scott <nathans@sgi.com>
19 years ago[XFS] Add format checking to cmn_err and icmn_err
Christoph Hellwig [Tue, 1 Nov 2005 23:21:35 +0000 (10:21 +1100)] 
[XFS] Add format checking to cmn_err and icmn_err

SGI-PV: 942243
SGI-Modid: xfs-linux:xfs-kern:198658a

Signed-off-by: Christoph Hellwig <hch@sgi.com>
Signed-off-by: Nathan Scott <nathans@sgi.com>
19 years ago[XFS] remove unused pagebuf flags
Christoph Hellwig [Tue, 1 Nov 2005 23:21:14 +0000 (10:21 +1100)] 
[XFS] remove unused pagebuf flags

SGI-PV: 908809
SGI-Modid: xfs-linux:xfs-kern:198656a

Signed-off-by: Christoph Hellwig <hch@sgi.com>
Signed-off-by: Nathan Scott <nathans@sgi.com>
19 years ago[XFS] Make sure the threads and shaker in xfs_buf are de-initialized in
Christoph Hellwig [Tue, 1 Nov 2005 23:15:05 +0000 (10:15 +1100)] 
[XFS] Make sure the threads and shaker in xfs_buf are de-initialized in
reverse startup order

SGI-PV: 942063
SGI-Modid: xfs-linux:xfs-kern:198651a

Signed-off-by: Christoph Hellwig <hch@sgi.com>
Signed-off-by: Nathan Scott <nathans@sgi.com>
19 years ago[ARM] 3081/1: Remove GTWX5715 from ixp4xx_defconfig
Deepak Saxena [Tue, 1 Nov 2005 22:32:12 +0000 (22:32 +0000)] 
[ARM] 3081/1: Remove GTWX5715 from ixp4xx_defconfig

Patch from Deepak Saxena

CONFIG_MACH_GTWX5715 hardcodes the machine type in head-xscale.S so we
can no longer boot on any other machine types. The proper fix would be
to remove the hardcoding, but that machine is an off-the-shelf system
and most users won't have access to the bootloader. :(

Signed-off-by: Deepak Saxena <dsaxena@plexity.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
19 years ago[ARM] 3079/1: Fix typo in i2c-iop3xx.c (invalid pointer passed to release_mem_region)
Dan Williams [Tue, 1 Nov 2005 22:31:12 +0000 (22:31 +0000)] 
[ARM] 3079/1: Fix typo in i2c-iop3xx.c (invalid pointer passed to release_mem_region)

Patch from Dan Williams

* If request_irq fails then a call to release_mem_region will be made with an invalid pointer.
* Two formatting fixes

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Deepak Saxena <dsaxena@plexity.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>