Searched hist:fc9dc401899ab280fe1849a0ca5800384726a793 (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/fs/nfs/ |
H A D | file.c | diff fc9dc401899ab280fe1849a0ca5800384726a793 Mon Feb 08 07:55:46 CST 2021 Trond Myklebust <trond.myklebust@hammerspace.com> NFS: Optimise sparse writes past the end of file
If we're doing a write, and the entire page lies beyond the end-of-file, then we can assume the write can be extended to cover the beginning of the page, since we know the data in that region will be all zeros.
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
|
H A D | write.c | diff fc9dc401899ab280fe1849a0ca5800384726a793 Mon Feb 08 07:55:46 CST 2021 Trond Myklebust <trond.myklebust@hammerspace.com> NFS: Optimise sparse writes past the end of file
If we're doing a write, and the entire page lies beyond the end-of-file, then we can assume the write can be extended to cover the beginning of the page, since we know the data in that region will be all zeros.
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
|