diff options
| author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-06-10 18:31:00 -0400 |
|---|---|---|
| committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-07-09 12:08:45 -0400 |
| commit | efc91ed0191e3fc62bb1c556ac93fc4e661214d2 (patch) | |
| tree | 291dba382da5d609c5bd35b5e369324ecbb95c00 /net/sunrpc/auth_unix.c | |
| parent | SUNRPC: An ENOMEM error from call_encode is always fatal (diff) | |
| download | linux-efc91ed0191e3fc62bb1c556ac93fc4e661214d2.tar.gz linux-efc91ed0191e3fc62bb1c556ac93fc4e661214d2.zip | |
NFS: Optimise append writes with holes
If a file is being extended, and we're creating a hole, we might as well
declare the entire page to be up to date.
This patch significantly improves the write performance for sparse files
in the case where lseek(SEEK_END) is used to append several non-contiguous
writes at intervals of < PAGE_SIZE.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/sunrpc/auth_unix.c')
0 files changed, 0 insertions, 0 deletions
