linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Can the output of FIEMAP on BTRFS be used to check if a file and its reflink copy might have diverged?
@ 2025-09-22  0:07 Demi Marie Obenour
  2025-09-22  0:50 ` Qu Wenruo
  2025-09-22 16:48 ` Christoph Hellwig
  0 siblings, 2 replies; 21+ messages in thread
From: Demi Marie Obenour @ 2025-09-22  0:07 UTC (permalink / raw)
  To: linux-btrfs


[-- Attachment #1.1.1: Type: text/plain, Size: 602 bytes --]

Wyng Backup (https://codeberg.org/tasket/wyng-backup) relies on FIEMAP
to determine which parts of a file have not changed since it was last
backed up.  Specifically, the output of filefrag -v is passed to sort and
then to uniq, and differences between the outputs for the file and
the previous version (a reflink copy) determine what gets backed up.

Is this safe under BTRFS, or can it result in data loss due to data
not being backed up that should be?  In other words, can it result
in data being considered unchanged when it really is?
-- 
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] 21+ messages in thread

end of thread, other threads:[~2025-10-04  4:51 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-22  0:07 Can the output of FIEMAP on BTRFS be used to check if a file and its reflink copy might have diverged? Demi Marie Obenour
2025-09-22  0:50 ` Qu Wenruo
2025-09-22 18:24   ` Demi Marie Obenour
2025-09-22 21:38     ` Qu Wenruo
2025-09-22 16:48 ` Christoph Hellwig
2025-09-22 17:18   ` Demi Marie Obenour
2025-09-22 17:20     ` Christoph Hellwig
2025-09-22 17:30       ` Demi Marie Obenour
2025-09-22 17:31         ` Christoph Hellwig
2025-09-22 17:54           ` Demi Marie Obenour
2025-09-29  8:50             ` Christoph Hellwig
2025-09-29 23:56               ` Demi Marie Obenour
2025-09-30  1:34               ` Demi Marie Obenour
2025-10-03  7:45                 ` Christoph Hellwig
2025-09-22 23:25       ` Chris Laprise
2025-09-29  8:49         ` Christoph Hellwig
2025-09-29 23:55           ` Demi Marie Obenour
2025-10-03  7:44             ` Christoph Hellwig
2025-10-04  1:09               ` Demi Marie Obenour
2025-10-04  1:43           ` Chris Laprise
2025-10-04  4:51             ` Christoph Hellwig

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).