Commit Graph

98 Commits

Author SHA1 Message Date
Kent Overstreet
79d39bd7ce Update bcachefs sources to d82da7126f fixup! bcachefs: for_each_btree_key2() 2022-07-17 05:20:54 -04:00
Kent Overstreet
2cea78f5cc Update bcachefs sources to 2f11bb05b0 bcachefs: for_each_btree_key2() 2022-07-15 20:51:23 -04:00
Kent Overstreet
0e69c66198 Update bcachefs sources to 17a344f265 bcachefs: Improve fsck for subvols/snapshots 2022-07-15 17:24:21 -04:00
Kent Overstreet
5ec29da373 Update bcachefs sources to a03225a783 bcachefs: Put some repair messages behind opts->verbose 2022-07-12 08:54:47 -04:00
Kent Overstreet
319abbc653 Update bcachefs sources to 2f4e24d856 bcachefs: Split out dev_buckets_free() 2022-06-15 14:58:36 -04:00
Kent Overstreet
6f5afc0c12 Update bcachefs sources to bdf6d7c135 fixup! bcachefs: Kill journal buf bloom filter 2022-05-02 18:42:06 -04:00
Kent Overstreet
ca4bb4155a Update bcachefs sources to 4c2d3669b1 bcachefs: In fsck, pass BTREE_UPDATE_INTERNAL_SNAPSHOT_NODE when deleting dirents 2022-04-12 13:15:53 -04:00
Kent Overstreet
04ad4ade4c Update bcachefs sources to fb8a27f6d4 bcachefs: Delete a redundant tracepoint 2022-04-11 22:40:16 -04:00
Kent Overstreet
30306c5aa6 Update bcachefs sources to 07bac0c685 bcachefs: fsck: Work around transaction restarts 2022-04-06 14:42:00 -04:00
Kent Overstreet
e240b4ae86 Update bcachefs sources to f638850417 bcachefs: bch2_trans_log_msg() 2022-03-30 17:40:37 -04:00
Aleksei Kharlamov
63805882d4 Update bcachefs sources to 31718a2: bcachefs: Don't spin in journal reclaim
Signed-off-by: Aleksei Kharlamov <aleksei@devass.club>
2022-02-26 21:31:11 +01:00
Kent Overstreet
de4e778a6a Update bcachefs sources to a0d7001b0f bcachefs: Change bch2_dev_lookup() to not use lookup_bdev() 2022-02-16 06:32:49 -05:00
Kent Overstreet
12fe5797ad Update bcachefs sources to 916d92b6b4 bcachefs: Add error messages for memory allocation failures 2022-01-01 21:14:28 -05:00
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