commit | 4b0934baf9317e05c7568da1366a1d65f151d81f | [log] [tgz] |
---|---|---|
author | Trond Myklebust <trond.myklebust@primarydata.com> | Mon Jan 04 11:28:11 2016 -0500 |
committer | Trond Myklebust <trond.myklebust@primarydata.com> | Mon Jan 04 12:36:12 2016 -0500 |
tree | 471df710b857f344eb684e401de1a6e77697fd98 | |
parent | 10335556c9e6ed2e1949fb595b7775f475299832 [diff] |
NFSv4.1/pNFS: Fix a race in initiate_file_draining() Peng Tao points out that the call to pnfs_mark_matching_lsegs_return() could race with pnfs_put_lseg(), in which case the layout segment is cleared, but no layoutreturn will be sent. Fix is to replace the call to pnfs_mark_matching_lsegs_invalid(). Reported-by: Peng Tao <tao.peng@primarydata.com> Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>