summaryrefslogtreecommitdiff
path: root/block/t10-pi.c
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@hammerspace.com>2021-02-08 16:55:46 +0300
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2021-02-08 19:26:14 +0300
commitfc9dc401899ab280fe1849a0ca5800384726a793 (patch)
treedd650add42ee89972be1e8c33ba41470d218373d /block/t10-pi.c
parent37eaeed1a57e92d9db200ba7b4851a09c55eef5a (diff)
downloadlinux-fc9dc401899ab280fe1849a0ca5800384726a793.tar.xz
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 'block/t10-pi.c')
0 files changed, 0 insertions, 0 deletions