1. 15 Jul, 2002 1 commit
    • Anton Altaparmakov's avatar
      NTFS: 2.0.20 - Support non-resident directory index bitmaps, fix page leak in readdir. · a5ea1066
      Anton Altaparmakov authored
      - Move the directory index bitmap to use an attribute inode instead of
        having special fields for it inside the ntfs inode structure. This
        means that the index bitmaps now use the page cache for i/o, too,
        and also as a side effect we get support for non-resident index
        bitmaps for free.
      - Simplify/cleanup error handling in fs/ntfs/dir.c::ntfs_readdir() and
        fix a page leak that manifested itself in some cases.
      - Add fs/ntfs/inode.c::ntfs_put_inode(), which we need to release the
        index bitmap inode on the final iput().
      a5ea1066
  2. 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
  3. 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
  4. 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
  5. 07 Jul, 2002 1 commit
  6. 06 Jul, 2002 6 commits
  7. 05 Jul, 2002 18 commits
  8. 04 Jul, 2002 8 commits