From 548f6cd5d7fe65faf6db7344e9ea06d072f72fef Mon Sep 17 00:00:00 2001 From: lengmengchao Date: Mon, 7 Nov 2022 19:35:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9patch?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- patch/ceph-global-cache.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patch/ceph-global-cache.patch b/patch/ceph-global-cache.patch index 0c82e1a..8cc38a4 100644 --- a/patch/ceph-global-cache.patch +++ b/patch/ceph-global-cache.patch @@ -4036,7 +4036,7 @@ index bc39114a..c20331c2 100644 + OSDSession *s = p->second; + int osd = p->first; + ldout(cct, 3) << "NodeView Change osd=" << osd << " ops=" << s->ops << dendl; -+ if (!(osd >> 20) || available_nodes.find((osd & ~(0x1 << 20)) >> 4) != available_nodes.end()) { ++ if (!(osd >> 20) || available_nodes.find((osd & 0xFFFF) >> 4) != available_nodes.end()) { + ++p; + continue; + } -- Gitee