Difference between revisions of "Talk:XFS"

From ArchWiki
Jump to navigation Jump to search
(→‎TODO: Mentioning cp --reflink=always: Open new discussion. Leave some notes for reference.)
Line 1: Line 1:
= TODO: Mentioning {{ic|1=cp --reflink}} =
+
== TODO: Mentioning {{ic|1=cp --reflink}} ==
  
 
As upstream has been [https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=1e369b0e199bbfbab5218e1c1443d839700d8884 removed] the EXPERMINTAL tag of the reflink feature for one years and make it as the [https://git.kernel.org/pub/scm/fs/xfs/xfsprogs-dev.git/commit/?id=ec1b42e6d58dcb7cfc5de6fc825832944997e176 default] with newerly formatted filesystems, it would be good if we can mention xfs is capable of reflink copy operation on the wiki.  The content should be very similar to [[Btrfs#Creating_lightweight_copies|Btrfs' ones]].  Just leave some notes here for reference:
 
As upstream has been [https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=1e369b0e199bbfbab5218e1c1443d839700d8884 removed] the EXPERMINTAL tag of the reflink feature for one years and make it as the [https://git.kernel.org/pub/scm/fs/xfs/xfsprogs-dev.git/commit/?id=ec1b42e6d58dcb7cfc5de6fc825832944997e176 default] with newerly formatted filesystems, it would be good if we can mention xfs is capable of reflink copy operation on the wiki.  The content should be very similar to [[Btrfs#Creating_lightweight_copies|Btrfs' ones]].  Just leave some notes here for reference:

Revision as of 23:17, 1 October 2019

TODO: Mentioning cp --reflink

As upstream has been removed the EXPERMINTAL tag of the reflink feature for one years and make it as the default with newerly formatted filesystems, it would be good if we can mention xfs is capable of reflink copy operation on the wiki. The content should be very similar to Btrfs' ones. Just leave some notes here for reference:

  • We should demonstrate an example use case (like snapshoting an systemd-nspawn container) with either cp(1) or rsync(1), or simply leave a reference to btrfs' wiki section.
  • We should target the technical different of reflink between btrfs. Notably, unlike btrfs, xfs' reflink is for file data only, hence the copy operation will be much slower and take a slightly larger space than under btrfs. (For a draft explaination of xfs' reflink feature, see this. For an in-depth technical comparision between btrfs on this feature by led xfs developer dgc, see this.)
  • Mentioning that reflink will be unavailable when formatted using mkfs.xfs -m crc=0.