Commit e3dab4c1 authored by Ilya Dryomov's avatar Ilya Dryomov Committed by sanglipeng
Browse files

libceph, rbd: ignore addr->type while comparing in some cases

stable inclusion
from stable-v5.10.193
commit 145248ebe0b2164f7d383cc942ec45fbd3c4b1a0
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I9399M

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=145248ebe0b2164f7d383cc942ec45fbd3c4b1a0



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

[ Upstream commit 313771e8 ]

For libceph, this ensures that libceph instance sharing (share option)
continues to work.  For rbd, this avoids blocklisting alive lock owners
(locker addr is always LEGACY, while watcher addr is ANY in nautilus).

Signed-off-by: default avatarIlya Dryomov <idryomov@gmail.com>
Stable-dep-of: 58815900 ("rbd: retrieve and check lock owner twice before blocklisting")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent 4afdda01
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment