]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: trim cache after journal flush 26215/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:10:01 +0000 (18:10 -0500)
commitf536cba1a12d29a858e4faa9c447d2caf2658bd0
treedf2f0a83897fa3657a4e6472e5c85dbeda44f269
parenta8985eca49a813688ca283c334fed07d086db8e9
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