]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: fix false "failing to respond to cache pressure" warning 11373/head
authorYan, Zheng <zyan@redhat.com>
Sat, 8 Oct 2016 07:16:40 +0000 (15:16 +0800)
committerYan, Zheng <zyan@redhat.com>
Fri, 14 Oct 2016 11:51:19 +0000 (19:51 +0800)
commit51c926a74e5ef478c11ccbcf11c351aa520dde2a
tree67baf4c40a4c9faa886f53cd7b053dcef53217f5
parenta4ce1f56c1e22d4d3c190403339d5082d66fc89c
mds: fix false "failing to respond to cache pressure" warning

the false warning happens in following sequence of events
- MDS has cache pressure, sends recall state messages to clients
- Client does not trim as many caps as MDS expected. So MDS
  does not reset session->recalled_at
- MDS no longer has cache pressure, it stop sending recall state
  messages to clients.
- Client does not release its caps. So session->recalled_at in
  MDS keeps unchanged

Signed-off-by: Yan, Zheng <zyan@redhat.com>
src/mds/Beacon.cc
src/mds/MDCache.cc
src/mds/MDCache.h
src/mds/SessionMap.cc
src/mds/SessionMap.h