diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2025-07-06 13:20:27 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2025-07-12 19:49:41 -0400 |
commit | b02c3e9682fe024f4e2dea2710c772a60fa39c40 (patch) | |
tree | b8be3e06fab329b3063108f3669f87c160697d80 /c_src/posix_to_bcachefs.h | |
parent | c074341f160ca7d7c1f3149f8cd027ae825da165 (diff) |
posix_to_bcachefs: cleanup
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'c_src/posix_to_bcachefs.h')
-rw-r--r-- | c_src/posix_to_bcachefs.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/c_src/posix_to_bcachefs.h b/c_src/posix_to_bcachefs.h index 3ff18a44..542ae171 100644 --- a/c_src/posix_to_bcachefs.h +++ b/c_src/posix_to_bcachefs.h @@ -36,6 +36,13 @@ struct copy_fs_state { GENRADIX(u64) hardlinks; ranges extents; enum bch_migrate_type type; + + u64 reserve_start; + + u64 total_files; + u64 total_input; + u64 total_wrote; + u64 total_linked; }; /* @@ -49,6 +56,6 @@ struct copy_fs_state { * In the migrate case, all the fields from `copy_fs_state` need to be * initialized (`hardlinks` is initialized with zeroes). */ -void copy_fs(struct bch_fs *c, int src_fd, const char *src_path, - struct copy_fs_state *s, u64); +int copy_fs(struct bch_fs *, struct copy_fs_state *, int, const char *); + #endif /* _LIBBCACHE_H */ |