]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs_db: dump per-AG reservations
authorDarrick J. Wong <darrick.wong@oracle.com>
Thu, 30 Jan 2020 18:40:46 +0000 (13:40 -0500)
committerEric Sandeen <sandeen@sandeen.net>
Thu, 30 Jan 2020 18:40:46 +0000 (13:40 -0500)
commit09385584cb6a3ca88e218e36391330eb771aa713
tree5841294b56c43e46e66444614a00ff0a4b4e8511
parent946352013f75590d16d6a93b06a805330106b4c5
xfs_db: dump per-AG reservations

Add a new 'agresv' command to print the size and free blocks count of an
AG along with the size and usage of the per-AG reservation.  This
command can be used to aid in diagnosing why a particular filesystem
fails the mount time per-AG space reservation, and to figure out how
much space needs to be freed from a given AG to fix the problem.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
db/info.c
libxfs/libxfs_api_defs.h
man/man8/xfs_db.8