Skip to content
Commit 14546c33 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

NFS: Don't do a full flush to disk on close() if we hold a delegation



If we hold a delegation then we know that it should be safe to continue
to cache the data beyond the close(). However since the process that wrote
the data may die after close(), we may still want to send the data to
server before those RPCSEC_GSS credentials expire. We therefore compromise
by starting writeback to the server, but don't wait for completion.

Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent 1385b811
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