summaryrefslogtreecommitdiff
path: root/libbcachefs/lru.c
AgeCommit message (Collapse)Author
2025-05-31Update bcachefs sources to d316ba08b045 bcachefs: Repair code for directory ↵Kent Overstreet
i_size
2025-03-29Update bcachefs sources to 0a2abe7ce837 bcachefs: Don't use designated ↵Kent Overstreet
initializers for disk_accounting_pos Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-02-20Update bcachefs sources to 9736cbbc5cc3 bcachefs: bs > ps supportKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2024-11-29Update bcachefs sources to bc01863fb6ef bcachefs: ↵Kent Overstreet
bcachefs_metadata_version_disk_accounting_big_endian Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2024-10-09Update bcachefs sources to 3b80552e7057 bcachefs: __wait_for_freeing_inode: ↵v1.13.0Kent Overstreet
Switch to wait_bit_queue_entry Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2024-08-17Update bcachefs sources to e7015d0df31c bcachefs: Simplify bch2_xattr_emit() ↵v1.11.0Kent Overstreet
implementation Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2024-07-05Update bcachefs sources to 2be6fc9b111c bcachefs: bch2_gc_btree() should not ↵Kent Overstreet
use btree_root_lock Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2024-06-03Update bcachefs sources to f81dc88f0c80 bcachefs: bch2_btree_insert() - add ↵Kent Overstreet
btree iter flags Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2024-05-09Update bcachefs sources to 07f9a27f1969 bcachefs: add no_invalid_checks flagKent Overstreet
2024-03-16Update bcachefs sources to 83338f5b2cb8 bcachefs: fix for building in userspaceKent Overstreet
2024-02-09Update bcachefs sources to bee7b5a4fa21 bcachefs: Pin btree cache in ram for ↵Kent Overstreet
random access in fsck Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
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>
2023-12-18Update bcachefs sources to 1a739db0b256 bcachefs; guard against overflow in ↵Kent Overstreet
btree node split Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-11-29Update bcachefs sources to eb83f1f842bb mean and variance: Promote to lib/mathKent Overstreet
2023-11-27Update bcachefs sources to feaca6edbd24 mean and variance: Promote to lib/mathKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-11-25Update bcachefs sources to 8c94740b1bf8 bcachefs: Add missing vaidation for ↵Kent Overstreet
jset_entry_data_usage
2023-11-12Update bcachefs sources to 3ca08ab51ec9 bcachefs: six locks: Simplify ↵Kent Overstreet
optimistic spinning Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-10-27Update bcachefs sources to 7250b2ee5574 bcachefs: Fix deleted inodes btree ↵Kent Overstreet
in snapshot deletion
2023-09-23Update bcachefs sources to f9c612bbf82d bcachefs: Fixes for building in ↵Kent Overstreet
userspace Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-07-20Update bcachefs sources to ee560a3929 bcachefs: Print version, options ↵Kent Overstreet
earlier in startup path
2023-07-09Update bcachefs sources to da7d42a9a2 bcachefs: Add new assertions for ↵Kent Overstreet
shutdown path Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-07-07Update bcachefs sources to 25de2b00dc bcachefs: Change check for invalid key ↵Kent Overstreet
types Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
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-05-02Update bcachefs sources to 6a20aede29 bcachefs: Fix quotas + snapshotsv0.29Kent 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-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-19Update bcachefs sources to 0939e1c732 fixup! bcachefs: Rework lru btreeKent Overstreet
2022-12-19Update bcachefs sources to 2e8463c770 bcachefs: Rework lru btreev0.26Kent Overstreet
2022-11-30Update bcachefs sources to eabde7cb37 fixup! bcachefs: Optimize ↵Kent Overstreet
bch2_alloc_to_v4()
2022-11-29Update bcachefs sources to 8a65cc4951 bcachefs: Improve ↵Kent Overstreet
bch2_dev_freespace_init()
2022-11-20Update bcachefs sources to ea47add37d bcachefs: More errcode cleanupKent Overstreet
2022-08-11Update bcachefs sources to 90a9c61e2b bcachefs: Switch ↵Kent Overstreet
bch2_btree_delete_range() to bch2_trans_run()
2022-07-15Update bcachefs sources to 17a344f265 bcachefs: Improve fsck for ↵Kent Overstreet
subvols/snapshots
2022-06-09Update bcachefs sources to 24f7e08cd8 bcachefs: shrinker.to_text() methodsKent Overstreet
2022-05-19cmd_unlock: Add -k argument to specify keyringKent Overstreet
This adds a new argument (-k) to cmd_unlock for specifying the keyring to add to. The default is user, but user_session and session can also be specified. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
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-10Update bcachefs sources to 202b20c48f bcachefs: Ensure buckets have ↵Kent Overstreet
io_time[READ] set
2022-04-10Update bcachefs sources to ad72553649 bcachefs: Fix a null ptr derefv0.21Kent Overstreet
2022-04-07Update bcachefs sources to d3da360412 bcachefs: Fold bucket_state in to ↵Kent Overstreet
BCH_DATA_TYPES()
2022-04-06Update bcachefs sources to e027cf9aa0 fixup! bcachefs: Defer checking of ↵Kent Overstreet
alloc -> lru refs until after RW
2022-03-31Update bcachefs sources to 5e392aed7a bcachefs: Kill bch2_alloc_write()v0.20Kent Overstreet
2022-03-13Update bcachefs sources to f05b3c1af9 bcachefs: Improve bucket_alloc_fail ↵v0.19Kent Overstreet
tracepoint