summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2022-06-22Fix printk_ratelimited()Kent Overstreet
printk_ratelimited was behind an #ifdef CONFIG_PRINTK, which we don't define, so it was a complete noop - oops. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2022-06-18cmd_dump: Use buffered IO for reading device metadataKent Overstreet
We're reading device metadat in mostly sequential order - buffered IO will be faster than O_DIRECT. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2022-06-11Update bcachefs sources to 3704d0779c bcachefs: Improved human readable ↵Kent Overstreet
integer parsing
2022-06-09Update bcachefs sources to 24f7e08cd8 bcachefs: shrinker.to_text() methodsKent Overstreet
2022-05-30Update bcachefs sources to fad6d13aa5 fixup! bcachefs: Add persistent countersKent Overstreet
2022-05-02Update bcachefs sources to bdf6d7c135 fixup! bcachefs: Kill journal buf ↵Kent Overstreet
bloom filter
2022-04-11Update bcachefs sources to fb8a27f6d4 bcachefs: Delete a redundant tracepointKent Overstreet
2022-04-08Update bcachefs sources to 6ddf061e68 bcachefs: Use a genradix for reading ↵Kent Overstreet
journal entries
2022-04-04Update bcachefs sources to 91e6c3e0d5 bcachefs: Gap buffer for journal keysKent Overstreet
2022-04-02Update bcachefs sources to ab3b6e7dd6 bcachefs: Fix pr_buf() callsKent Overstreet
2022-03-31Update bcachefs sources to 5e392aed7a bcachefs: Kill bch2_alloc_write()Kent Overstreet
2022-03-30Flush standard output before popping assertionsKent Overstreet
Seeing error messages before we die generally makes assertions easier to debug. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2022-03-30Update bcachefs sources to f638850417 bcachefs: bch2_trans_log_msg()Kent Overstreet
2022-03-21Shrinker improvementsKent Overstreet
After memory allocation failure, don't rely on /proc/meminfo to figure out how much memory we should free - instead unconditionally free 1/8th of each cache. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2022-03-21Better bio_alloc_bioset()Kent Overstreet
bio_alloc_bioset() now uses mempools, so we don't segfault on memory allocation failure. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2022-03-21Update bcachefs sources to 0e705f5944 fixup! bcachefs: Refactor ↵Kent Overstreet
bch2_btree_node_mem_alloc()
2022-03-13Update bcachefs sources to f05b3c1af9 bcachefs: Improve bucket_alloc_fail ↵Kent Overstreet
tracepoint
2022-03-13Update bcachefs sources to e48731a188 bcachefs: Fix ↵Kent Overstreet
BTREE_TRIGGER_WANTS_OLD_AND_NEW
2022-03-10Add freezable_schedule() to linux kernel shimKent Overstreet
Also fix the freezable_schedule_timeout() macro. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2022-02-27Update bcachefs sources to 04036b4910 bcachefs: Fix a memory leakKent Overstreet
2022-02-19Update bcachefs sources to da8056a215 bcachefs: Store logical location of ↵Kent Overstreet
journal entries
2022-02-18Switch to pthread_mutex_t for spinlocks, tooKent Overstreet
This fixes an observed journal deadlock - real spinlocks aren't safe in userspace.
2022-02-16Update bcachefs sources to a0d7001b0f bcachefs: Change bch2_dev_lookup() to ↵Kent Overstreet
not use lookup_bdev()
2022-02-13Update bcachefs sources to ba398d2906 bcachefs: Fix reflink repair codeKent Overstreet
2022-02-11Update bcachefs sources to b84661c042 bcachefs: Fix reflink repair codeKent Overstreet
2022-01-10Update bcachefs sources to bf340e68c7 bcachefs: Ignore cached data when ↵Kent Overstreet
calculating fragmentation
2022-01-04Update bcachefs sources to 50ac18afbb bcachefs: Fix an uninitialized variableKent Overstreet
2022-01-01Retry memory allocation failuresKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2021-12-28Update bcachefs sources to 078a1a596a bcachefs: Optimize bucket reuseKent Overstreet
2021-11-03Update bcachefs sources to 5fd0c70102 bcachefs: Fix __remove_dirent()Kent Overstreet
2021-10-16make BIO_MAX_VECS unsigned, like the kernel definitionBrett Holman
Signed-off-by: Brett Holman <bholman.devel@gmail.com>
2021-09-09Update bcachefs sources to 3f3f969859 bcachefs: Fix some compiler warningsKent Overstreet
2021-07-28Delete unused variableKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2021-07-28Update bcachefs sources to b964c6cba8 bcachefs: Change lockrestart_do() to ↵Kent Overstreet
always call bch2_trans_begin()
2021-07-24fix for musl and non-x86 archsBrett Holman
2021-07-14Update bcachefs sources to 787de128a5 bcachefs: Improvements to fsck ↵Kent Overstreet
check_dirents()
2021-07-11Update bcachefs sources to 400c2f8d96 bcachefs: Mask out unknown compat ↵Kent Overstreet
features when going read-write
2021-07-07Update bcachefs sources to dbee44d5ab bcachefs: add bcachefs xxhash supportKent Overstreet
2021-06-10Update bcachefs sources to 69be0dae31 bcachefs: Always zero memory from ↵Kent Overstreet
bch2_trans_kmalloc()
2021-06-08Update bcachefs sources to e3a7cee503 bcachefs: Don't mark superblocks past ↵Kent Overstreet
end of usable space
2021-05-31Update bcachefs sources to 3913e0cac3 bcachefs: Journal space calculation fixKent Overstreet
2021-05-27Update closures from kernel source treeKent Overstreet
2021-05-27Grab math.h from kernel source treeKent Overstreet
This gets us round_up() and round_down() Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2021-05-17Update bcachefs sources to 0cd3e1d27a bcachefs: Fix for bch2_bkey_pack_pos() ↵Kent Overstreet
not initializing len/version fields
2021-05-17Fix some minor compiler warningsKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2021-04-30Update bcachefs sources to a5c0e1bb30 bcachefs: Clean up ↵Kent Overstreet
bch2_btree_and_journal_walk()
2021-04-26bit_spinlocks now use futexesKent Overstreet
Spinlocks aren't a good idea in userspace, where we can't actually disable preemption. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2021-04-26Update bcachefs sources to 8d3093bd9b bcachefs: Evict btree nodes we're deletingKent Overstreet
2021-04-24Add a real mempool implementationKent Overstreet
Imported from the kernel. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2021-04-19Update bcachefs sources to fe72e70682 bcachefs: Fix for btree_gc repairing ↵Kent Overstreet
interior btree ptrs