Skip to content
Commit 2e18d4d8 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

pNFS: Files and flexfiles always need to commit before layoutcommit



So ensure that we mark the layout for commit once the write is done,
and then ensure that the commit to ds is finished before sending
layoutcommit.

Note that by doing this, we're able to optimise away the commit
for the case of servers that don't need layoutcommit in order to
return updated attributes.

Signed-off-by: default avatarTrond Myklebust <trond.myklebust@primarydata.com>
parent bc28e1c2
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