https://bugs.kde.org/show_bug.cgi?id=501508

--- Comment #9 from Marco Rebhan <m...@dblsaiko.net> ---
(In reply to Christoph Cullmann from comment #8)
> https://invent.kde.org/frameworks/ktexteditor/-/merge_requests/798
> 
> Can you test that branch?

I applied the patch to ktexteditor 6.12.0 and looks like that fixes it.

I realized I could turn on NFS debugging to look at the operations, and there:

Without the patch (one write for each character typed):

> [ 4218.028400] NFS: fsync file(saiko/.Test.txt.kate-swp) datasync 1
> [ 4218.031784] NFS: write(saiko/.Test.txt.kate-swp, 16@20494)
> [ 4218.119789] NFS: write(saiko/.Test.txt.kate-swp, 16@20510)
> [ 4218.178227] NFS: write(saiko/.Test.txt.kate-swp, 16@20526)
> [ 4218.228303] NFS: write(saiko/.Test.txt.kate-swp, 16@20542)
> ...
> [ 4232.747619] NFS: write(saiko/.Test.txt.kate-swp, 16@24622)
> [ 4232.892042] NFS: write(saiko/.Test.txt.kate-swp, 16@24638)
> [ 4233.039792] NFS: write(saiko/.Test.txt.kate-swp, 16@24654)
> [ 4233.139649] NFS: fsync file(saiko/.Test.txt.kate-swp) datasync 1

With the patch (every 15s only right before the fsync):

> [ 4372.943790] NFS: write(saiko/.Test.txt.kate-swp, 6864@5422)
> [ 4373.150276] NFS: fsync file(saiko/.Test.txt.kate-swp) datasync 1
> [ 4387.943589] NFS: write(saiko/.Test.txt.kate-swp, 6496@12286)
> [ 4388.170490] NFS: fsync file(saiko/.Test.txt.kate-swp) datasync 1

Thanks!

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to