]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs_io: get and set the CoW extent size hint
authorDarrick J. Wong <darrick.wong@oracle.com>
Tue, 25 Oct 2016 22:14:32 +0000 (15:14 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Wed, 26 Oct 2016 19:43:53 +0000 (12:43 -0700)
commit1e51132f332f43146929b1978d56cbeb0c45f283
treec86065a74561bfd6148304909463f1d25bd4b425
parent6529e6565e7a2fd57e07863e4175936a12c09ecb
xfs_io: get and set the CoW extent size hint

Enable administrators to get or set the CoW extent size hint.
Report the hint when we run stat.  This also requires some
autoconf magic to detect whether or not fsx_cowextsize exists.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
---
v2: Use the internal fsxattr override to guarantee that the cowextsize
field always exists inside of whatever struct fsxattr is.
io/Makefile
io/attr.c
io/cowextsize.c [new file with mode: 0644]
io/init.c
io/io.h
io/open.c
m4/package_libcdev.m4
man/man8/xfs_io.8