• Peng Tao's avatar
    nfs41: introduce NFS_LAYOUT_RETURN_BEFORE_CLOSE · 193e3aa2
    Peng Tao authored
    When it is set, generic pnfs would try to send layoutreturn right
    before last close/delegation_return regard less NFS_LAYOUT_ROC is
    set or not. LD can then make sure layoutreturn is always sent
    rather than being omitted.
    
    The difference against NFS_LAYOUT_RETURN is that
    NFS_LAYOUT_RETURN_BEFORE_CLOSE does not block usage of the layout so
    LD can set it and expect generic layer to try pnfs path at the
    same time.
    Signed-off-by: default avatarPeng Tao <tao.peng@primarydata.com>
    Signed-off-by: default avatarTom Haynes <loghyr@primarydata.com>
    193e3aa2
nfs4proc.c 230 KB