From: Thomas Lamprecht <t.lamprecht@proxmox.com>
To: pbs-devel@lists.proxmox.com, Christian Ebner <c.ebner@proxmox.com>
Subject: applied: [PATCH proxmox] shared-memory: flush contents of newly created mmap file
Date: Fri, 24 Apr 2026 11:50:48 +0200 [thread overview]
Message-ID: <177702423733.2076355.2597709772906771817.b4-ty@b4> (raw)
In-Reply-To: <20260422073351.181581-1-c.ebner@proxmox.com>
On Wed, 22 Apr 2026 09:33:51 +0200, Christian Ebner wrote:
> The man page for mmap [0] states, that mappings create with
> `MAP_SHARED` are not carried to the underlying file directly.
>
> To avoid possible races between creating and initializing a new
> mmapped file and opening while checking the header of this file,
> msync the contents after init but before persisting the shared
> memory backed file.
>
> [...]
Applied, thanks!
[1/1] shared-memory: flush contents of newly created mmap file
commit: acd33a15c29cfe617ce5ecc69c78f692b2f20a8b
prev parent reply other threads:[~2026-04-24 10:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-22 7:33 [PATCH proxmox] shared-memory: flush contents of newly created mmap file Christian Ebner
2026-04-24 9:36 ` applied: " Fabian Grünbichler
2026-04-24 9:50 ` Thomas Lamprecht [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=177702423733.2076355.2597709772906771817.b4-ty@b4 \
--to=t.lamprecht@proxmox.com \
--cc=c.ebner@proxmox.com \
--cc=pbs-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.