Commit 19b22d0
Kent Overstreet
bcachefs: Don't set btree nodes as accessed on fill
Prevent jobs that do lots of scanning (i.e. evacuatee, scrub) from
causing OOMs.
The shrinker code seems to be having issues when it doesn't do any
freeing because it's just flipping off the acccessed bit - and the
accessed bit shouldn't be set on first use anyways.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>1 parent 7b6759b commit 19b22d0
1 file changed
Lines changed: 4 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
852 | 852 | | |
853 | 853 | | |
854 | 854 | | |
855 | | - | |
856 | 855 | | |
857 | 856 | | |
858 | 857 | | |
| |||
1286 | 1285 | | |
1287 | 1286 | | |
1288 | 1287 | | |
| 1288 | + | |
| 1289 | + | |
| 1290 | + | |
| 1291 | + | |
1289 | 1292 | | |
1290 | 1293 | | |
1291 | 1294 | | |
| |||
1301 | 1304 | | |
1302 | 1305 | | |
1303 | 1306 | | |
1304 | | - | |
1305 | | - | |
1306 | | - | |
1307 | | - | |
1308 | 1307 | | |
1309 | 1308 | | |
1310 | 1309 | | |
| |||
0 commit comments