summaryrefslogtreecommitdiff
path: root/linux/timer.c
AgeCommit message (Collapse)Author
2024-01-16Move c_src dirs back to toplevelKent Overstreet
We just wanted c sourcefiles out of the top level, not c source directories. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2024-01-16move Rust sources to top level, C sources into c_srcThomas Bertschinger
This moves the Rust sources out of rust_src/ and into the top level. Running the bcachefs executable out of the development tree is now: $ ./target/release/bcachefs command or $ cargo run --profile release -- command instead of "./bcachefs command". Building and installing is still: $ make && make install Signed-off-by: Thomas Bertschinger <tahbertschinger@gmail.com> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
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>
2019-11-07Fix 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-03Stop the timer task at process exit time, to make valgrind happy.Justin Husted
Signed-off-by: Justin Husted <sigstop@gmail.com>
2018-05-17Update bcachefs sources to 0906b1fb49 bcachefs: fixes for 32 bit/big endian ↵Kent Overstreet
machines
2017-03-19make linux shim timer code less fragileKent Overstreet
2017-01-20bcache in userspace; userspace fsckKent Overstreet