]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: insert the pag structures into the xarray later
authorChristoph Hellwig <hch@lst.de>
Mon, 25 Nov 2024 21:14:13 +0000 (13:14 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 24 Dec 2024 02:01:24 +0000 (18:01 -0800)
commitb61c38ce0381b446c05ce685dec4cb353fec1b05
tree93e98b0467eafe47b7b4c26fee4cedb6de81ab30
parentd74a561fdec41ed0cffbd86db88fbc6087012184
xfs: insert the pag structures into the xarray later

Source kernel commit: d66496578b2a099ea453f56782f1cd2bf63a8029

Cleaning up is much easier if a structure can't be looked up yet, so only
insert the pag once it is fully set up.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
libxfs/xfs_ag.c