]> git.ipfire.org Git - people/arne_f/kernel.git/commit
ext4: support GETFSMAP ioctls
authorDarrick J. Wong <darrick.wong@oracle.com>
Sun, 30 Apr 2017 04:36:53 +0000 (00:36 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 30 Apr 2017 04:36:53 +0000 (00:36 -0400)
commit0c9ec4beecac94cb450c8abb2ac8b7e8a79240ea
tree95dec5ec2bd1b53c425c29bc98e7506e41e4747e
parentd0649f0416feb616d34d15e541716cb8a555e899
ext4: support GETFSMAP ioctls

Support the GETFSMAP ioctls so that we can use the xfs free space
management tools to probe ext4 as well.  Note that this is a partial
implementation -- we only report fixed-location metadata and free space;
everything else is reported as "unknown".

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/Makefile
fs/ext4/fsmap.c [new file with mode: 0644]
fs/ext4/fsmap.h [new file with mode: 0644]
fs/ext4/ioctl.c
fs/ext4/mballoc.c
fs/ext4/mballoc.h
fs/ext4/super.c
include/trace/events/ext4.h