]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
mkfs: pass a custom cowextsize into the created filesystem
authorDarrick J. Wong <darrick.wong@oracle.com>
Thu, 21 Sep 2017 22:00:01 +0000 (17:00 -0500)
committerEric Sandeen <sandeen@redhat.com>
Thu, 21 Sep 2017 22:00:01 +0000 (17:00 -0500)
commit06b80354bd17b2dfc9926acb342a51035ce7bbd4
treed21d8397be2215da2794bc134702f813fc8d4bfa
parentf810b1bc920dcd79237fbbc45d93b378e782c57d
mkfs: pass a custom cowextsize into the created filesystem

Create a -d option to mkfs.xfs that enables administrators to set
the CoW extent size hint on the created files.

[sandeen: Note, the switch to xfs_flags2diflags looks like
a bugfix, but it's not - the flags set by mkfs up to this
point just happened to line up without any translation.]

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/util.c
man/man8/mkfs.xfs.8
mkfs/xfs_mkfs.c