summaryrefslogtreecommitdiff
path: root/fs/nfs/cache_lib.c
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@hammerspace.com>2021-02-08 08:55:46 -0500
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2021-02-08 11:26:14 -0500
commitfc9dc401899ab280fe1849a0ca5800384726a793 (patch)
treedd650add42ee89972be1e8c33ba41470d218373d /fs/nfs/cache_lib.c
parent37eaeed1a57e92d9db200ba7b4851a09c55eef5a (diff)
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/cache_lib.c')
0 files changed, 0 insertions, 0 deletions