mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00

For a given rt group, regenerate the bitmap contents from the group's realtime rmap btree. Signed-off-by: "Darrick J. Wong" <djwong@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de>
22 lines
698 B
C
22 lines
698 B
C
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
/*
|
|
* Copyright (c) 2022-2024 Oracle. All Rights Reserved.
|
|
* Author: Darrick J. Wong <djwong@kernel.org>
|
|
*/
|
|
#ifndef __XFS_SCRUB_TEMPEXCH_H__
|
|
#define __XFS_SCRUB_TEMPEXCH_H__
|
|
|
|
#ifdef CONFIG_XFS_ONLINE_REPAIR
|
|
struct xrep_tempexch {
|
|
struct xfs_exchmaps_req req;
|
|
};
|
|
|
|
int xrep_tempexch_trans_reserve(struct xfs_scrub *sc, int whichfork,
|
|
xfs_fileoff_t off, xfs_filblks_t len, struct xrep_tempexch *ti);
|
|
int xrep_tempexch_trans_alloc(struct xfs_scrub *sc, int whichfork,
|
|
struct xrep_tempexch *ti);
|
|
|
|
int xrep_tempexch_contents(struct xfs_scrub *sc, struct xrep_tempexch *ti);
|
|
#endif /* CONFIG_XFS_ONLINE_REPAIR */
|
|
|
|
#endif /* __XFS_SCRUB_TEMPEXCH_H__ */
|