libceph: ignore pool overlay and cache logic on redirects
[ Upstream commit 890bd0f8997ae6ac0a367dd5146154a3963306dd ]
OSD client should ignore cache/overlay flag if got redirect reply.
Otherwise, the client hangs when the cache tier is in forward mode.
[ idryomov: Redirects are effectively deprecated and no longer
used or tested. The original tiering modes based on redirects
are inherently flawed because redirects can race and reorder,
potentially resulting in data corruption. The new proxy and
readproxy tiering modes should be used instead of forward and
readforward. Still marking for stable as obviously correct,
Signed-off-by: Jerry Lee <firstname.lastname@example.org>
Reviewed-by: Ilya Dryomov <email@example.com>
Signed-off-by: Ilya Dryomov <firstname.lastname@example.org>
Signed-off-by: Sasha Levin <email@example.com>
1 file changed