From: Thomas Lamprecht <t.lamprecht@proxmox.com>
To: Proxmox Backup Server development discussion
<pbs-devel@lists.proxmox.com>,
Wolfgang Bumiller <w.bumiller@proxmox.com>
Subject: [pbs-devel] applied: [PATCH proxmox] fs: link fallback for atomic create
Date: Thu, 22 Jul 2021 09:44:26 +0200 [thread overview]
Message-ID: <c323cfa1-52cf-7871-10c7-309fb366d72b@proxmox.com> (raw)
In-Reply-To: <20210722073319.55913-1-w.bumiller@proxmox.com>
On 22.07.21 09:33, Wolfgang Bumiller wrote:
> Some file systems don't support renameat2's RENAME_NOREPLACE
> flag (eg. ZFS), at the some time, some other file systems
> don't support hardlinks via link (eg. vfat, cifs), so we now
> try both: first the rename (since it's more efficient), then
> link+unlink for the rest.
>
> If both fail, the file system is simply not supported for
> our purposes anyway...
>
> Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
> ---
> proxmox/src/tools/fs.rs | 14 +++++++++++---
> 1 file changed, 11 insertions(+), 3 deletions(-)
>
>
applied, thanks!
prev parent reply other threads:[~2021-07-22 7:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-22 7:33 [pbs-devel] " Wolfgang Bumiller
2021-07-22 7:44 ` 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=c323cfa1-52cf-7871-10c7-309fb366d72b@proxmox.com \
--to=t.lamprecht@proxmox.com \
--cc=pbs-devel@lists.proxmox.com \
--cc=w.bumiller@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox