17 Apr, 2005

2 commits

  • The direct I/O code is mapping the read request to the file system block. If
    the file size was not on a block boundary, the result would show the the read
    reading past EOF. This was only happening for the AIO case. The non-AIO case
    truncates the result to match file size (in direct_io_worker). This patch
    does the same thing for the AIO case, it truncates the result to match the
    file size if the read reads past EOF.

    When I/O completes the result can be truncated to match the file size
    without using i_size_read(), thus the aio result now matches the number of
    bytes read to the end of file.

    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Daniel McNeil
     
  • Initial git repository build. I'm not bothering with the full history,
    even though we have it. We can create a separate "historical" git
    archive of that later if we want to, and in the meantime it's about
    3.2GB when imported into git - space that would just make the early
    git days unnecessarily complicated, when we don't have a lot of good
    infrastructure for it.

    Let it rip!

    Linus Torvalds