1. 15 Mar, 2003 6 commits
  2. 16 Mar, 2003 5 commits
  3. 15 Mar, 2003 3 commits
  4. 16 Mar, 2003 6 commits
  5. 15 Mar, 2003 1 commit
  6. 14 Mar, 2003 19 commits
    • Anton Blanchard's avatar
      Merge samba.org:/scratch/anton/linux-2.5 · ae81f068
      Anton Blanchard authored
      into samba.org:/scratch/anton/sfr
      ae81f068
    • Linus Torvalds's avatar
      Merge · baf1aaad
      Linus Torvalds authored
      baf1aaad
    • Christoph Hellwig's avatar
    • Christoph Hellwig's avatar
      [PATCH] fix up the i2c locking changes · 2f43b600
      Christoph Hellwig authored
      There was one place where we missed an unlock, in addition some more
      code cleanups.
      2f43b600
    • Christoph Hellwig's avatar
      [PATCH] fix OOPS in i2c sysctl registration · 4878dffc
      Christoph Hellwig authored
      I had to rewrite the code from scratch to understand what it does,
      but at least it doesn't OOPS anymore on boot..
      4878dffc
    • Linus Torvalds's avatar
      Merge bk://kernel.bkbits.net/jgarzik/random-2.5 · 1524c2f2
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      1524c2f2
    • Linus Torvalds's avatar
      Merge bk://thebsh.namesys.com/bk/reiser3-linux-2.5-relocation-fix · 65511c2b
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      65511c2b
    • Oleg Drokin's avatar
      reiserfs: Correctly free all the allocated memory if open of the journal failed. · 0b6af0f0
      Oleg Drokin authored
        Also added \n to some error messages.
      0b6af0f0
    • Jean Tourrilhes's avatar
      [PATCH] export platform_bus_type · 5b9d959a
      Jean Tourrilhes authored
      5b9d959a
    • Neil Brown's avatar
      [PATCH] kNFSd: Introduce CROSSMNT flag for knfsd · 4d4d890f
      Neil Brown authored
      Now that we have working up-calls to userspace,
      CROSSMNT makes sense.
      If CROSSMNT is set for an export, and we too a
      LOOKUP which crosses a mountpoint, we initiate an
      upcall to find out if and how that filesystem
      is exported.
      4d4d890f
    • Neil Brown's avatar
      [PATCH] kNFSd: Rename NFSEXP_CROSSMNT to NFSEXP_NOHIDE · 0d32f565
      Neil Brown authored
      becase nohide is the user-space visible name
      for the flag, and we are about to define a real
      CROSSMNT.
      0d32f565
    • Neil Brown's avatar
      [PATCH] kNFSd: Assort fixes to nfsd auth cache stuff. · 367b3113
      Neil Brown authored
      1/ call cache_fresh when replacing a cache entry (instead of only
        when updating) so that up-calls waiting on the replaced entry continue.
      
      2/ in svcauth_unix_accept, don't put the verifier until all tests have
         succeeded.
      
      3/ calculate size of request-being-deferred correctly.
      367b3113
    • Neil Brown's avatar
      [PATCH] kNFSd: Fix deadlock problem in lockd. · 789d95e6
      Neil Brown authored
      nlmsvc_lock calls nlmsvc_create_block with file->f_sema
      held.
      nlmsvc_create_block calls nlmclnt_lookup_host which might
      call nlm_gc_hosts which might, eventually, try to claim
      file->f_sema for the same file -> deadlock.
      
      nlmsvc_create_block does not need any protection under
      any lock as lockd is single-threaded and _create_block
      only plays with internal data structures.
      
      So we release the f_sema before calling in, and make sure
      it gets claimed again afterwards.
      789d95e6
    • Neil Brown's avatar
      [PATCH] kNFSd: Fix race in svcsock.c · 7cb09575
      Neil Brown authored
      From: Trond Myklebust <trond.myklebust@fys.uio.no>
      
      
      knfsd needs to disable soft interrupts when calling
      csum_partial_copy_to_xdr().
      
      At the moment there's a nasty conflict between the RPC server and
      client. The problem arises when you get to xdr_partial_copy_from_skb()
      (and the kmap_atomic()); the RPC client can end up calling the same
      function from a ->data_ready() soft interrupt, and corrupt any data
      the knfsd process may have copied.
      7cb09575
    • Neil Brown's avatar
      453a629b
    • Neil Brown's avatar
      [PATCH] md: Add new superblock format for md · 1f27c737
      Neil Brown authored
      Superblock format '1' resolves a number of issues with
      superblock format '0'.
      It is more dense and can support many more sub-devices.
      It does not contains un-needed redundancy.
      It adds a few new useful fields
      1f27c737
    • Neil Brown's avatar
      [PATCH] md: Allow md to select between superblock formats · a3a173cd
      Neil Brown authored
      The code to understand a specific superblock format is
      already highly localised in md.  This patch defines a
      user-space interface for selecting which superblock format
      to use, and obeys that selection.
      
      Md currently has a concept of 3 version numbers:
       A major version number
       A minor version number
       A patch version number
      
      There historically seems to be some confusion about whether
      these refer to a version of the superblock layout,
      or a version of the software.
      
      We will now define that:
         the "major_version" defines the superblock handler.
            '0' is the current superblock format.  All new formats
                will need new numbers.
         the "minor_version" can specify minor variations in the
            superblock, such as different location on the device
         the "patch_version" will be used to indicate new extenstions
            to the software.. patch_version=1 will mean multiple superblock
            support.
      
      A superblock version number is selected by specifing major_version
      in SET_ARRAY_INFO ioctl.
      
      This patch:
        Updates Documentation/md.txt with details of new interface.
        Generalises desc_nr handling and makes sure that an array never
        has two devices with the same desc_nr.
        makes sure mddev->major_version is always valid and is 0 by default.
        uses mddev->major_version to select superblock handlers.
        Modifies set_array_info to just record version number if raid_disks==0
        Makes sure max_disks is always set correctly.
        Determines device size when reading superblock, or a hot-add/add-new.
      a3a173cd
    • Neil Brown's avatar
      [PATCH] md: Allow components of MD raid array to have data start at offset from start of device. · b931e459
      Neil Brown authored
      Normally the data stored on a component of a RAID array is stored
      from the start of the device.  This patch allows a per-device
      data_offset so the data can start elsewhere. This will allow
      RAID arrays where the metadata is at the head of the device
      rather than the tail.
      b931e459
    • Neil Brown's avatar
      [PATCH] md: Fix bad interaction between sync checkpointing and recovery · 264b2f7c
      Neil Brown authored
      Md devices (raid1/raid5) can resync or recover.
      There are similar but importantly different.
      resync happens after an unclean shutdown
      recovery happens when a failed drive is being replaced by a hot spare.
      
      The sync-checkpoint code confused the two somewhat and this causes
      problems.
      
      This patch makes sure "recovery_cp" only relates to resync,
      not recovery.
      It also fixes a small problem with recording spares in
      the superblock.
      264b2f7c