diff options
author | Darrick J. Wong <djwong@kernel.org> | 2024-04-15 14:54:31 -0700 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2024-04-15 14:58:49 -0700 |
commit | e81ce4241318d5ec943b4fe205953498a66ca071 (patch) | |
tree | 3fb8ac217742d884a794bb10edc093cc8583895e /rust/helpers.c | |
parent | 5befb047b9f4de1747bf48c63cab997a97e0088b (diff) |
xfs: support preallocating and copying content into temporary files
Create the routines we need to preallocate space in a temporary ondisk
file and then copy the contents of an xfile into the tempfile. The
upcoming rtsummary repair feature will construct the contents of a
realtime summary file in memory, after which it will want to copy all
that into the ondisk temporary file before atomically committing the new
rtsummary contents.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions