Commit Graph

258 Commits

Author SHA1 Message Date
Kent Overstreet
e489658c49 Update bcachefs sources to 07c2895cb3 bcachefs: Add a valgrind memcheck hint 2021-10-13 11:00:02 -04:00
Kent Overstreet
37850436dd Update bcachefs sources to 4114ced1db bcachefs: Fix allocator shutdown error message 2021-10-01 10:10:55 -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
49ba8d0ef6 Update bcachefs sources to 6c5219caf0 bcachefs: Rev the on disk format version for snapshots 2021-09-27 13:32:44 -04:00
Kent Overstreet
e61b61c03b Update bcachefs sources to 386f00b639 bcachefs: Snapshot creation, deletion 2021-09-26 19:50:47 -04:00
Kent Overstreet
08802949e2 Update bcachefs sources to bd6ed9fb42 fixup! bcachefs: Fix initialization of bch_write_op.nonce 2021-09-21 20:49:08 -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
6c42566c62 Update bcachefs sources to 60fbf06f49 bcachefs: Fix an unhandled transaction restart 2021-08-05 13:11:04 -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
646aabf327 Update bcachefs sources to 0a9be96b50 bcachefs: BSET_OFFSET() 2021-07-16 12:58:24 -04:00
Kent Overstreet
669fc107c6 Update bcachefs sources to 15178a6479 bcachefs: Update btree ptrs after every write 2021-07-15 21:42:36 -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
700d013b52 Update bcachefs sources to 400c2f8d96 bcachefs: Mask out unknown compat features when going read-write 2021-07-11 13:57:11 -04:00
Kent Overstreet
050d5f7bcf Update bcachefs sources to 3693b2ca83 fixup! bcachefs: More topology repair code 2021-07-08 12:14:49 -04:00
Kent Overstreet
347c0b108e Update bcachefs sources to dbee44d5ab bcachefs: add bcachefs xxhash support 2021-07-07 20:30:53 -04:00
Kent Overstreet
07ec713e05 Update bcachefs sources to 1a510b00b6 bcachefs: Increase BTREE_TRANS_MEM_MAX 2021-07-04 23:33:54 -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
2be79b428b Update bcachefs sources to b00cf89c56 bcachefs: Allow shorter JSET_ENTRY_dev_usage entries 2021-06-12 17:21:01 -04:00
Kent Overstreet
ff578c6718 Update bcachefs sources to 69be0dae31 bcachefs: Always zero memory from bch2_trans_kmalloc() 2021-06-10 20:25:55 -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
b61ad35b97 Update bcachefs sources to 3913e0cac3 bcachefs: Journal space calculation fix 2021-05-31 15:05:33 -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
bf14597460 Update bcachefs sources to b6d5426551 bcachefs: Fix bch2_btree_iter_peek_with_updates() 2021-05-14 14:58:07 -04:00
Kent Overstreet
bb74624daa Update bcachefs sources to a5c0e1bb30 bcachefs: Clean up bch2_btree_and_journal_walk() 2021-04-30 18:23:38 -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
f8c4bc591e Update bcachefs sources to e6fa8eaa1b bcachefs: Fix bch2_verify_keylist_sorted 2021-04-24 12:11: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
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
ce906d661e Update bcachefs sources to 6a3927a96b fixup! bcachefs: Don't use write side of mark_lock in journal write path 2021-04-04 22:25:32 -04:00
Kent Overstreet
209695dedf Update bcachefs sources to f26267fc82 bcachefs: kill bset_tree->max_key 2021-04-04 22:15:29 -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
c88113e255 Update bcachefs sources to ad68801b93 bcachefs: Use pcpu mode of six locks for interior nodes 2021-03-24 22:13:00 -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
aa0ddf3cf9 Update bcachefs sources to 242d37cbd0 bcachefs: Kill btree_iter_pos_changed() 2021-03-16 21:46:18 -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
b64369c59f Update bcachefs sources to 9b77e72c47 bcachefs: Extents may now cross btree node boundaries 2021-02-20 03:28:11 -05:00
Kent Overstreet
d51534ee27 Update bcachefs sources to dfb7dc100d bcachefs: Drop invalid stripe ptrs in fsck 2021-02-19 16:20:44 -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
612f6b9ab7 Update bcachefs sources to 79847e4824 bcachefs: Fixes/improvements for journal entry reservations 2021-02-03 15:26:03 -05:00
Kent Overstreet
4064aa126e Update bcachefs sources to 26409a8f75 bcachefs: Journal updates to dev usage 2021-02-02 16:07:59 -05:00
Kent Overstreet
7eef5f46dd Update bcachefs sources to ea3414eed5 fixup! bcachefs: Improve diagnostics when journal entries are missing 2021-01-29 15:33:24 -05:00
Kent Overstreet
7740db24f7 Update bcachefs sources to bee34d805c bcachefs: Repair bad data pointers 2021-01-28 16:16:51 -05:00
Kent Overstreet
19f921604d Update bcachefs sources to ffc900d593 fixup! bcachefs: Mark superblocks transactionally 2021-01-26 21:00:48 -05:00
Kent Overstreet
9fce394ca6 Update bcachefs sources to 313b24b652 bcachefs: Fix an assertion 2021-01-25 19:05:19 -05:00
Kent Overstreet
f476c4d128 Update bcachefs sources to 7d57e9b703 bcachefs: Run jset_validate in write path as well 2021-01-15 15:24:04 -05:00
Kent Overstreet
02002f3774 Update bcachefs sources to bb2281735c bcachefs: Factor out bch2_ec_stripes_heap_start() 2021-01-15 14:30:01 -05:00
Kent Overstreet
4aed137c42 Update bcachefs sources to 93347f7162 bcachefs: Add btree node prefetching to bch2_btree_and_journal_walk() 2021-01-12 16:44:34 -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
80846e9c28 Update bcachefs sources to 5241335413 bcachefs: Fix for spinning in journal reclaim on startup 2020-12-19 18:05:09 -05:00
Kent Overstreet
db931a4571 Update bcachefs sources to e1d0fb8c5f bcachefs: Don't require flush/fua on every journal write 2020-12-04 13:45:33 -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
9225f81a49 Update bcachefs sources to b1107114ca bcachefs: Add an ioctl for resizing journal on a device 2020-11-17 10:52:20 -05:00
Kent Overstreet
13f53aa228 Update bcachefs sources to d1fd471830 bcachefs: Add more debug checks 2020-11-16 18:23:54 -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
742dbbdbb9 Update bcachefs sources to 8436db7aac bcachefs: Drop alloc keys from journal when -o reconstruct_alloc 2020-10-24 21:21:56 -04:00
Kent Overstreet
96f4a81a01 Update bcachefs sources to 13bb4cdf89 bcachefs: Indirect inline data extents 2020-10-24 21:01:26 -04:00
Kent Overstreet
37270fc79c Update bcachefs sources to ff83eed5f5 bcachefs: Fix bch2_mark_stripe() 2020-10-23 18:43:51 -04:00
Kent Overstreet
8a440895bf Update bcachefs sources to 26c226917f bcachefs: Start/stop io clock hands in read/write paths 2020-10-17 18:17:36 -04:00
Kent Overstreet
7df1badafb Update bcachefs sources to 0568ed4886 bcachefs: Fix copygc dying on startup 2020-10-15 22:53:27 -04: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
0fb2a39a69 Update bcachefs sources to f385d13bf8 fixup! bcachefs: Fix bch2_extent_can_insert() not being called 2020-07-02 13:29:45 -04:00
Kent Overstreet
3b3574e8f6 Update bcachefs sources to 9f34144308 bcachefs: Refactor dio write code to reinit bch_write_op 2020-06-29 19:21:45 -04:00
Kent Overstreet
0243e4d41c Update bcachefs sources to b1708f0191 bcachefs: Fix a null ptr deref in bch2_btree_iter_traverse_one() 2020-06-26 14:51:58 -04:00
Kent Overstreet
f8f84d9388 Update bcachefs sources to 8a316f4112 bcachefs: Give bkey_cached_key same attributes as bpos 2020-06-15 17:00:02 -04:00
Kent Overstreet
05408b6f8f Update bcachefs sources to 4837f82ee1 bcachefs: Use cached iterators for alloc btree 2020-06-15 16:27:19 -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
34c9be19b3 Update bcachefs sources to e1f6739c4a bcachefs: Fix another iterator counting bug 2020-05-14 21:48:52 -04:00
Kent Overstreet
5d6e237b72 Update bcachefs sources to a27d7265e7 bcachefs: Fix a debug mode assertion 2020-04-04 16:48:39 -04:00
Kent Overstreet
a62d8713f8 Update bcachefs sources to 7bfc741f64 bcachefs: Fix a null ptr deref during journal replay 2020-04-04 13:59:13 -04:00
Kent Overstreet
c452666fb3 Update bcachefs sources to a897b0f199 bcachefs: Fix a locking bug 2020-03-30 17:46:47 -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
2aed686c23 Update bcachefs sources to 96b991466a bcachefs: Improve error message in fsck 2020-03-25 17:59:36 -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
096f2ec00e Update bcachefs sources to 3592e42edf bcachefs: Shut down quicker 2020-03-18 11:49:11 -04:00
Kent Overstreet
d488efb9d9 Update bcachefs sources to b47904df3c bcachefs: Clear BCH_FEATURE_extents_above_btree_updates on clean shutdown 2020-03-17 12:45:17 -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
96a6a5a58f Update bcachefs sources to 7e07e19c29 bcachefs: Traverse iterator in journal replay 2020-03-09 16:27:23 -04:00
Kent Overstreet
2d238045d3 Update bcachefs sources to 4a4139a563 bcachefs: Fix extent_sort_fix_overlapping() 2020-03-02 17:10:54 -05:00
Kent Overstreet
dbb99e492d Update bcachefs sources to 1210f6c925 bcachefs: BCH_SB_FEATURES_ALL 2020-02-26 19:12:07 -05:00
Kent Overstreet
7c4552717f Update bcachefs sources to 9017d85854 bcachefs: btree_ptr_v2 2020-02-22 16:21:32 -05:00
Kent Overstreet
e0eb64c846 Update bcachefs sources to 3cd63315a6 bcachefs: Track incompressible data 2020-01-21 17:24:32 -05:00
Kent Overstreet
ab2f1ec24f Update bcachefs sources to d763e8ab17 bcachefs: Don't lose needs_whiteout in overwrite path 2020-01-06 13:49:52 -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
306cf00818 Update bcachefs sources to aae76fba15 bcachefs: Use KEY_TYPE_deleted whitouts for extents 2019-12-29 11:15:34 -05:00
Kent Overstreet
fec2d17f20 Update bcachefs sources to 1569db10e2 bcachefs: Use KEY_TYPE_deleted whitouts for extents 2019-12-28 20:34:36 -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
Kent Overstreet
82c7e8ff35 Update bcachefs sources to cfb41d25c7 bcachefs: Add an assertion to track down a heisenbug 2019-12-28 18:20:16 -05:00
Kent Overstreet
f026d7cc81 Update bcachefs sources to 5d7142b75a bcachefs: Redo filesystem usage ioctls 2019-12-18 16:11:04 -05:00
Kent Overstreet
54fc3909b4 Update bcachefs sources to a8faf2472b bcachefs: Update directory timestamps during link 2019-12-18 15:30:16 -05:00
Kent Overstreet
f7566516de Update bcachefs sources to adfbb84c7c fixup! bcachefs: Fix bch2_verify_insert_pos() 2019-12-16 17:36:24 -05:00