Kernel 6.12-rc6 has been released:
Code:
doug@s19:~/kernel/linux$ uname -a
Linux s19 6.12.0-rc6-stock #1287 SMP PREEMPT_DYNAMIC Sun Nov 3 22:14:03 PST 2024 x86_64 x86_64 x86_64 GNU/Linux
As mentioned in an earlier post, I am still getting those compile warnings. If I look into it, for example this one:
Code:
fs/bcachefs/btree_cache.o: warning: objtool: __bch2_btree_node_get() falls through to next function bch2_btree_node_get()
It doesn't appear to me as though the code has a fall through path at all:
Code:
static struct btree *__bch2_btree_node_get(struct btree_trans *trans, struct btree_path *path,
const struct bkey_i *k, unsigned level,
enum six_lock_type lock_type,
unsigned long trace_ip)
{
struct bch_fs *c = trans->c;
struct btree_cache *bc = &c->btree_cache;
struct btree *b;
bool need_relock = false;
int ret;
EBUG_ON(level >= BTREE_MAX_DEPTH);
retry:
b = btree_cache_find(bc, k);
.
.
.
if (unlikely(btree_node_read_error(b))) {
six_unlock_type(&b->c.lock, lock_type);
return ERR_PTR(-BCH_ERR_btree_node_read_error);
}
EBUG_ON(b->c.btree_id != path->btree_id);
EBUG_ON(BTREE_NODE_LEVEL(b->data) != level);
btree_check_header(c, b);
return b;
}
So, I'm not sure what is going on. (I should just ignore it, but am my own worst enemy.)