Linux-BTRFS Archive on
 help / color / Atom feed
* Extent to files
@ 2019-11-04 11:35 Odin Hultgren van der Horst
  2019-11-08 21:23 ` Zygo Blaxell
  0 siblings, 1 reply; 2+ messages in thread
From: Odin Hultgren van der Horst @ 2019-11-04 11:35 UTC (permalink / raw)
  To: linux-btrfs

I did a ioctl(FICLONE) IOCTL-FICLONERANGE(2) at some point later I want to be
able to check if the new file still shares all its physical storage with just
knowing the name of the new file.

I found some people suggesting to compare the files extents.

But the implementation I looked at knew both files used in the comparison,
so I was wondering if there a way to get all files that references a extent
in user space?

In reality I want a count off clones/(identical files) to a given file
in user space.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-04 11:35 Extent to files Odin Hultgren van der Horst
2019-11-08 21:23 ` Zygo Blaxell

Linux-BTRFS Archive on

Archives are clonable:
	git clone --mirror linux-btrfs/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-btrfs linux-btrfs/ \
	public-inbox-index linux-btrfs

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone