Skip to content
Commit 5445b1fb authored by Trond Myklebust's avatar Trond Myklebust
Browse files

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: default avatarTrond Myklebust <trond.myklebust@primarydata.com>
parent 7d160a6c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment