commit | 8a1636c459cb7a4b32ba4024cd1b2ba21fba6aed | [log] [tgz] |
---|---|---|
author | Benny Halevy <bhalevy@panasas.com> | Wed Jul 14 15:43:57 2010 -0400 |
committer | Boaz Harrosh <bharrosh@panasas.com> | Sun May 29 20:54:36 2011 +0300 |
tree | f9c46f272b98ceb65f997f226d47da68c6fcac6b | |
parent | cbe8260369c9f88eafa035cd327dc3e02fad528c [diff] |
pnfs: layoutret_on_setattr 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: Benny Halevy <bhalevy@panasas.com>