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

The zoned space allocator will need reserved RT extents for garbage collection and zeroing of partial blocks. Move the resblks related fields into the freecounter array so that they can be used for all counters. Co-developed-by: Hans Holmberg <hans.holmberg@wdc.com> Signed-off-by: Hans Holmberg <hans.holmberg@wdc.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
18 lines
604 B
C
18 lines
604 B
C
// SPDX-License-Identifier: GPL-2.0
|
|
/*
|
|
* Copyright (c) 2000-2001,2005 Silicon Graphics, Inc.
|
|
* All Rights Reserved.
|
|
*/
|
|
#ifndef __XFS_FSOPS_H__
|
|
#define __XFS_FSOPS_H__
|
|
|
|
int xfs_growfs_data(struct xfs_mount *mp, struct xfs_growfs_data *in);
|
|
int xfs_growfs_log(struct xfs_mount *mp, struct xfs_growfs_log *in);
|
|
int xfs_reserve_blocks(struct xfs_mount *mp, enum xfs_free_counter cnt,
|
|
uint64_t request);
|
|
int xfs_fs_goingdown(struct xfs_mount *mp, uint32_t inflags);
|
|
|
|
int xfs_fs_reserve_ag_blocks(struct xfs_mount *mp);
|
|
void xfs_fs_unreserve_ag_blocks(struct xfs_mount *mp);
|
|
|
|
#endif /* __XFS_FSOPS_H__ */
|