commit | e0fa0d0189f6be61343dbff1f71bef20125576e7 | [log] [tgz] |
---|---|---|
author | Trond Myklebust <trond.myklebust@primarydata.com> | Mon Feb 15 12:56:17 2016 -0500 |
committer | Trond Myklebust <trond.myklebust@primarydata.com> | Mon Feb 15 13:03:30 2016 -0500 |
tree | fa2fe7369d3d85f1189fdf21e4aaca790ed4b36c | |
parent | 2f21596882f4a0edc387051910d56f8732970080 [diff] |
pNFS: Always set NFS_LAYOUT_RETURN_REQUESTED with lo->plh_return_iomode When setting the layout return mode, we must always also set the NFS_LAYOUT_RETURN_REQUESTED flag to ensure that we send a layoutreturn. Otherwise pnfs_error_mark_layout_for_return() could set the mode, but fail to send the layoutreturn because another is already in flight. Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>