diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2021-02-08 14:55:46 +0100 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2021-02-08 17:26:14 +0100 |
commit | fc9dc401899ab280fe1849a0ca5800384726a793 (patch) | |
tree | dd650add42ee89972be1e8c33ba41470d218373d /fs/nfs/inode.c | |
parent | NFS: Fix documenting comment for nfs_revalidate_file_size() (diff) | |
download | linux-fc9dc401899ab280fe1849a0ca5800384726a793.tar.xz linux-fc9dc401899ab280fe1849a0ca5800384726a793.zip |
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>
Diffstat (limited to 'fs/nfs/inode.c')
0 files changed, 0 insertions, 0 deletions