bcachefs: Don't set accessed bit on btree node fill
authorKent Overstreet <kent.overstreet@linux.dev>
Fri, 25 Nov 2022 21:04:42 +0000 (16:04 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:47 +0000 (17:09 -0400)
commit447e92274af6c7e8dcdc7921a6af238afcc87a0a
treee990c5248f9c637f84fbf1866e4b59c348e21ef1
parentb6804b6103263417994602482e9186fb3697a3e6
bcachefs: Don't set accessed bit on btree node fill

Btree nodes shouldn't have their accessed bit set when entering the
btree cache by being read in from disk - this fixes linear scans
thrashing the cache.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/btree_cache.c