[lkml]   [2003]   [Mar]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [RFC] 2.4.20-rc3 change broke NFS
    > You are actually probably hitting a hole in the file. If the client
    > has written beyond the eof, but not yet transmitted the data to the
    > server, then you would indeed probably see an EIO.
    > Your fix is probably correct, but could you just cross-check by seeing
    > if the appended patch also fixes the problem?

    Hi Trond,
    Your fix to nfs_readpage_result worked. There may be a small hole
    remaining, which the following closes. This also worked.

    - if (data->res.eof || page_index(page) <= inode->i_size >> PAGE_CACHE_SHIFT)
    + if (data->res.eof || page_index(page) < PAGE_CACHE_ALIGN(inode->i_size) >> PAGE_CACHE_SHIFT)

    Thanks for your help,
    (I'll leave it to you to submit the patch you think best to Marcello and/or Linus).
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:33    [W:0.036 / U:67.000 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site