1. 18 Feb, 2003 9 commits
  2. 17 Feb, 2003 28 commits
    • Neil Brown's avatar
      [PATCH] Provide a 'safe-mode' for soft raid. · 063e9f83
      Neil Brown authored
      When a raid1 or raid5 array is in 'safe-mode', then the array
      is marked clean whenever there are no outstanding write requests,
      and is marked dirty again before allowing any write request to
      proceed.
      
      This means than an unclean shutdown while no write activity is happening
      will NOT cause a resync to be required.  However it does mean extra
      updates to the superblock.
      
      Currently safe-mode is turned on by sending SIGKILL to the raid thread
      as would happen at a normal shutdown.  This should mean that the
      reboot notifier is no longer needed.
      
      After looking more at performance issues I may make safemode be on
      all the time.  I will almost certainly make it on when RAID5 is degraded
      as an unclean shutdown of a degraded RAID5 means data loss.
      
      This code was provided by  Angus Sawyer <angus.sawyer@dsl.pipex.com>
      063e9f83
    • Neil Brown's avatar
      [PATCH] Add name of md device to name of thread managing that device. · f8015734
      Neil Brown authored
      This allows the thread to easily identified and signalled.
      The point of signalling will appear in the next patch.
      f8015734
    • Neil Brown's avatar
      [PATCH] C99 initializers for drivers/md/md.c · 0b8838ab
      Neil Brown authored
      From Art Haas <ahaas@airmail.net>:
      
      This converts md.c to use C99 initializers to improve readability and
      remove warnings if '-W' is used.
      0b8838ab
    • Neil Brown's avatar
      [PATCH] Small bug fix for multipath. · a562496a
      Neil Brown authored
      by the nature of multipath, already be in-sync, so we should set the
      in-sync flag.
      a562496a
    • Neil Brown's avatar
      [PATCH] linear.c fix for gcc bug · 787ba09c
      Neil Brown authored
      From Andrew Morton <akpm@digeo.com>:
      
      gcc-2.95.3 is getting an internal compiler error with CONFIG_LBD=y.  Reorganising
      the code a bit made it go away.
      787ba09c
    • Neil Brown's avatar
      [PATCH] Fix bug in md superblock sanity checking. · d6eb9fa0
      Neil Brown authored
      This call the super_90_load is meant to make sure that the new
      superblock is consistant with a pre-exisitnig one (on rdev0)...  but
      rdev0 was not passed :-(
      d6eb9fa0
    • Neil Brown's avatar
      [PATCH] Convert fs/nfsctl.c to use C99 named initiailzers · f60f250f
      Neil Brown authored
      From Art Haas <ahaas@airmail.net>:
      
      This converts the file to use C99 named initializers.  These change make
      the file compile with fewer warnings if '-W' is added to the compile
      flags, and may enhance code readability.  Let me know if you think this
      should be sent to Linus.
      f60f250f
    • Neil Brown's avatar
      [PATCH] Make kNFSd pre/post_[acm]time use struct timespec · 833221da
      Neil Brown authored
      From Trond:
      
        When the nanosecond resolution on [acm]time was introduced to 2.5.x,
      the knfsd GETATTR responses were converted to make use of the
      nanosecond field, but the pre/post WCC attributes were not. This will
      lead to a lot of unnecessary cache invalidations on the clients.
      
      The following trivial patch should fix up knfsd so that it stores and
      encodes the full 'struct timespec' in both pre and post attribute
      fields.
      833221da
    • Neil Brown's avatar
      [PATCH] Fix problem where knfsd wouldn't release filesystem on unexport. · 696c47a2
      Neil Brown authored
      Problem was that the cache was being updated inplace, rather
      than swapping in a new entry, so old filesystem pointers
      were overwritten without being released.
      696c47a2
    • Neil Brown's avatar
      [PATCH] Fix handling of error code in NFSv4 replies · 6edc72f4
      Neil Brown authored
      As nfsv4 does some reply encoding while processing
      requests, the code which tries to put the overall status
      at the head of the reply fails.
      
      With this patch, we take the address for the overall
      status very early so NFSv4's encoding wont confuse us.
      6edc72f4
    • Neil Brown's avatar
      [PATCH] Keep track of which page is the 'tail' of an NFSd reply · 467cb27b
      Neil Brown authored
      NFS replies can have a 'tail' after a 'data' component
      (for read, readlink, readdir).
      
      For nfsv2 and v3 this tail is in the same page as the head.
      For nfsv4, this tail is in a separate page.
      
      We need to keep track of which page so that it right one
      gets sent.  This patch does that.
      467cb27b
    • Neil Brown's avatar
      [PATCH] Bounds checking for NFSv3 readdirplus · 2aeb0311
      Neil Brown authored
      From Ted Phelps <phelps@dstc.edu.au>
      
      The NFSv3 readdirplus path doesn't check to see if maxcount is less
      than the size of a page before it fills it up, possibly overwriting
      random bits of memory.  At least, it makes my Solaris NFSv3 client
      work.
      
      The attached patch, against 2.5.58, adds this check in a way which is
      consistent with the way readdir does under both NFSv2 andNFSv3.
      2aeb0311
    • James Bottomley's avatar
      Merge raven.il.steeleye.com:/home/jejb/BK/scsi-misc-2.5 · e7308b44
      James Bottomley authored
      into raven.il.steeleye.com:/home/jejb/BK/scsi-for-linus-2.5
      e7308b44
    • James Bottomley's avatar
    • Mike Anderson's avatar
      [PATCH] scsi/pcmcia compile fix · 40a1b85f
      Mike Anderson authored
      This is a compile fix for bug:
      http://bugme.osdl.org/show_bug.cgi?id=360
      
      This patch is against scsi-misc-2.5.
      
      Testing: Compile only
      
      -andmike
      --
      Michael Anderson
      andmike@us.ibm.com
      
       aha152x_stub.c |    2 +-
       nsp_cs.c       |   40 ++++++++++++++++++++--------------------
       nsp_message.c  |    2 +-
       3 files changed, 22 insertions(+), 22 deletions(-)
      40a1b85f
    • Linus Torvalds's avatar
      Linux 2.5.62 · 611f4c04
      Linus Torvalds authored
      611f4c04
    • Sam Ravnborg's avatar
      [PATCH] char/drivers/random.c - fix warning · 571a1dc9
      Sam Ravnborg authored
      When compiling random.c without SYSCTL defined a warning is
      issued about free_entropy_store being defined but not used.
      Put ifdef's around the functions.
      
      I could have moved the whole function, but it logically belongs
      to this part of the file.
      571a1dc9
    • Sam Ravnborg's avatar
      [PATCH] fix warning in kernel/dma.c · 14ccf179
      Sam Ravnborg authored
      When compiling without PROC_FS enabled a warning is issued about
      proc_dma_show defined but not used.
      
      Move both versions of proc_dma_show inside the #ifdef CONFIG_PROC_FS
      14ccf179
    • Linus Torvalds's avatar
      Merge http://linux-isdn.bkbits.net/linux-2.5.make · 79a54256
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      79a54256
    • Rusty Russell's avatar
      98e9e854
    • Kai Germaschewski's avatar
      Merge tp1.ruhr-uni-bochum.de:/scratch/kai/kernel/v2.5/linux-2.5 · 90e16cf1
      Kai Germaschewski authored
      into tp1.ruhr-uni-bochum.de:/scratch/kai/kernel/v2.5/linux-2.5.make
      90e16cf1
    • Randy Dunlap's avatar
      [PATCH] fix Documentation/cli-sti-removal.txt thinko · 3e1d2624
      Randy Dunlap authored
      The 3 lines being deleted are repeated from above (in same file).
      I pulled the 2 lines being added from an earlier version of the patch.
      3e1d2624
    • Marc Zyngier's avatar
      [PATCH] EISA/sysfs updates · d61c31bb
      Marc Zyngier authored
      This is an update to the EISA/sysfs code :
      
       - Separate bus root code from generic code.
       - Add driver for PCI/EISA bridge.
       - Hacked parisc eisa driver so it can act as a root device.
       - Add driver for so-called virtual root (for bridge-less systems).
       - Allow multiple roots.
       - Moved quirk_eisa_bridge from alpha to generic code, since
         the EISA code needs it now (on x86, for example...).
       - 3c59x :
         Prevent driver from returning ENODEV in case it has registered with
         the EISA framework, but no device has been found yet (it happends
         when the driver is built into the kernel, and the EISA bus root has
         not been discovered yet).
      
      It's been discussed on lkml, and all suggestions (mainly from Ivan
      Kokshaysky <ink@jurassic.park.msu.ru>) have been taken into account.
      d61c31bb
    • Linus Torvalds's avatar
      Merge http://linux-sound.bkbits.net/linux-sound · bb89c58c
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      bb89c58c
    • Linus Torvalds's avatar
      Manual merge · c90176df
      Linus Torvalds authored
      c90176df
    • Linus Torvalds's avatar
      Merge http://jfs.bkbits.net/linux-2.5 · a6f5ccdf
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      a6f5ccdf
    • Dave Kleikamp's avatar
      JFS: Fix jfs_sync_fs · 5d888402
      Dave Kleikamp authored
      jfs_sync_fs was implemented using the same code as the unmount code to flush
      the journal and wait for the journal to quiesce.  Since jfs_sync_fs may  be
      called while the volume is under heavy use, we can end up waiting
      indefinately.  Code in jfs_flush_journal meant to detect a hang at unmount
      time may be triggered in this case causing a trap.  This patch changes
      jfs_sync_fs to only wait until the most recent transaction has been
      commited to disk, rather than waiting until the commit queue is empty.
      5d888402
    • Linus Torvalds's avatar
      Fix locking for "send_sig_info()", to avoid possible races with signal · 2c707d9b
      Linus Torvalds authored
      state changes due to execve() and exit(). We need to hold the tasklist
      lock to guarantee stability of "task->sighand".
      2c707d9b
  3. 16 Feb, 2003 3 commits
    • Russell King's avatar
      [ARM] Update signal handling for ARM. · 6a8061e8
      Russell King authored
      Update the ARM signal handling to use the generic
      get_signal_to_deliver() implementation.  There is a caveat though -
      ARM has no hardware support for single stepping, and thus needs the
      kernel to help provide this.
      
      We introduce a new ptrace flag for this, PT_SINGLESTEP, which
      indicates to architecture specific code that it should take extra
      actions in the signal handler to set and/or clear breakpoints as
      appropriate.
      6a8061e8
    • Richard Henderson's avatar
      [ALPHA] Add fadvise64. · 00742b03
      Richard Henderson authored
      00742b03
    • Richard Henderson's avatar
      [ALPHA] Add isa_eth_io_copy_and_sum. · 1a50c2ea
      Richard Henderson authored
      From Geoffrey Lee <glee@gnupilgrims.org>.
      1a50c2ea