summaryrefslogtreecommitdiff
path: root/c_src/posix_to_bcachefs.c
AgeCommit message (Collapse)Author
2025-03-25Update bcachefs sources to 1392e502d48b bcachefs: Add an "ignore unknown" ↵Kent Overstreet
option to bch2_parse_mount_opts() Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-03-24Migrate tool fixesKent Overstreet
Migrate now works: there is an inconsequential free space inconsistency after marking the new superblock (in migrate_superblock), which we're hacking around with a fsck. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-02-03Update bcachefs sources to 63bbe0ca4167 bcachefs: ScrubKent Overstreet
2024-10-20Update bcachefs sources to 1dbc147a6eb0 bcachefs: Add version check for ↵Kent Overstreet
bch_btree_ptr_v2.sectors_written validate Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2024-09-29Update bcachefs sources to 438696e03da7 bcachefs: rename version -> bversion ↵Kent Overstreet
for big endian builds
2024-08-20posix_to_bcachefs: fix missing copy_xattrs() error checkingKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2024-07-15Update bcachefs sources to 4a7a003763f5 bcachefs: Opt_durability can now be ↵Kent Overstreet
set via bch2_opt_set_sb()
2024-06-16Preserve directory {a,m,c} times by calling copy_times() after the recursionAriel Miculas
Otherwise the directory {a,m,c} times will be modified by the recursive copy of the directory tree. Signed-off-by: Ariel Miculas <ariel.miculas@gmail.com> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2024-06-16Fix incomplete file copy due to copy_data misuseAriel Miculas
The copy_data function takes a start and an end parameter as the range of bytes to copy, but it was called with a start and a length parameter. This resulted in incomplete file copies. Fix it by passing the end of the range instead of the length. Signed-off-by: Ariel Miculas <ariel.miculas@gmail.com> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2024-06-16Fix performance regression of update_inodeAriel Miculas
This kernel commit: 65bd442397274347e721a89c2c4882a392bae982 removes BTREE_ITER_cached from bch2_btree_insert_trans, which causes the update_inode function to take a long time (~20s). Add this flag back in the update_inode function. Signed-off-by: Ariel Miculas <ariel.miculas@gmail.com> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2024-06-16bcachefs: allow initializing a bcachefs filesystem from a source directoryAriel Miculas
Add a new source command line argument which specifies the directory tree that will be copied onto the newly formatted bcachefs filesystem. This commit also fixes an issue in copy_link where uninitialized data is copied into the symlink because of a round_up of the buffer size. Signed-off-by: Ariel Miculas <ariel.miculas@gmail.com> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>