]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: trim cache after journal flush 26214/head
authorPatrick Donnelly <pdonnell@redhat.com>
Tue, 22 Jan 2019 20:12:55 +0000 (12:12 -0800)
committerPrashant D <pdhange@redhat.com>
Wed, 30 Jan 2019 23:09:06 +0000 (18:09 -0500)
commitb86d304a65d4e206ec6397573ac30d597ac59f9c
treebf9a1ff25525b9433011c033d5b4c31cb654104a
parentf8a1610bed59c0c9383fa83daa8fc6c1b9754531
mds: trim cache after journal flush

Dropping cache should trim the cache only after journal flush otherwise dirty
inodes will remain pinned in cache.

Fixes: http://tracker.ceph.com/issues/38010
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit d7f6c1583b4162fade434e376176f3068472f53f)
src/mds/MDSRank.cc