diff options
author | 2016-11-30 10:19:09 -0500 | |
---|---|---|
committer | 2016-12-01 17:21:49 -0500 | |
commit | 24408f5282df58210cfecaa6851b2be52f5c661f (patch) | |
tree | 846785c469295d127b3d5184277540c2bb035efa /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | pNFS: Clear all layout segment state in pnfs_mark_layout_stateid_invalid (diff) | |
download | linux-dev-24408f5282df58210cfecaa6851b2be52f5c661f.tar.xz linux-dev-24408f5282df58210cfecaa6851b2be52f5c661f.zip |
pNFS: Fix bugs in _pnfs_return_layout
We need to honour the NFS_LAYOUT_RETURN_REQUESTED bit regardless of
whether or not there are layout segments pending.
Furthermore, we should ensure that we leave the plh_return_segs list
empty.
This patch fixes a memory leak of the layout segments on plh_return_segs.
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions