summaryrefslogtreecommitdiff
path: root/linux
AgeCommit message (Collapse)Author
2023-06-27Update bcachefs sources to 84f132d569 bcachefs: fsck: Break walk_inode() up ↵Kent Overstreet
into multiple functions Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-06-18Update bcachefs sources to 99175e5712 bcachefs: Fix ↵Kent Overstreet
bch2_check_discard_freespace_key()
2023-06-10Update bcachefs sources to ed6b7f81a7 six locks: Disable percpu read lock ↵Kent Overstreet
mode in userspace Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-06-04Update bcachefs sources to 7c0fe6f104 bcachefs: Fix bch2_fsck_ask_yn()Kent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-05-25Update bcachefs sources to 31c09369cd six locks: Fix an unitialized varKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-03-31Update bcachefs sources to 8fd009dd76 bcachefs: Rip out code for storing ↵v0.28Kent Overstreet
backpointers in alloc keys Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-03-14Update bcachefs sources to 72405e7ff8 bcachefs: Fix ↵Kent Overstreet
bch2_check_extents_to_backpointers()
2023-03-08linux shim: Fix dropped O_DIRECT flagKent Overstreet
A recent libbcachefs update accidentally committed a change that dropped the O_DIRECT flag - we definitely didn't want to do that. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-03-04Update bcachefs sources to 171da96d76 bcachefs: Drop some anonymous structs, ↵Kent Overstreet
unions
2023-02-27Update bcachefs sources to ca97ee3577 bcachefs: ↵Kent Overstreet
bch2_btree_iter_peek_and_restart_outlined() Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-02-17Update bcachefs sources to 1b14994029 bcachefs: Fragmentation LRUv0.27Kent Overstreet
2023-02-09Update bcachefs sources to ea93c26e98 fixup! bcachefs: We can handle missing ↵Kent Overstreet
btree roots for all alloc btrees Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2022-12-19Change memory reclaimKent Overstreet
- Spin up a background thread to call the shrinkers every 1 second - Memory allocations will only call reclaim after a failed allocation, not every single time This will be a major performance boost on allocation intensive workloads. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2022-11-26Update bcachefs sources to 5963d1b1a4 bcacehfs: Fix ↵Kent Overstreet
bch2_get_alloc_in_memory_pos()
2022-11-19linux/blkdev.c: Fall back to buffered IO when O_DIRECT failsKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2022-11-13Update bcachefs sources to 8d3fc97ca3 bcachefs: Fixes for building in userspaceKent Overstreet
2022-10-22Update bcachefs sources to cd779e0cc5 bcachefs: Skip inode unpack/pack in ↵v0.23Kent Overstreet
bch2_extent_update()
2022-10-15Update bcachefs sources to 3e93567c51 bcachefs: Switch to local_clock() for ↵Kent Overstreet
fastpath time source
2022-10-11Update bcachefs sources to 6dc2a699c6 bcachefs: bch2_path_put_nokeep()Kent Overstreet
2022-10-11Don't run shrinkers without GFP_KERNELKent Overstreet
This would correspond to GFP_RECLAIM in the kernel - but we don't distinguish between different types of reclaim here. This solves a deadlock in the btree node memory allocation path - we allocate with the btree node cache lock held but without GFP_KERNEL set. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2022-10-10Update bcachefs sources to 47ffed9fad bcachefs: ↵Kent Overstreet
bch2_btree_delete_range_trans() now uses peek_upto()
2022-10-09Update bcachefs sources to cbccc6d869 bcachefs: Ratelimit ec error messageKent Overstreet
2022-09-28Update bcachefs sources to 24c6361e20 bcachefs: Fix a trans path overflow in ↵Kent Overstreet
bch2_btree_delete_range_trans() Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2022-09-04Update bcachefs sources to 176718966e bcachefs: Re-enable hash_redo_key()Kent Overstreet
2022-08-18Update bcachefs sources to dfaf9a6ee2 lib/printbuf: Clean up headersKent Overstreet
2022-08-11Update bcachefs sources to 90a9c61e2b bcachefs: Switch ↵Kent Overstreet
bch2_btree_delete_range() to bch2_trans_run()
2022-06-22Fix bdev_logical_block_size()Kent Overstreet
We were returning sectors instead of bytes. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
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-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-04-08Update bcachefs sources to 6ddf061e68 bcachefs: Use a genradix for reading ↵Kent Overstreet
journal entries
2022-03-28Heap code fixKent Overstreet
When deleting an entry from a heap that was at entry h->used - 1, we'd end up calling heap_sift() on an entry outside the heap - the entry we just removed - which would end up re-adding it to the heap and deleting something we didn't want to delete. Oops... Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
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-13Update bcachefs sources to e48731a188 bcachefs: Fix ↵Kent Overstreet
BTREE_TRIGGER_WANTS_OLD_AND_NEW
2022-02-13Update bcachefs sources to ba398d2906 bcachefs: Fix reflink repair codeKent Overstreet
2021-11-03Update bcachefs sources to 5fd0c70102 bcachefs: Fix __remove_dirent()Kent Overstreet
2021-10-16Fix 32 bit io regressionBrett Holman
In commit ba1dbafc1fce I reverted 9942fc82d43b, which was a workaround for an upstream 32bit libaio bug. Oops. Signed-off-by: Brett Holman <bholman.devel@gmail.com>
2021-10-10Fall back to synchronous io when kernel doesn't support aio.Brett Holman
Signed-off-by: Brett Holman <bholman.devel@gmail.com>
2021-10-09Correctly print out error from io_setup()Kent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2021-09-22Make aio code use struct io_iocb_common to support 32 bit architecturesBrett Holman
Signed-off-by: Brett Holman <bholman.devel@gmail.com>
2021-07-07Update bcachefs sources to dbee44d5ab bcachefs: add bcachefs xxhash supportKent Overstreet
2021-06-23Update bcachefs sources to ca3cfad39f fixup! bcachefs: Improve ↵Kent Overstreet
iter->should_be_locked
2021-06-13Cleanup Makefile for better compatibility + enable "make debug"jpsollie
- clean up Makefile to improve compiler compatibility - add a "Make debug" target for easier debug builds - update INSTALL - fix six.c when running "make debug" against GCC 9 (maybe-uninitialized) Signed-off by: Janpieter Sollie <janpieter.sollie@edpnet.be>
2021-06-08Update bcachefs sources to e3a7cee503 bcachefs: Don't mark superblocks past ↵Kent Overstreet
end of usable space
2021-06-05Work around build error with gcc <10Justin Husted
linux/six.c: In function ‘__six_lock_type_slowpath’: linux/six.c:73:6: error: ‘old.<U81c8>.v’ may be used uninitialized in this function [-Werror=maybe-uninitialized] Signed-off-by: Justin Husted <sigstop@gmail.com>
2021-05-27Update closures from kernel source treeKent Overstreet
2021-04-30Update bcachefs sources to a5c0e1bb30 bcachefs: Clean up ↵Kent Overstreet
bch2_btree_and_journal_walk()
2021-04-24Add a real mempool implementationKent Overstreet
Imported from the kernel. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>