• Benny Halevy's avatar
    pnfs: layoutret_on_setattr · 8a1636c4
    Benny Halevy authored
    With the objects layout security model, we have object capabilities
    that are associated with the layout and we anticipate that the server
    will issue a cb_layoutrecall for any setattr that changes security
    related attributes (user/group/mode/acl) or truncates the file.
    
    Therefore, the layout is returned before issuing the setattr to avoid
    the anticipated cb_layoutrecall.
    Signed-off-by: default avatarBenny Halevy <bhalevy@panasas.com>
    8a1636c4
nfs4proc.c 161 KB