commit | 1b3c6d07e29515064aca8a9f86efaea7da4da027 | [log] [tgz] |
---|---|---|
author | Jeff Layton <jlayton@poochiereds.net> | Tue May 17 12:28:48 2016 -0400 |
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | Tue May 17 15:48:13 2016 -0400 |
tree | 9bff3d864babadc95af859903a2b16fd888c0f36 | |
parent | 183d9e7b112aaed0d19c16ffcf0f8c3a86dc71e0 [diff] |
pnfs: make pnfs_layout_process more robust It can return NULL if layoutgets are blocked currently. Fix it to return -EAGAIN in that case, so we can properly handle it in pnfs_update_layout. Also, clean up and simplify the error handling -- eliminate "status" and just use "lseg". Signed-off-by: Jeff Layton <jeff.layton@primarydata.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>