Yuxuan Shui
f3fdbbfa92
Make sure aligned_alloc size is a multiply of alignment
...
Fix a ASan complaint.
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2020-05-21 14:36:00 +01: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
b485aae1ba
Update bcachefs sources to 6f603b8d79 bcachefs: some improvements to startup messages and options
2019-04-17 19:00:38 -04:00
Kent Overstreet
365d345005
Align allocations like the kernel does
2019-03-24 23:38:17 -04:00
Kent Overstreet
17e2f2775b
Update bcachefs sources to 2cb70a82bc bcachefs: delete some debug code
2018-06-27 14:50:43 -04:00
Kent Overstreet
3347339bbd
Simple stupid memory reclaim code
2017-11-12 16:48:07 -05:00
Kent Overstreet
565b4a74d6
Update bcachefs sources to 14e9ac5016 bcachefs: btree_iter fastpath
2017-05-12 23:14:24 -08:00
Kent Overstreet
b33fc8298f
bcache in userspace; userspace fsck
2017-01-20 09:07:08 -09:00