]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_db: add alignment filter to freesp command
authorEric Sandeen <sandeen@redhat.com>
Wed, 21 Jun 2017 19:40:35 +0000 (14:40 -0500)
committerEric Sandeen <sandeen@redhat.com>
Wed, 21 Jun 2017 19:40:35 +0000 (14:40 -0500)
commit732f8f5a3901848cd310d52fffa998e058f7bfb1
treeba561b95026c70d9a539f71b46ba2735b1c06b65
parentb97815a0321072a7154ecab63e297af84066fc78
xfs_db: add alignment filter to freesp command

This adds an alignment filter to the xfs_db freesp command, i.e.

xfs_db> freesp -A 4

will show only 4-block aligned free extents.

This can be useful for finding freespace suitable for allocations
with specific alignment requirements, such as inode allocation.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
db/freesp.c
man/man8/xfs_db.8