]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: flush immediately in do_open_truncate 3865/head
authorJohn Spray <john.spray@redhat.com>
Tue, 3 Mar 2015 20:14:28 +0000 (20:14 +0000)
committerJohn Spray <john.spray@redhat.com>
Tue, 3 Mar 2015 20:14:28 +0000 (20:14 +0000)
commit891f814f308e834369616601cf7f3540bea192ef
tree6c9f798d04b4cc7c8b0c8f9dcae73f071aa54266
parentb8699a3bcec4bea2ca51c66eacc30ccd7f0e3d4b
mds: flush immediately in do_open_truncate

Previously truncating opens were horribly laggy
for clients when the system was otherwise idle,
as they would wait for the next tick() before
proceeding.

Fixes: #11011
Signed-off-by: John Spray <john.spray@redhat.com>
src/mds/Server.cc