aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorYan, Zheng <[email protected]>2018-03-06 15:14:54 +0800
committerIlya Dryomov <[email protected]>2018-04-02 10:12:48 +0200
commit1582af2eaaf17cbcd7864172347c1db10b6b2210 (patch)
treea51d6c8069b3a030b5d7fec0f1aa2d7f2aad5b8e /tools/perf/util/scripting-engines/trace-event-python.c
parentaf9cc401ce7452f9d965ba4553d8ffe7f0ed42ee (diff)
ceph: don't wait on writeback when there is no more dirty pages
In sync mode, writepages() needs to write all dirty pages. But it can only write dirty pages associated with the oldest snapc. To write dirty pages associated with next snapc, it needs to wait until current writes complete. If there is no more dirty pages, writepages() should not wait on writeback. Otherwise, dirty page writeback becomes very slow. Signed-off-by: "Yan, Zheng" <[email protected]> Signed-off-by: Ilya Dryomov <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions