1. 13 Jul, 2002 1 commit
    • Anton Altaparmakov's avatar
      NTFS: 2.0.19 - Fix race condition, improvements, and optimizations in i/o interface. · 1138bf4c
      Anton Altaparmakov authored
      - Apply block optimization added to fs/ntfs/aops.c::ntfs_read_block()
        to fs/ntfs/compress.c::ntfs_file_read_compressed_block() as well.
      - Drop the "file" from ntfs_file_read_compressed_block().
      - Rename fs/ntfs/aops.c::ntfs_enb_buffer_read_async() to
        ntfs_end_buffer_async_read() (more like the fs/buffer.c counterpart).
      - Update ntfs_end_buffer_async_read() with the improved logic from
        its updated counterpart fs/buffer.c::end_buffer_async_read(). Apply
        further logic improvements to better determine when we set PageError.
      - Update submission of buffers in fs/ntfs/aops.c::ntfs_read_block() to
        check for the buffers being uptodate first in line with the updated
        fs/buffer.c::block_read_full_page(). This plugs a small race
        condition.
      1138bf4c
  2. 11 Jul, 2002 2 commits
    • Anton Altaparmakov's avatar
      NTFS: 2.0.18 - Fix race condition in reading of compressed files. · 3968bf66
      Anton Altaparmakov authored
      - There was a narrow window between checking a buffer head for being
      uptodate and locking it in ntfs_file_read_compressed_block(). We now
      lock the buffer and then check whether it is uptodate or not.
      3968bf66
    • Anton Altaparmakov's avatar
      NTFS: 2.0.17 - Cleanups and optimizations - shrinking the ToDo list. · 759cec37
      Anton Altaparmakov authored
      - Modify fs/ntfs/inode.c::ntfs_read_locked_inode() to return an error
        code and update callers, i.e. ntfs_iget(), to pass that error code
        up instead of just using -EIO.
      - Modifications to super.c to ensure that both mount and remount
        cannot set any write related options when the driver is compiled
        read-only.
      - Optimize block resolution in fs/ntfs/aops.c::ntfs_read_block() to
        cache the current run list element. This should improve performance
        when reading very large and/or very fragmented data.
      759cec37
  3. 08 Jul, 2002 3 commits
    • Anton Altaparmakov's avatar
    • Anton Altaparmakov's avatar
      NTFS: 2.0.16 - Convert access to $MFT/$BITMAP to attribute inode API. · 600a1382
      Anton Altaparmakov authored
      - Fix a stupid bug introduced in 2.0.15 where we were unmapping the
        wrong inode in fs/ntfs/inode.c::ntfs_attr_iget().
      - Convert $MFT/$BITMAP access to attribute inode API and remove all
        remnants of the ugly mftbmp address space and operations hack. This
        means we finally have only one readpage function as well as only one
        async io completion handler. Yey! The mft bitmap is now just an
        attribute inode and is accessed from vol->mftbmp_ino just as if it
        were a normal file. Fake inodes rule. (-:
      600a1382
    • Anton Altaparmakov's avatar
      NTFS: 2.0.15 - Fake inodes based attribute i/o via the pagecache, fixes, cleanups. · db05cffc
      Anton Altaparmakov authored
      - Fix silly bug in fs/ntfs/super.c::parse_options() which was causing
        remounts to fail when the partition had an entry in /etc/fstab and
        the entry specified the nls= option.
      - Apply same macro magic used in fs/ntfs/inode.h to fs/ntfs/volume.h to
        expand all the helper functions NVolFoo(), NVolSetFoo(), and
        NVolClearFoo().
      - Move copyright statement from driver initialisation message to
        module description (fs/super.c). This makes the initialisation
        message fit on one line and fits in better with rest of kernel.
      - Update fs/ntfs/attrib.c::map_run_list() to work on both real and
        attribute inodes, and both for files and directories.
      - Implement fake attribute inodes allowing all attribute i/o to go via
        the page cache and to use all the normal vfs/mm functionality:
        - Add ntfs_attr_iget() and its helper ntfs_read_locked_attr_inode()
          to fs/ntfs/inode.c.
        - Add needed cleanup code to ntfs_clear_big_inode().
      - Merge address space operations for files and directories (aops.c),
        now just have ntfs_aops:
        - Rename:
              end_buffer_read_attr_async() -> ntfs_end_buffer_read_async(),
              ntfs_attr_read_block()       -> ntfs_read_block(),
              ntfs_file_read_page()        -> ntfs_readpage().
        - Rewrite fs/ntfs/aops.c::ntfs_readpage() to work on both real and
          attribute inodes, and both for files and directories.
        - Remove obsolete fs/ntfs/aops.c::ntfs_mst_readpage().
      db05cffc
  4. 07 Jul, 2002 1 commit
  5. 06 Jul, 2002 6 commits
  6. 05 Jul, 2002 18 commits
  7. 04 Jul, 2002 9 commits
    • Petko Manolov's avatar
      [PATCH] pegasus & rtl8150 · 9dbfec80
      Petko Manolov authored
      I chose a little bit more restrictive license for my drivers.
      Rx skb pool introduced in pegasus driver and the pool locking in rtl8150
      is refined.
      9dbfec80
    • Linus Torvalds's avatar
      Merge home.transmeta.com:/home/torvalds/v2.5/viro · 75eead62
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      75eead62
    • Alexander Viro's avatar
      [PATCH] ->i_dev switched to dev_t · 88cc0d3e
      Alexander Viro authored
      	* ->i_dev followed the example of ->s_dev - it's dev_t now.  All
      remaining uses of ->i_dev either outright want dev_t (stat()) or couldn't
      care less (printing major:minor in /proc/<pid>/maps, etc.)
      88cc0d3e
    • Alexander Viro's avatar
      [PATCH] assorted kdev_t cleanups in filesystems · c9add9b8
      Alexander Viro authored
      	* JFS uses its ->logdev only twice - one of the places assigns
      it to_kdev_t(le32_to_cpu(...)), another uses kdev_t_to_nr() of it.
      Switched to u32 - it's just a place where we store device number we'd got
      from superblock.
      	* several reiserfs_fs.h function prototypes removed - functions
      in question don't exist anymore.
      	* smbfs doesn't support device nodes; ->f_rdev removed.
      c9add9b8
    • Alexander Viro's avatar
      [PATCH] ex_dev switched to dev_t · ab6a5810
      Alexander Viro authored
      	* svc_export ->ex_dev turned into dev_t.  It's a pure search
      key and all places that set it actually do to_kdev_t(some_dev_t_expression).
      ab6a5810
    • Alexander Viro's avatar
      [PATCH] raid kdev_t cleanups - part 3 · dc5d0e46
      Alexander Viro authored
      	* ->dev killed for md/linear.c (same as previous parts)
      dc5d0e46
    • Alexander Viro's avatar
      [PATCH] md_import_device() cleanup · b60f0c2b
      Alexander Viro authored
      	* md_import_device() returns resulting rdev or ERR_PTR(error)
      instead of returning 0 or error an letting caller find rdev.
      b60f0c2b
    • Alexander Viro's avatar
      [PATCH] raid kdev_t cleanups - part 2 · 881c3bc1
      Alexander Viro authored
      	* a bunch of callers of partition_name() are calling
      bdev_partition_name(),
      	* the last users of raid1 and multipath ->dev are gone; so are
      the fields in question.
      881c3bc1
    • Alexander Viro's avatar
      [PATCH] raid ->diskop() splitup · f3ddcd6b
      Alexander Viro authored
      	* ->diskop() split into individual methods; prototypes cleaned
      up.  In particular, handling of hot_add_disk() gets mdk_rdev_t * of
      the component we are adding as an argument instead of playing the games
      with major/minor.  Code cleaned up.
      f3ddcd6b