Commit 27414e79 authored by Trond Myklebust's avatar Trond Myklebust Committed by Zheng Zengkai
Browse files

pNFS: We want return-on-close to complete when evicting the inode



stable inclusion
from stable-5.10.9
commit f128de17c8d46a0dba5db32206d198551b111e17
bugzilla: 47457

--------------------------------

commit 078000d0 upstream.

If the inode is being evicted, it should be safe to run return-on-close,
so we should do it to ensure we don't inadvertently leak layout segments.

Fixes: 1c5bd76d ("pNFS: Enable layoutreturn operation for return-on-close")
Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>

Signed-off-by: default avatarChen Jun <chenjun102@huawei.com>
Acked-by: default avatarXie XiuQi <xiexiuqi@huawei.com>
parent 85952cd3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment