bcachefs-tools/docs/feat-reflink.rst
2022-11-01 22:28:07 -04:00

11 lines
497 B
ReStructuredText
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Reflink
-------
bcachefs supports reflink, similarly to other filesystems with the same
feature. cp reflink will create a copy that shares the underlying
storage. Reading from that file will become slightly slower - the extent
pointing to that data is moved to the reflink btree (with a refcount
added) and in the extents btree we leave a key that points to the
indirect extent in the reflink btree, meaning that we now have to do two
btree lookups to read from that data instead of just one.