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:Ilya Dryomov <idryomov@gmail.com> Stable-dep-of: 58815900 ("rbd: retrieve and check lock owner twice before blocklisting") Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
sanglipeng <sanglipeng1@jd.com>
Loading
Please sign in to comment