diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-09-06 01:06:58 +0200 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-09-07 18:36:17 +0200 |
commit | 5445b1fbd123420bffed5e629a420aa2a16bf849 (patch) | |
tree | daea751ed98d60c445017472d6f2545452e0224a /include/uapi | |
parent | NFSv4: Express delegation limit in units of pages (diff) | |
download | linux-5445b1fbd123420bffed5e629a420aa2a16bf849.tar.xz linux-5445b1fbd123420bffed5e629a420aa2a16bf849.zip |
NFSv4: Respect the server imposed limit on how many changes we may cache
The NFSv4 delegation spec allows the server to tell a client to limit how
much data it cache after the file is closed. In return, the server
guarantees enough free space to avoid ENOSPC situations, etc.
Prior to this patch, we assumed we could always cache aggressively after
close. Unfortunately, this causes problems with servers that set the
limit to 0 and therefore do not offer any ENOSPC guarantees.
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions