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