1. 02 Jul, 2002 9 commits
  2. 01 Jul, 2002 3 commits
    • Matthew Wilcox's avatar
      [PATCH] softscsi patch · aa44f80a
      Matthew Wilcox authored
      Doug Gilbert and James Bottomley hassled me all through KernelSummit &
      OLS to explain about softirqs, tasklets and bottom halves.  In the end,
      it was easier to write the code myself.  Thanks to James for pointing
      out that the pointer handling in my original code was completely broken
      and helping me debug.
      
      I've booted this patch on a 4-way system at OSDL with two Adaptec SCSI
      cards.  I haven't tried stressing it (not quite sure which discs I can
      use ;-), and I don't understand the locking in the scsi subsystem at all.
      
      The main effect of applying this patch is that scsi_softirq() [was
      scsi_tasklet_func, and before that scsi_bottom_half_handler()] can now be
      run on multiple CPUs at the same time.  We _seem_ to do enough locking
      elsewhere in the SCSI stack that this is safe.  But someone who really
      understands the SCSI stack should audit this.
      
      This work shows up a hole in the current softirq API -- there's no support
      for unregistering a softirq (close_softirq or similar).  We should do
      this in scsi_exit -- make sure no softirqs are running while we unload.
      This probably isn't a problem in practice, but it'd be nice to fix it.
      aa44f80a
    • Linus Torvalds's avatar
      Make in-kernel HZ be 1000 on x86, retaining user-level 100 HZ clock_t. · f9fc1633
      Linus Torvalds authored
      Stop using "struct tms" internally - always use timer ticks (or one of
      the sane timeval/timespec types) instead.
      
      Explicitly convert to clock_t when copying to user space for the old
      broken interfaces that still use "clock_t".
      
      Clean up and unify jiffies<->timeval conversion.
      f9fc1633
    • Linus Torvalds's avatar
      Automerge · e48f3a58
      Linus Torvalds authored
      e48f3a58
  3. 30 Jun, 2002 10 commits
  4. 29 Jun, 2002 1 commit
  5. 28 Jun, 2002 1 commit
    • Doug Ledford's avatar
      i60uscsi.c: · a60ca6f1
      Doug Ledford authored
        Fix the usage of pci_map and pci_unmap in the driver, mainly on 0 length cmds
      inia100.c:
        Fix the usage of pci_map and pci_unmap in the driver, fix use on 0 length cmds
      a60ca6f1
  6. 27 Jun, 2002 2 commits
    • Doug Ledford's avatar
      inia100.c: · 07fee12d
      Doug Ledford authored
        Oops, global variable defined in two different files.  One needed extern.
      07fee12d
    • Anton Altaparmakov's avatar
      NTFS: 2.0.13 - Use iget5_locked() in preparation for fake inodes and small cleanups. · b9e6be22
      Anton Altaparmakov authored
      - Remove nr_mft_bits and the now superfluous union with nr_mft_records
        from ntfs_volume structure.
      - Remove nr_lcn_bits and the now superfluous union with nr_clusters
        from ntfs_volume structure.
      - Use iget5_locked() and friends instead of conventional iget(). Wrap
        the call in fs/ntfs/inode.c::ntfs_iget() and update callers of iget()
        to use ntfs_iget(). Leave only one iget() call at mount time so we
        don't need an ntfs_iget_mount().
      - Change fs/ntfs/inode.c::ntfs_new_extent_inode() to take mft_no as an
        additional argument.
      b9e6be22
  7. 26 Jun, 2002 2 commits
    • Doug Ledford's avatar
      Initial initio a100 driver DMA mapping changes + selected cleanups · 9f0b7b10
      Doug Ledford authored
      * 06/25/02 Doug Ledford <dledford@redhat.com> - v1.02d
      *          - Remove limit on number of controllers
      *          - Port to DMA mapping API
      *          - Clean up interrupt handler registration
      *          - Fix memory leaks
      *          - Fix allocation of scsi host structs and private data
      9f0b7b10
    • Anton Altaparmakov's avatar
      NTFS: 2.0.12 - Initial cleanup of address space operations following 2.0.11 changes. · b30de928
      Anton Altaparmakov authored
      - Merge fs/ntfs/aops.c::end_buffer_read_mst_async() and
        fs/ntfs/aops.c::end_buffer_read_file_async() into one function
        fs/ntfs/aops.c::end_buffer_read_attr_async() using NInoMstProtected()
        to determine whether to apply mst fixups or not.
      - Above change allows merging fs/ntfs/aops.c::ntfs_file_read_block()
        and fs/ntfs/aops.c::ntfs_mst_readpage() into one function
        fs/ntfs/aops.c::ntfs_attr_read_block(). Also, create a tiny wrapper
        fs/ntfs/aops.c::ntfs_mst_readpage() to transform the parameters from
        the VFS readpage function prototype to the ntfs_attr_read_block()
        function prototype.
      b30de928
  8. 25 Jun, 2002 1 commit
    • Anton Altaparmakov's avatar
      NTFS: 2.0.11 - Initial preparations for fake inode based attribute i/o. · 6bb39cd9
      Anton Altaparmakov authored
      - Move definition of ntfs_inode_state_bits to fs/ntfs/inode.h and
        do some macro magic (adapted from include/linux/buffer_head.h) to
        expand all the helper functions NInoFoo(), NInoSetFoo(), and
        NInoClearFoo().
      - Add new flag to ntfs_inode_state_bits: NI_Sparse.
      - Add new fields to ntfs_inode structure to allow use of fake inodes
        for attribute i/o: type, name, name_len. Also add new state bits:
        NI_Attr, which, if set, indicates the inode is a fake inode, and
        NI_MstProtected, which, if set, indicates the attribute uses multi
        sector transfer protection, i.e. fixups need to be applied after
        reads and before/after writes.
      - Rename fs/ntfs/inode.c::ntfs_{new,clear,destroy}_inode() to
        ntfs_{new,clear,destroy}_extent_inode() and update callers.
      - Use ntfs_clear_extent_inode() in fs/ntfs/inode.c::__ntfs_clear_inode()
        instead of ntfs_destroy_extent_inode().
      - Cleanup memory deallocations in {__,}ntfs_clear_{,big_}inode().
      - Make all operations on ntfs inode state bits use the NIno* functions.
      - Set up the new ntfs inode fields and state bits in
        fs/ntfs/inode.c::ntfs_read_inode() and add appropriate cleanup of
        allocated memory to __ntfs_clear_inode().
      - Cleanup ntfs_inode structure a bit for better ordering of elements
        w.r.t. their size to allow better packing of the structure in memory.
      6bb39cd9
  9. 20 Jun, 2002 11 commits