]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
libxfs: add realtime extent reservation and usage tracking to transactions
authorDarrick J. Wong <darrick.wong@oracle.com>
Fri, 4 Dec 2020 17:17:12 +0000 (12:17 -0500)
committerEric Sandeen <sandeen@sandeen.net>
Fri, 4 Dec 2020 17:17:12 +0000 (12:17 -0500)
commit8fa72fed2100fd5feffd2d7b5f2879dff861a877
tree8c2f89a1b35ee9c87dcd034fbee14e288785818c
parent05c716fba8bdfa6da5f3f02c2a9480694760fe91
libxfs: add realtime extent reservation and usage tracking to transactions

The libxfs resync added to the deferred ops code the ability to capture
the unfinished deferred ops and transaction reservation for later replay
during log recovery.  This nominally requires transactions to have the
ability to track rt extent reservations and usage, so port that missing
piece from the kernel now to avoid leaving logic bombs in case anyone
ever /does/ start messing with realtime.

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>
libxfs/trans.c