lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <lhuikfngtlv.fsf@oldenburg.str.redhat.com>
Date: Thu, 06 Nov 2025 14:48:12 +0100
From: Florian Weimer <fweimer@...hat.com>
To: Hans Holmberg <hans.holmberg@....com>
Cc: linux-xfs@...r.kernel.org,  Carlos Maiolino <cem@...nel.org>,  Dave
 Chinner <david@...morbit.com>,  "Darrick J . Wong" <djwong@...nel.org>,
  Christoph Hellwig <hch@....de>,  linux-fsdevel@...r.kernel.org,
  linux-kernel@...r.kernel.org,  libc-alpha@...rceware.org
Subject: Re: [RFC] xfs: fake fallocate success for always CoW inodes

* Hans Holmberg:

> We don't support preallocations for CoW inodes and we currently fail
> with -EOPNOTSUPP, but this causes an issue for users of glibc's
> posix_fallocate[1]. If fallocate fails, posix_fallocate falls back on
> writing actual data into the range to try to allocate blocks that way.
> That does not actually gurantee anything for CoW inodes however as we
> write out of place.

Why doesn't fallocate trigger the copy instead?  Isn't this what the
user is requesting?

Thanks,
Florian


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ