Kent Overstreet
9cc3b7debb
Unit handling cleanups
...
The option code has been switching to keeping things in display units -
bytes - and this transitions more libbcachefs.c code to bytes as well,
to match, and also fixes device add.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2022-01-01 21:14:22 -05:00
Kent Overstreet
5b84952401
Update bcachefs sources to 6d9ff21de7 bcachefs: Kill journal buf bloom filter
2021-11-05 15:08:36 -04:00
Kent Overstreet
42ba8b5a75
Update bcachefs sources to 5fd0c70102 bcachefs: Fix __remove_dirent()
2021-11-03 21:28:23 -04:00
Kent Overstreet
0da2d968eb
Update bcachefs sources to 043cfba30c fixup! bcachefs: Improve transaction restart handling in fsck code
2021-11-01 06:39:12 -04:00
Kent Overstreet
a315a3f664
Update bcachefs sources to 82c5cc8f00 bcachefs: Improve transaction restart handling in fsck code
2021-10-28 16:50:03 -04:00
Kent Overstreet
6f8750c30e
Update bcachefs sources to b1899a0bd9 bcachefs: Move bch2_evict_subvolume_inodes() to fs.c
2021-10-28 16:27:01 -04:00
Kent Overstreet
1ce6454cfe
Update bcachefs sources to cdf89ca564 bcachefs: Fix fsck path for refink pointers
2021-10-24 21:24:05 -04:00
Kent Overstreet
f9f57789de
Update bcachefs sources to 6d1f979bc5 bcachefs: Subvol dirents are now only visible in parent subvol
2021-10-21 14:20:03 -04:00
Kent Overstreet
a2b0239593
Update bcachefs sources to 718df3f7c2 bcachefs: Fix restart handling in for_each_btree_key()
2021-10-21 13:09:39 -04:00
Kent Overstreet
7fa98d93f6
Update bcachefs sources to 4dd9a5a488 bcachefs: Fix for leaking of reflinked extents
2021-10-20 13:43:31 -04:00
Kent Overstreet
3db6ec44c5
Update bcachefs sources to d9d1235f3c bcachefs: Handle transaction restarts in bch2_blacklist_entries_gc()
2021-10-20 12:36:50 -04:00
Kent Overstreet
f10fc03854
Update bcachefs sources to 720f644e63 bcachefs: Improve reflink repair code
2021-10-19 13:50:45 -04:00
Kent Overstreet
e489658c49
Update bcachefs sources to 07c2895cb3 bcachefs: Add a valgrind memcheck hint
2021-10-13 11:00:02 -04:00
Kent Overstreet
ba69a1b1c4
Update bcachefs sources to 0762d9c294 bcachefs: Fix check_inode_update_hardlinks()
2021-09-30 11:10:49 -04:00
Kent Overstreet
e61b61c03b
Update bcachefs sources to 386f00b639 bcachefs: Snapshot creation, deletion
2021-09-26 19:50:47 -04:00
Kent Overstreet
2b8c1bb091
Update bcachefs sources to 3f3f969859 bcachefs: Fix some compiler warnings
2021-09-09 19:10:07 -04:00
Kent Overstreet
f06b01e9ea
Update bcachefs sources to b964c6cba8 bcachefs: Change lockrestart_do() to always call bch2_trans_begin()
2021-07-28 17:26:50 -04:00
Kent Overstreet
86bd5c622c
Update bcachefs sources to 787de128a5 bcachefs: Improvements to fsck check_dirents()
2021-07-14 20:31:38 -04:00
Kent Overstreet
55142cd0b5
Update bcachefs sources to ca3cfad39f fixup! bcachefs: Improve iter->should_be_locked
2021-06-23 15:53:37 -04:00
Kent Overstreet
58ae103b0a
Update bcachefs sources to e3a7cee503 bcachefs: Don't mark superblocks past end of usable space
2021-06-08 22:55:14 -04:00
Kent Overstreet
09021c38d3
Update bcachefs sources to ac3ab6a511 bcachefs: Fix an uninitialized var
2021-05-20 20:47:55 -04:00
Kent Overstreet
2e2d5a3f7e
Update bcachefs sources to 0cd3e1d27a bcachefs: Fix for bch2_bkey_pack_pos() not initializing len/version fields
2021-05-17 16:48:48 -04:00
Kent Overstreet
a76f36fc6e
Update bcachefs sources to ae6f512de8 bcachefs: Fix out of bounds read in fs usage ioctl
2021-05-15 14:43:26 -04:00
Kent Overstreet
edc3ffe8f2
Update bcachefs sources to 8d3093bd9b bcachefs: Evict btree nodes we're deleting
2021-04-26 20:18:47 -04:00
Kent Overstreet
f87850496e
Update bcachefs sources to 3c41353bc1 bcachefs: Fix bch2_verify_keylist_sorted
2021-04-24 01:37:09 -04:00
Kent Overstreet
ceac31bcb6
Update bcachefs sources to fe72e70682 bcachefs: Fix for btree_gc repairing interior btree ptrs
2021-04-19 21:26:48 -04:00
Kent Overstreet
8ba5e814fd
Fix some small memory leaks
...
Found with -fsanitize=leak
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2021-04-16 17:28:40 -04:00
Kent Overstreet
967c870498
Update bcachefs sources to 8eca47e4d5 bcachefs: Improved check_directory_structure()
2021-04-13 10:24:15 -04:00
Kent Overstreet
b422ff58ba
Update bcachefs sources to a8b3ce7599 fixup! bcachefs: Eliminate more PAGE_SIZE uses
2021-04-12 11:48:45 -04:00
Kent Overstreet
40e14938ee
Update bcachefs sources to 9922afc8b6 bcachefs: Add repair code for out of order keys in a btree node.
2021-03-29 00:22:49 -04:00
Kent Overstreet
a2094890a9
Update bcachefs sources to 18686af684 bcachefs: Inode backpointers
2021-03-29 00:22:38 -04:00
Kent Overstreet
9f69a652dc
Update bcachefs sources to c7defb5793 bcachefs: Split btree_iter_traverse and bch2_btree_iter_traverse()
2021-03-24 19:26:47 -04:00
Kent Overstreet
11098ae37a
Update bcachefs sources to 0a9f0fc68a bcachefs: Don't unconditially version_upgrade in initialize
2021-03-21 16:44:44 -04:00
Kent Overstreet
e7c4380a89
Update bcachefs sources to 63924135a1 bcachefs: Have fsck check for stripe pointers matching stripe
2021-03-12 16:56:43 -05:00
Kent Overstreet
9e5d774875
Update bcachefs sources to e2b8120595 bcachefs: Use x-macros for more enums
2021-02-20 22:34:09 -05:00
Kent Overstreet
a437f5fc84
Update bcachefs sources to 199bfbed8a lib/generic-radix-tree.c: Don't overflow in peek()
2021-02-12 21:43:09 -05:00
Kent Overstreet
868abec1ab
Update bcachefs sources to 5e73602f6c bcachefs: Fix for fsck hanging
2021-02-12 16:02:52 -05:00
Kent Overstreet
f39f0bde78
Update bcachefs sources to fcf8a0889c bcachefs: bch2_alloc_write() should be writing for all devices
2021-01-08 21:33:27 -05:00
Kent Overstreet
dd707c9bfd
Update bcachefs sources to 0010403265 bcachefs: Fix spurious alloc errors on forced shutdown
2020-12-03 13:13:53 -05:00
Kent Overstreet
1e574cb1aa
Update bcachefs sources to 021e62a098 bcachefs: Fix error in filesystem initialization
2020-11-30 00:06:46 -05:00
Kent Overstreet
d2a118d921
Update bcachefs sources to 1d669389f7 bcachefs: use a radix tree for inum bitmap in fsck
2020-11-07 13:09:23 -05:00
Kent Overstreet
cd9892e543
Update bcachefs sources to 10ab39f2fa bcachefs: Improvements to the journal read error paths
2020-08-24 16:25:05 -04:00
Kent Overstreet
1952c0790c
Update bcachefs sources to c9b4a210f9 fixup! bcachefs: Fixes for going RO
2020-06-03 19:56:33 -04:00
Kent Overstreet
fad8236b81
Update bcachefs sources to 275cba438e bcachefs: Fix inodes pass in fsck
2020-03-30 14:34:20 -04:00
Kent Overstreet
517440cc98
Update bcachefs sources to 76f72a0cc7 bcachefs: Improve error message in fsck
2020-03-25 16:15:56 -04:00
Kent Overstreet
8bcd38555c
Update bcachefs sources to fd637ebda0 bcachefs: Journal updates to interior nodes
2020-03-25 15:56:38 -04:00
Kent Overstreet
2286a79ccb
Update bcachefs sources to d9bb516b2d bcachefs: Move extent overwrite handling out of core btree code
2020-03-15 20:24:57 -04:00
Kent Overstreet
dbb99e492d
Update bcachefs sources to 1210f6c925 bcachefs: BCH_SB_FEATURES_ALL
2020-02-26 19:12:07 -05:00
Kent Overstreet
3046915927
Update bcachefs sources to c9eb15545d bcachefs: Don't call trans_iter_put() on error pointer
2020-01-04 19:24:13 -05:00
Kent Overstreet
f0d907189f
Update bcachefs sources to 86a99a7b7f bcachefs: Convert some enums to x-macros
2019-12-28 20:31:39 -05:00