summaryrefslogtreecommitdiff
path: root/fs/bcachefs/btree_cache.c
AgeCommit message (Collapse)Author
2019-04-23bcachefs: Add actual tracepoints for transaction restartsKent Overstreet
2019-04-03bcachefs: trans_for_each_iter()Kent Overstreet
2019-04-03bcachefs: More allocator startup improvementsKent Overstreet
2019-04-03bcachefs: Make bkey types globally uniqueKent Overstreet
this lets us get rid of a lot of extra switch statements - in a lot of places we dispatch on the btree node type, and then the key type, so this is a nice cleanup across a lot of code. Also improve the on disk format versioning stuff.
2019-04-03bcachefs: revamp to_text methodsKent Overstreet
2019-04-03bcachefs: trace transaction restartsKent Overstreet
exceptionally crappy "tracing", but it's a start at documenting the places restarts can be triggered Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2019-04-03bcachefs: fix BTREE_INSERT_NOUNLOCKKent Overstreet
btree_node_merge -> get_sibling -> btree_node_lock could drop locks, when using linked iterators
2019-04-03bcachefs: refactor bch2_btree_node_prefetch()Kent Overstreet
2019-04-03bcachefs: refactor bch2_btree_node_get_sibling() a bitKent Overstreet
2019-04-03bcachefs: bch2_btree_iter_upgrade()/downgrade()Kent Overstreet
Replaces bch2_btree_iter_set_locks_want() - also add more assertions Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2019-04-03bcachefs: drop locks when needed in bch2_btree_node_get_sibling()Kent Overstreet
2019-04-03bcachefs: implement BTREE_INSERT_NOUNLOCKKent Overstreet
BTREE_INSERT_NOUNLOCK means after a sucessful btree update, do not drop any locks (e.g. while merging nodes). This is going to be used to fix some locking primarily related to bi_size in bch_inode_info.
2019-04-03bcachefs: Initial commitKent Overstreet
Fork of drivers/md/bcache Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>