Commit Graph

326 Commits

Author SHA1 Message Date
Kent Overstreet
5ee3f4d7b2 Update bcachefs sources to ad72553649 bcachefs: Fix a null ptr deref 2022-04-10 14:41:57 -04:00
Kent Overstreet
8b23ea867a Update bcachefs sources to ac53c8857f fixup! bcachefs: Use a genradix for reading journal entries 2022-04-09 14:02:54 -04:00
Kent Overstreet
986533d8d5 Update bcachefs sources to 6ddf061e68 bcachefs: Use a genradix for reading journal entries 2022-04-08 19:26:30 -04:00
Kent Overstreet
7f77afa955 Update bcachefs sources to d3da360412 bcachefs: Fold bucket_state in to BCH_DATA_TYPES() 2022-04-07 20:56:33 -04:00
Kent Overstreet
e05755a9fc Update bcachefs sources to 98a1bff393 bcachefs: Topology repair fixes 2022-04-07 17:52:51 -04:00
Kent Overstreet
941075cb57 Update bcachefs sources to d2e0889128 bcachefs: fsck: Work around transaction restarts 2022-04-06 14:43:08 -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
790ca9522a Update bcachefs sources to e027cf9aa0 fixup! bcachefs: Defer checking of alloc -> lru refs until after RW 2022-04-06 14:13:15 -04:00
Kent Overstreet
498874fdb7 Update bcachefs sources to 91e6c3e0d5 bcachefs: Gap buffer for journal keys 2022-04-04 13:48:45 -04:00
Kent Overstreet
32aabbc4e5 Update bcachefs sources to ab3b6e7dd6 bcachefs: Fix pr_buf() calls 2022-04-02 16:36:29 -04:00
Kent Overstreet
70f2681838 Update bcachefs sources to 5e392aed7a bcachefs: Kill bch2_alloc_write() 2022-03-31 16:57:08 -04:00
Kent Overstreet
e240b4ae86 Update bcachefs sources to f638850417 bcachefs: bch2_trans_log_msg() 2022-03-30 17:40:37 -04:00
Kent Overstreet
61d31d7a02 Update bcachefs sources to 7786034caa bcachefs: Fix for freespace version upgrade path 2022-03-28 18:44:48 -04:00
Kent Overstreet
fd249e130f Update bcachefs sources to bba7493dda bcachefs: Fix error path in bch2_snapshot_set_equiv() 2022-03-28 16:32:53 -04:00
Kent Overstreet
b2a9318aa8 Update bcachefs sources to 367a8fad45 bcachefs: Reset journal flush delay to default value if zeroed 2022-03-21 03:06:23 -04:00
Kent Overstreet
74148a8ee5 Update bcachefs sources to 0e705f5944 fixup! bcachefs: Refactor bch2_btree_node_mem_alloc() 2022-03-21 02:13:02 -04:00
Kent Overstreet
3765483ff0 Update bcachefs sources to f05b3c1af9 bcachefs: Improve bucket_alloc_fail tracepoint 2022-03-13 19:21:13 -04:00
Kent Overstreet
d34e731082 Update bcachefs sources to e48731a188 bcachefs: Fix BTREE_TRIGGER_WANTS_OLD_AND_NEW 2022-03-13 19:20:59 -04:00
Kent Overstreet
3e2e3d468e Update bcachefs sources to e318fabeb4 bcachefs: Fix pr_tab_rjust() 2022-03-06 14:07:16 -05:00
Kent Overstreet
b797b087a9 Update bcachefs sources to 259ff91605 bcachefs: Don't keep around btree_paths unnecessarily 2022-03-05 17:06:24 -05:00
Kent Overstreet
4568914cfb Update bcachefs sources to b64d9b7b19 bcachefs: Don't arm journal->write_work when journal entry !open 2022-03-05 13:46:11 -05:00
Kent Overstreet
1ffc9b4554 Update bcachefs sources to f67089dc9b bcachefs: Convert bch2_sb_to_text to master option list 2022-03-05 12:09:12 -05:00
Kent Overstreet
87f685d129 Update bcachefs sources to 8ffb42b3d0 bcachefs: Finish writing journal after journal error 2022-03-01 15:45:36 -05:00
Kent Overstreet
fd1b84975b Update bcachefs sources to ffad51ba45 bcachefs: Fix a use after free 2022-02-27 16:35:20 -05:00
Kent Overstreet
03498f9464 Update bcachefs sources to 04036b4910 bcachefs: Fix a memory leak 2022-02-27 12:01:32 -05: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
5528e3ae62 Update bcachefs sources to 9b3aa5ec6c bcachefs: Add tabstops to printbufs 2022-02-22 04:56:09 -05:00
Kent Overstreet
c06026ac54 Update bcachefs sources to 9d554fa16d bcachefs: Add .to_text() methods for all superblock sections 2022-02-21 05:38:44 -05:00
Kent Overstreet
6a935c784a Update bcachefs sources to 7d0925084b bcachefs: opts.read_journal_only 2022-02-19 05:16:30 -05:00
Kent Overstreet
8d1c88c30d Update bcachefs sources to da8056a215 bcachefs: Store logical location of journal entries 2022-02-19 01:31:29 -05:00
Kent Overstreet
a1e928af83 Update bcachefs sources to cea583fa17 bcachefs: Only mark iterators nopreserve that aren't in use 2022-02-16 07:22:40 -05: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
a1d66a2a4e Update bcachefs sources to ba398d2906 bcachefs: Fix reflink repair code 2022-02-13 04:08:33 -05:00
Kent Overstreet
9c79275419 Update bcachefs sources to b84661c042 bcachefs: Fix reflink repair code 2022-02-11 18:33:16 -05:00
Kent Overstreet
74a7c3ff57 Update bcachefs sources to bf340e68c7 bcachefs: Ignore cached data when calculating fragmentation 2022-01-10 21:41:51 -05:00
Kent Overstreet
47c554c31a Update bcachefs sources to 5242db9aec bcachefs: Fix bch2_check_fix_ptrs() 2022-01-05 19:39:57 -05:00
Kent Overstreet
931ed5a709 Update bcachefs sources to 50ac18afbb bcachefs: Fix an uninitialized variable 2022-01-04 19:56:40 -05:00
Kent Overstreet
69529e3136 Update bcachefs sources to 90d824456e bcachefs: Improve path for when btree_gc needs another pass 2022-01-02 18:40:44 -05:00
Kent Overstreet
c50379128b Update bcachefs sources to aa439f3b94 bcachefs: btree_gc no longer uses main in-memory bucket array 2022-01-01 21:22:41 -05:00
Kent Overstreet
8a632ea60d Update bcachefs sources to 42284b8b2b bcachefs: Fix race between btree updates & journal replay 2022-01-01 21:14:28 -05:00
Kent Overstreet
d08291637f Update bcachefs sources to 9d28e4a535 bcachefs: bch2_journal_entry_to_text() 2022-01-01 21:14:28 -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
38f8daa2b1 Update bcachefs sources to 078a1a596a bcachefs: Optimize bucket reuse 2021-12-28 15:03:54 -05:00
Kent Overstreet
07b18011cc Update bcachefs sources to f9d2e809a8 bcachefs: Turn encoded_extent_max into a regular option 2021-12-25 18:48:46 -05:00
Kent Overstreet
ad03173172 Update bcachefs sources to aa540d47ab bcachefs: Option improvements 2021-12-25 18:48:46 -05:00
Kent Overstreet
00f49f23b4 Update bcachefs sources to d3422f9b18 bcachefs: Journal initialization fixes 2021-12-21 21:53:07 -05:00
Kent Overstreet
d06f5690fa Update bcachefs sources to ff3a76e1af bcachefs: Change need_whiteout_for_snapshot() to clone iterator 2021-12-19 19:37:29 -05:00
Kent Overstreet
b19d9f92e1 Update bcachefs sources to 635ca475f4 bcachefs: Fix debug build in userspace 2021-12-14 16:15:21 -05:00
Kent Overstreet
39a6bf885d Update bcachefs sources to 6bb1ba5c94 bcachefs: Improve alloc_mem_to_key() 2021-12-11 17:26:14 -05:00
Kent Overstreet
55e3496d06 Rename --group to --label
Disk labels used to be called groups - not all uses had been converted.
This renames --group to --label, and --label to --fs_label

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2021-12-10 13:32:35 -05:00
Kent Overstreet
99b12cd3a4 Update bcachefs sources to 50d6a25d9c bcachefs: Erasure coding fixes 2021-11-30 15:27:52 -05:00
Kent Overstreet
1d2315ca0a Update bcachefs sources to 4c24a1cf56 bcachefs: Fix BCH_FS_ERROR flag handling 2021-11-21 16:26:39 -05:00
Kent Overstreet
50bc63a6ce Update bcachefs sources to 2152e671d8 bcachefs: Add a bit of missing repair code 2021-11-21 14:55:54 -05:00
Kent Overstreet
9a058f1428 Update bcachefs sources to 70b5fb5daf bcachefs: Fix error reporting from bch2_journal_flush_seq 2021-11-16 09:12:15 -05:00
Kent Overstreet
abd9d5ba97 Update bcachefs sources to 6afa1fcb13 bcachefs: Clean up error reporting in the startup path 2021-11-06 12:46:36 -04: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
72a9f1015d Update bcachefs sources to 4c58f10d48 bcachefs: More general fix for transaction paths overflow 2021-10-25 18:32:51 -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
2b8c1fc5c9 Update bcachefs sources to 710cd382bf bcachefs: Fix for leaking of reflinked extents 2021-10-14 11:22:05 -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
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