diff options
| author | Trond Myklebust <[email protected]> | 2021-01-06 16:54:57 +0000 |
|---|---|---|
| committer | Trond Myklebust <[email protected]> | 2021-01-10 18:32:52 +0000 |
| commit | 46c9ea1d4fee4cf1f8cc6001b9c14aae61b3d502 (patch) | |
| tree | 8f0287d8612116558e0684281057f9af955c039d /tools/perf/builtin-script.c | |
| parent | NFS/pNFS: Don't call pnfs_free_bucket_lseg() before removing the request (diff) | |
| download | kernel-46c9ea1d4fee4cf1f8cc6001b9c14aae61b3d502.tar.gz kernel-46c9ea1d4fee4cf1f8cc6001b9c14aae61b3d502.zip | |
NFS/pNFS: Don't leak DS commits in pnfs_generic_retry_commit()
We must ensure that we pass a layout segment to nfs_retry_commit() when
we're cleaning up after pnfs_bucket_alloc_ds_commits(). Otherwise,
requests that should be committed to the DS will get committed to the
MDS.
Do so by ensuring that pnfs_bucket_get_committing() always tries to
return a layout segment when it returns a non-empty page list.
Fixes: c84bea59449a ("NFS/pNFS: Simplify bucket layout segment reference counting")
Signed-off-by: Trond Myklebust <[email protected]>
Diffstat (limited to 'tools/perf/builtin-script.c')
0 files changed, 0 insertions, 0 deletions
