From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.bugs Subject: bug#60474: 30.0.50; `write-region-inhibit-fsync' and copy-on-write file systems Date: Mon, 2 Jan 2023 11:38:00 -0800 Organization: UCLA Computer Science Department Message-ID: <9d4e7617-58f1-c698-a3a7-0edf52d181ce@cs.ucla.edu> References: <87r0we5bqo.fsf@localhost> <83lemm2f4o.fsf@gnu.org> <577bbae8-721e-8780-3b8d-f1cd531e3c13@cs.ucla.edu> <834jt92kzf.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------04X0i48vK0gsj84MAxe770Ik" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27878"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Cc: 60474-done@debbugs.gnu.org, orgmode@tec.tecosaur.net, yantar92@posteo.net To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jan 02 20:39:48 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pCQex-00072x-Kj for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 02 Jan 2023 20:39:48 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pCQeT-0002FI-32; Mon, 02 Jan 2023 14:39:18 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pCQeH-0002EW-IJ for bug-gnu-emacs@gnu.org; Mon, 02 Jan 2023 14:39:07 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pCQeE-000583-JR for bug-gnu-emacs@gnu.org; Mon, 02 Jan 2023 14:39:05 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pCQeE-00079Q-FF for bug-gnu-emacs@gnu.org; Mon, 02 Jan 2023 14:39:02 -0500 Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Mon, 02 Jan 2023 19:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 60474 X-GNU-PR-Package: emacs Mail-Followup-To: 60474@debbugs.gnu.org, eggert@cs.ucla.edu, yantar92@posteo.net Original-Received: via spool by 60474-done@debbugs.gnu.org id=D60474.167268829127421 (code D ref 60474); Mon, 02 Jan 2023 19:39:02 +0000 Original-Received: (at 60474-done) by debbugs.gnu.org; 2 Jan 2023 19:38:11 +0000 Original-Received: from localhost ([127.0.0.1]:44077 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pCQdP-00078C-1A for submit@debbugs.gnu.org; Mon, 02 Jan 2023 14:38:11 -0500 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:51660) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pCQdM-00077y-T9 for 60474-done@debbugs.gnu.org; Mon, 02 Jan 2023 14:38:09 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 1017A160044; Mon, 2 Jan 2023 11:38:03 -0800 (PST) Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 1DeHVHcvCKsQ; Mon, 2 Jan 2023 11:38:01 -0800 (PST) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 5B86A160045; Mon, 2 Jan 2023 11:38:01 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.9.2 zimbra.cs.ucla.edu 5B86A160045 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cs.ucla.edu; s=78364E5A-2AF3-11ED-87FA-8298ECA2D365; t=1672688281; bh=uXxtDDgpmbGKSdLJ8EpfumAEoOio2vsbr4TAeCak9Bo=; h=Content-Type:Message-ID:Date:MIME-Version:To:From:Subject; b=OTHGgcSL147UiYAywEm0gU59aXeu7ot1tgMRQ79S6HGt1oKi6pPSbKBPxp42kUTW3 nimuWdLTF9S1ft07+RS6K7DX5QlO4ND77VGlPxlk20EYO7ApDnvMdB2MEIfeygX/fH hZUQwEMw+Nm7q9aouU72YEDUAYN5O39JaaNyHJZA= X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id C3iTJJXZwmvF; Mon, 2 Jan 2023 11:38:01 -0800 (PST) Original-Received: from [192.168.1.9] (cpe-172-91-119-151.socal.res.rr.com [172.91.119.151]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 26976160044; Mon, 2 Jan 2023 11:38:01 -0800 (PST) Content-Language: en-US In-Reply-To: <834jt92kzf.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:252358 Archived-At: This is a multi-part message in MIME format. --------------04X0i48vK0gsj84MAxe770Ik Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 2023-01-02 04:12, Eli Zaretskii wrote: > Thanks, this is okay for master, but could you perhaps add a sentence, > in the manual and in NEWS, about the exceptional situations when this > variable should be reset to nil? I think we should say something, > otherwise the need for the variable is questionable. I gave that a shot and installed the attached patch to master. This patch also removes a now-duplicate assignment to write_region_inhibit_fsync in init_fileio. Closing the bug report. While doing this I noticed that the only place write-region-inhibit-fsync is let-bound to nil in Emacs's own code is in lisp/emacs-lisp/multisession.el, due to commit ccb602836426f1fc2e43fa3506427744668f24c6 dated 2021-12-17 which I hypothesize is due to MS-Windows needing it when multiple processes are accessing the same file in a transaction-like application. So the attached patch adds some wording to that effect. Please feel free to improve it. I suppose for similar reasons it may also be helpful in GNU/Linux with transaction-like Emacs apps on networked file systems; I haven't checked this, though, and anyway once you're on a network this sort of thing is dubious anyway. --------------04X0i48vK0gsj84MAxe770Ik Content-Type: text/x-patch; charset=UTF-8; name="0001-Improve-interactive-file-saving-performance.patch" Content-Disposition: attachment; filename="0001-Improve-interactive-file-saving-performance.patch" Content-Transfer-Encoding: base64 RnJvbSAyZWU2MDEyYjNmYWFmMTI3MTBlYzYzNjI2Nzk1MTQ4Y2FlZWYwZjZhIE1vbiBTZXAg MTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBQYXVsIEVnZ2VydCA8ZWdnZXJ0QGNzLnVjbGEuZWR1 PgpEYXRlOiBNb24sIDIgSmFuIDIwMjMgMTA6MDA6NDEgLTA4MDAKU3ViamVjdDogW1BBVENI XSBJbXByb3ZlIGludGVyYWN0aXZlIGZpbGUtc2F2aW5nIHBlcmZvcm1hbmNlCgoqIHNyYy9m aWxlaW8uYyAoaW5pdF9maWxlaW8pOgpObyBsb25nZXIg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