• 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
inode.c 59.3 KB