Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-06-22 | Fix bdev_logical_block_size() | Kent Overstreet | |
We were returning sectors instead of bytes. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com> | |||
2022-06-22 | Fix 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-18 | cmd_dump: Use buffered IO for reading device metadata | Kent 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-09 | Update bcachefs sources to 24f7e08cd8 bcachefs: shrinker.to_text() methods | Kent Overstreet | |
2022-05-30 | Update bcachefs sources to fad6d13aa5 fixup! bcachefs: Add persistent counters | Kent Overstreet | |
2022-04-08 | Update bcachefs sources to 6ddf061e68 bcachefs: Use a genradix for reading ↵ | Kent Overstreet | |
journal entries | |||
2022-03-28 | Heap code fix | Kent 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-21 | Shrinker improvements | Kent 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-21 | Better 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-13 | Update bcachefs sources to e48731a188 bcachefs: Fix ↵ | Kent Overstreet | |
BTREE_TRIGGER_WANTS_OLD_AND_NEW | |||
2022-02-13 | Update bcachefs sources to ba398d2906 bcachefs: Fix reflink repair code | Kent Overstreet | |
2021-11-03 | Update bcachefs sources to 5fd0c70102 bcachefs: Fix __remove_dirent() | Kent Overstreet | |
2021-10-16 | Fix 32 bit io regression | Brett 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-10 | Fall back to synchronous io when kernel doesn't support aio. | Brett Holman | |
Signed-off-by: Brett Holman <bholman.devel@gmail.com> | |||
2021-10-09 | Correctly print out error from io_setup() | Kent Overstreet | |
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com> | |||
2021-09-22 | Make aio code use struct io_iocb_common to support 32 bit architectures | Brett Holman | |
Signed-off-by: Brett Holman <bholman.devel@gmail.com> | |||
2021-07-07 | Update bcachefs sources to dbee44d5ab bcachefs: add bcachefs xxhash support | Kent Overstreet | |
2021-06-23 | Update bcachefs sources to ca3cfad39f fixup! bcachefs: Improve ↵ | Kent Overstreet | |
iter->should_be_locked | |||
2021-06-13 | Cleanup 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-08 | Update bcachefs sources to e3a7cee503 bcachefs: Don't mark superblocks past ↵ | Kent Overstreet | |
end of usable space | |||
2021-06-05 | Work around build error with gcc <10 | Justin 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-27 | Update closures from kernel source tree | Kent Overstreet | |
2021-04-30 | Update bcachefs sources to a5c0e1bb30 bcachefs: Clean up ↵ | Kent Overstreet | |
bch2_btree_and_journal_walk() | |||
2021-04-24 | Add a real mempool implementation | Kent Overstreet | |
Imported from the kernel. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com> | |||
2021-04-04 | Update bcachefs sources to f26267fc82 bcachefs: kill bset_tree->max_key | Kent Overstreet | |
2021-03-31 | If we failed to read /proc/meminfo, just run the shrinkers. | Kent Overstreet | |
2021-03-29 | Update bcachefs sources to 18686af684 bcachefs: Inode backpointersv0.13 | Kent Overstreet | |
2021-03-24 | Update bcachefs sources to ad68801b93 bcachefs: Use pcpu mode of six locks ↵ | Kent Overstreet | |
for interior nodes | |||
2021-02-24 | Don't die in kthread_create() | Kent Overstreet | |
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com> | |||
2021-02-12 | generix radix trees: Don't overflow in peek() | Kent Overstreet | |
2021-01-12 | Don't use mlockall() | Kent Overstreet | |
We're hitting -ENOMEM while running fsck - we appear to need memory overcommit, which mlockall() disables. | |||
2020-08-24 | Update bcachefs sources to 10ab39f2fa bcachefs: Improvements to the journal ↵ | Kent Overstreet | |
read error paths | |||
2020-06-15 | Update bcachefs sources to 4837f82ee1 bcachefs: Use cached iterators for ↵ | Kent Overstreet | |
alloc btree | |||
2020-06-03 | Update bcachefs sources to c9b4a210f9 fixup! bcachefs: Fixes for going RO | Kent Overstreet | |
2020-05-14 | Update bcachefs sources to e1f6739c4a bcachefs: Fix another iterator ↵ | Kent Overstreet | |
counting bug | |||
2020-05-05 | Fix building on musl | Yuxuan Shui | |
* 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. | |||
2019-12-14 | Increase stack size of userspace threads to 32k. | Justin Husted | |
Certain fuse tests crashed inside of libc calls such as fprintf() with only 16k of stack. Signed-off-by: Justin Husted <sigstop@gmail.com> | |||
2019-12-04 | Put valgrind support behind CONFIG_VALGRIND | Kent Overstreet | |
2019-11-07 | Make userspace blkdev cleanup code more robust. | Justin Husted | |
The existing cleanup code would silently cancel disk IO requests, if somehow the calling code did not wait for completion. This code now tracks requests and will bug if any are lost. Signed-off-by: Justin Husted <sigstop@gmail.com> | |||
2019-11-07 | Fix refcount bug in blkdev and timer kthreads. | Justin Husted | |
The shutdown code in d79d57e and b20e160 had a race condition during shutdown, due to not owning a reference on the associated task_struct while the associated threads shut themselves down. Patch over this by taking an appropriate reference. Signed-off-by: Justin Husted <sigstop@gmail.com> | |||
2019-11-03 | Stop blkdev completion thread at process exit time, to make valgrind | Justin Husted | |
happy. Signed-off-by: Justin Husted <sigstop@gmail.com> | |||
2019-11-03 | Stop workqueue threads at process exit time, to make valgrind happy. | Justin Husted | |
Signed-off-by: Justin Husted <sigstop@gmail.com> | |||
2019-11-03 | Stop the timer task at process exit time, to make valgrind happy. | Justin Husted | |
Signed-off-by: Justin Husted <sigstop@gmail.com> | |||
2019-11-03 | Change preempt_disable() etc. to use a recursive mutex. | Justin Husted | |
This is part of the userspace implementation of the kernel APIs for bcachefs-tools. The previous implementation just provided a barrier, but this isn't sufficient to make the associated percpu implementation safe. Signed-off-by: Justin Husted <sigstop@gmail.com> | |||
2019-10-18 | Add valgrind handling: data read from io_submit was not being marked | Justin Husted | |
properly. Manually mark it. This might be better done by improving the valgrind wrapper for io_submit. | |||
2019-10-01 | Update six locks | Kent Overstreet | |
2019-09-25 | Update bcachefs sources to 5a3a4087af bcachefs: Convert a BUG_ON() to a warning | Kent Overstreet | |
2019-08-28 | Update llist code | Kent Overstreet | |
This fixes a bug where the compiler was dropping a null ptr check | |||
2019-07-11 | Update bcachefs sources to b91a514413 bcachefs: Don't try to delete stripes ↵ | Kent Overstreet | |
when RO | |||
2019-04-10 | fix check for SYS_random | Kent Overstreet | |