Commit Graph

194 Commits

Author SHA1 Message Date
Kent Overstreet
c8bec83e30 Update bcachefs sources to e14d7c7195 bcachefs: Compression levels
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-07-15 17:36:15 -04:00
Kent Overstreet
21ae8a4b71 Update bcachefs sources to 070ec8d07b bcachefs: Snapshot depth, skiplist fields
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-07-10 14:27:14 -04:00
Kent Overstreet
ffa950ce1d Update bcachefs sources to 1e3ca87f7b bcachefs: bcachefs_metadata_version_major_minor 2023-07-10 01:44:55 -04:00
Kent Overstreet
5d507f795b Update bcachefs sources to da7d42a9a2 bcachefs: Add new assertions for shutdown path
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-07-09 15:25:40 -04:00
Kent Overstreet
c99a444c5c Update bcachefs sources to 25de2b00dc bcachefs: Change check for invalid key types
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-07-07 04:25:07 -04:00
Kent Overstreet
cfa816bf3f Update bcachefs sources to 84f132d569 bcachefs: fsck: Break walk_inode() up into multiple functions
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-06-27 19:38:18 -04:00
Kent Overstreet
8642d4ae10 Update bcachefs sources to 7c0fe6f104 bcachefs: Fix bch2_fsck_ask_yn()
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-06-04 18:10:29 -04:00
Kent Overstreet
6b1f79d5df Update bcachefs sources to 6a20aede29 bcachefs: Fix quotas + snapshots
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-05-02 00:41:47 -04:00
Kent Overstreet
7f102ee83d Update bcachefs sources to 8fd009dd76 bcachefs: Rip out code for storing backpointers in alloc keys
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-03-31 18:02:57 -04:00
Kent Overstreet
fa35853772 Update bcachefs sources to 72405e7ff8 bcachefs: Fix bch2_check_extents_to_backpointers() 2023-03-14 12:56:38 -04:00
Kent Overstreet
b0c9ad15f4 Update bcachefs sources to 171da96d76 bcachefs: Drop some anonymous structs, unions 2023-03-04 23:33:25 -05:00
Kent Overstreet
30cca2e94d Update bcachefs sources to ca97ee3577 bcachefs: bch2_btree_iter_peek_and_restart_outlined()
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-02-27 21:36:36 -05:00
Kent Overstreet
da6a356895 Update bcachefs sources to 8e1519ccb6 bcachefs: Add tracepoint & counter for btree split race
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-02-20 20:03:34 -05:00
Kent Overstreet
46a6b9210c Update bcachefs sources to 1b14994029 bcachefs: Fragmentation LRU 2023-02-17 17:51:22 -05:00
Kent Overstreet
e160e9b979 Update bcachefs sources to 3e0c5b0722 fixup! bcachefs: Btree write buffer 2023-02-12 21:41:03 -05:00
Kent Overstreet
a104f0407b Update bcachefs sources to ea93c26e98 fixup! bcachefs: We can handle missing btree roots for all alloc btrees
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-02-09 18:36:24 -05:00
Kent Overstreet
7111177169 Update bcachefs sources to 7958ebe324 bcachefs: Fix alloc_v4_backpointers() 2022-12-19 14:47:35 -05:00
Kent Overstreet
3c0484687d Update bcachefs sources to 84505cfd37 bcachefs: Go RW before check_alloc_info() 2022-12-13 18:27:31 -05:00
Kent Overstreet
787768043d Update bcachefs sources to de3b30303e bcachefs: bucket_gens btree 2022-12-02 21:55:01 -05:00
Kent Overstreet
c1f55a60c4 Update bcachefs sources to 6406e05835 bcachefs: Nocow support 2022-11-18 18:21:11 -05:00
Kent Overstreet
c1e4d447f6 Update bcachefs sources to 8d3fc97ca3 bcachefs: Fixes for building in userspace 2022-11-13 20:07:22 -05:00
Kent Overstreet
ae43a58d97 Update bcachefs sources to 70fa0c1ff4 fixup! bcachefs: Btree key cache improvements 2022-10-23 18:24:08 -04:00
Kent Overstreet
188b6d0c8e Update bcachefs sources to cd779e0cc5 bcachefs: Skip inode unpack/pack in bch2_extent_update() 2022-10-22 14:41:54 -04:00
Kent Overstreet
99caca2c70 Update bcachefs sources to 24c6361e20 bcachefs: Fix a trans path overflow in bch2_btree_delete_range_trans()
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2022-09-28 11:41:03 -04:00
Kent Overstreet
7af94e14b5 Update bcachefs sources to 2620221039 bcachefs: Re-enable hash_redo_key() 2022-09-12 02:39:23 -04:00
Kent Overstreet
d01f633041 Update bcachefs sources to 176718966e bcachefs: Re-enable hash_redo_key() 2022-09-04 14:42:05 -04:00
Kent Overstreet
dded444b20 Update bcachefs sources to dfaf9a6ee2 lib/printbuf: Clean up headers 2022-08-18 12:49:48 -04:00
Kent Overstreet
ddac1641ee Update bcachefs sources to 90a9c61e2b bcachefs: Switch bch2_btree_delete_range() to bch2_trans_run() 2022-08-11 17:34:34 -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
bad0c8c507 Update bcachefs sources to 95ff72a6c1 fixup! mm: Centralize & improve oom reporting in show_mem.c 2022-06-27 15:58:48 -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
986533d8d5 Update bcachefs sources to 6ddf061e68 bcachefs: Use a genradix for reading journal entries 2022-04-08 19:26:30 -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
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
3765483ff0 Update bcachefs sources to f05b3c1af9 bcachefs: Improve bucket_alloc_fail tracepoint 2022-03-13 19:21:13 -04: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
6a935c784a Update bcachefs sources to 7d0925084b bcachefs: opts.read_journal_only 2022-02-19 05:16:30 -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
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
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
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
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
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
42ba8b5a75 Update bcachefs sources to 5fd0c70102 bcachefs: Fix __remove_dirent() 2021-11-03 21:28:23 -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
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
669fc107c6 Update bcachefs sources to 15178a6479 bcachefs: Update btree ptrs after every write 2021-07-15 21:42:36 -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
b61ad35b97 Update bcachefs sources to 3913e0cac3 bcachefs: Journal space calculation fix 2021-05-31 15:05:33 -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
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
209695dedf Update bcachefs sources to f26267fc82 bcachefs: kill bset_tree->max_key 2021-04-04 22:15:29 -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
9e5d774875 Update bcachefs sources to e2b8120595 bcachefs: Use x-macros for more enums 2021-02-20 22:34:09 -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
7740db24f7 Update bcachefs sources to bee34d805c bcachefs: Repair bad data pointers 2021-01-28 16:16:51 -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
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
1e574cb1aa Update bcachefs sources to 021e62a098 bcachefs: Fix error in filesystem initialization 2020-11-30 00:06:46 -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
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
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
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
Yuxuan Shui
5bc48bd428
Fix building on musl
* Add missing linux/stddef.h includes
* Explicitly cast PAGE_SIZE to size_t. PAGE_SIZE is defined without UL
  suffix in musl
* Musl doesn't define PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP, so
  initialize the mutexes with pthread_once.
2020-05-05 10:29:31 +01: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
dbb99e492d Update bcachefs sources to 1210f6c925 bcachefs: BCH_SB_FEATURES_ALL 2020-02-26 19:12:07 -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
92d34f6ed2 Update bcachefs sources to fbb669e9de bcachefs: Kill btree_node_iter_large 2019-12-16 14:42:09 -05:00
Kent Overstreet
8c20176f2c Update bcachefs sources to d372ddcbfa bcachefs: Reorganize extents.c 2019-11-17 20:36:59 -05:00
Kent Overstreet
6016d33b80 Update bcachefs sources to 9e76e8d98c bcachefs: Fix uninitialized field in hash_check_init() 2019-11-04 12:53:59 -05:00
Kent Overstreet
92fc14824f Update bcachefs sources to 05ef7000f2 bcachefs: Switch reconstruct_alloc to a mount option 2019-08-28 13:43:42 -04:00
Kent Overstreet
e6e7d374e7 Update bcachefs sources to bfb7133d71 bcachefs: Refactor bch2_alloc_write() 2019-08-28 11:09:35 -04:00
Kent Overstreet
cc41f52bcc Update bcachefs sources to 14f68409be bcachefs: Optimize fiemap 2019-08-27 17:37:03 -04:00
Kent Overstreet
72a408f848 Update bcachefs sources to ece184f718 bcachefs: Reflink 2019-08-21 13:19:36 -04:00
Kent Overstreet
f96ba8e0aa Update bcachefs sources to b91a514413 bcachefs: Don't try to delete stripes when RO 2019-07-11 12:00:51 -04:00
Kent Overstreet
7e35389599 Update bcachefs sources to f38382c574 bcachefs: Improve key marking interface 2019-05-24 11:58:42 -04:00
Kent Overstreet
b485aae1ba Update bcachefs sources to 6f603b8d79 bcachefs: some improvements to startup messages and options 2019-04-17 19:00:38 -04:00
Kent Overstreet
d13bbb2955 Update bcachefs sources to d83b992f65 bcachefs: Rewrite journal_seq_blacklist machinery 2019-04-04 22:25:40 -04:00
Kent Overstreet
be02db130b Update bcachefs sources to 1712318522 bcachefs: allow journal reply on ro mount 2019-03-29 17:35:44 -04:00