commit | 79558f3610efd7928e8882b2eaca3093b283630e | [log] [tgz] |
---|---|---|
author | Trond Myklebust <Trond.Myklebust@netapp.com> | Tue Aug 22 13:44:32 2006 -0400 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Thu Aug 24 15:51:08 2006 -0400 |
tree | 125f16640cd7f9de2074dae89a9c6c405703029c | |
parent | 01df9c5e918ae5559f2d96da0143f8bfbb9e6171 [diff] |
NFS: Fix issue with EIO on NFS read The problem is that we may be caching writes that would extend the file and create a hole in the region that we are reading. In this case, we need to detect the eof from the server, ensure that we zero out the pages that are part of the hole and mark them as up to date. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> (cherry picked from 856b603b01b99146918c093969b6cb1b1b0f1c01 commit)