* Re: Can the output of FIEMAP on BTRFS be used to check if a file and its reflink copy might have diverged?
[not found] ` <aN9-7wrgxqew1qRI@infradead.org>
@ 2025-10-04 1:09 ` Demi Marie Obenour
0 siblings, 0 replies; only message in thread
From: Demi Marie Obenour @ 2025-10-04 1:09 UTC (permalink / raw)
To: Christoph Hellwig; +Cc: Chris Laprise, linux-btrfs, linux-xfs
[-- Attachment #1.1.1: Type: text/plain, Size: 1135 bytes --]
On 10/3/25 03:44, Christoph Hellwig wrote:
> On Mon, Sep 29, 2025 at 07:55:22PM -0400, Demi Marie Obenour wrote:
>> Can two extents have the same offset on disk but different logical contents?
>> For XFS that seems impossible unless a realtime device is involved, which
>> is not the case here.
> Only with the RT device. But again that is insider knowledge and not an
> API exposed to applications. More importantly the offset can change
> underneath without any notice to the application.
Are there cases where the offset can change even if neither file is
written to and there is no RT device?
>> Is it easier if one requires the filesystem to be read-only? Taking a
>> device-mapper snapshot (thin or CoW) before the backup is not too onerous,
>> at least if the filesystem is already on an LVM LV.
> At least that locks out other changes. But it is a rather opaque setup.
It's indeed not great, but if it is set up by the OS installer the
snapshots could all be automated. Is it at currently safe in this
case, provided that online fsck is disabled?
--
Sincerely,
Demi Marie Obenour (she/her/hers)
[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 7253 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-10-04 1:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <a697548b-cc40-4275-9da1-3b29351654f0@gmail.com>
[not found] ` <aNF9xH30pAEq5y4r@infradead.org>
[not found] ` <38f350b0-9a71-4627-9d36-57bf2f85e67a@gmail.com>
[not found] ` <aNGFdxq6Xqduoj6w@infradead.org>
[not found] ` <d14d26ce-3176-4cd4-989e-cdbda30be98e@posteo.net>
[not found] ` <aNpIKB7cc7lCUy7j@infradead.org>
[not found] ` <693793db-3431-48b3-8913-aadb86bc4ebc@gmail.com>
[not found] ` <aN9-7wrgxqew1qRI@infradead.org>
2025-10-04 1:09 ` Can the output of FIEMAP on BTRFS be used to check if a file and its reflink copy might have diverged? Demi Marie Obenour
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).