bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#60474: 30.0.50; `write-region-inhibit-fsync' and copy-on-write file


From: Paul Eggert
Subject: bug#60474: 30.0.50; `write-region-inhibit-fsync' and copy-on-write file systems
Date: Sun, 1 Jan 2023 19:21:20 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2

On 2023-01-01 12:07, Eli Zaretskii wrote:

Paul, any comments?

Sure, Emacs should do the reverse of what it's doing now. That is, Emacs should use fsync only in special situations, instead of avoiding it only in special situations. In the old days it may have made sense to use fsync, but nowadays most platforms don't need fsync for the sorts of things people use interactive Emacs.

For what it's worth I've had (setq write-region-inhibit-fsync t) in my init file for many years, without problems.

Proposed patch attached.

Attachment: 0001-Improve-interactive-file-saving-performance.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]