1. 18 Feb, 2003 27 commits
  2. 17 Feb, 2003 13 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