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

pNFS/flexfiles: Turn off layoutcommit for servers that don't need it



This patch ensures that we record the value of 'ffl_flags' from
the layout, and then checks for the presence of the
FF_FLAGS_NO_LAYOUTCOMMIT flag before deciding whether or not to
call pnfs_set_layoutcommit().

The effect is that servers now can decide whether or not they want
the client to call layoutcommit before returning a writeable layout.

Signed-off-by: default avatarTrond Myklebust <trond.myklebust@primarydata.com>
parent 122d328d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment