Kent Overstreet
7a51608d01
bcachefs: Rework btree node pinning
...
In backpointers fsck, we do a seqential scan of one btree, and check
references to another: extents <-> backpointers
Checking references generates random lookups, so we want to pin that
btree in memory (or only a range, if it doesn't fit in ram).
Previously, this was done with a simple check in the shrinker - "if
btree node is in range being pinned, don't free it" - but this generated
OOMs, as our shrinker wasn't well behaved if there was less memory
available than expected.
Instead, we now have two different shrinkers and lru lists; the second
shrinker being for pinned nodes, with seeks set much higher than normal
- so they can still be freed if necessary, but we'll prefer not to.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2024-09-21 11:39:48 -04:00
..
2024-09-09 09:41:47 -04:00
2024-08-08 15:14:02 -04:00
2024-08-22 02:07:23 -04:00
2024-09-21 11:39:48 -04:00
2024-09-21 11:39:48 -04:00
2024-09-21 11:39:48 -04:00
2024-09-21 11:35:20 -04:00
2024-05-08 17:29:24 -04:00
2024-09-21 11:39:48 -04:00
2024-08-13 23:00:50 -04:00
2024-03-13 21:22:24 -04:00
2024-09-09 09:41:48 -04:00
2024-07-14 19:00:15 -04:00
2024-09-21 11:39:48 -04:00
2024-08-13 23:00:50 -04:00
2024-08-13 23:00:50 -04:00
2024-05-08 14:56:09 -04:00
2024-05-08 14:56:09 -04:00
2024-03-13 21:22:26 -04:00
2024-06-28 19:42:22 -04:00
2024-08-13 23:00:50 -04:00
2024-09-09 09:41:49 -04:00
2024-09-09 09:41:49 -04:00
2024-09-21 11:39:48 -04:00
2024-09-21 11:39:48 -04:00
2024-07-14 19:00:15 -04:00
2024-09-21 11:39:48 -04:00
2024-07-14 19:00:15 -04:00
2024-09-21 11:39:48 -04:00
2024-09-21 11:39:48 -04:00
2024-09-09 09:41:48 -04:00
2024-09-21 11:35:20 -04:00
2024-09-09 09:41:46 -04:00
2024-07-14 19:00:13 -04:00
2024-09-09 09:41:47 -04:00
2024-09-21 11:39:46 -04:00
2024-08-13 23:00:34 -04:00
2024-07-14 19:59:12 -04:00
2024-09-09 09:41:49 -04:00
2024-07-14 19:00:16 -04:00
2024-08-13 23:00:50 -04:00
2024-04-03 14:44:18 -04:00
2024-09-09 09:41:49 -04:00
2024-09-21 11:39:48 -04:00
2024-09-21 11:39:48 -04:00
2024-09-09 09:41:49 -04:00
2024-09-09 09:41:48 -04:00
2024-07-14 19:00:15 -04:00
2024-07-14 19:00:14 -04:00
2024-07-18 18:33:30 -04:00
2024-07-14 19:00:14 -04:00
2024-09-09 09:41:49 -04:00
2024-08-18 20:41:50 -04:00
2024-09-21 11:39:48 -04:00
2024-09-09 09:41:49 -04:00
2024-07-14 19:00:16 -04:00
2024-09-21 11:35:20 -04:00
2024-04-13 22:48:17 -04:00
2024-07-21 17:56:22 -07:00
2024-07-21 17:56:22 -07:00
2024-09-09 09:41:48 -04:00
2024-03-13 18:39:12 -04:00
2024-04-13 22:48:17 -04:00
2024-09-09 09:41:49 -04:00
2024-09-09 09:41:49 -04:00
2024-08-26 20:33:12 -04:00
2024-07-10 09:53:39 -04:00
2024-08-13 22:56:50 -04:00
2024-01-21 13:27:10 -05:00
2024-09-09 09:41:48 -04:00
2024-08-13 23:00:50 -04:00
2024-08-13 23:00:50 -04:00
2024-07-14 19:00:15 -04:00
2024-08-13 23:00:50 -04:00
2024-08-13 23:00:50 -04:00
2024-05-28 17:32:03 -04:00
2024-07-14 19:00:12 -04:00
2024-01-21 13:27:11 -05:00
2024-06-24 22:25:00 -07:00
2024-09-21 11:35:20 -04:00
2024-09-09 09:41:46 -04:00
2024-03-13 21:22:25 -04:00
2024-09-21 11:35:20 -04:00
2024-08-13 23:00:50 -04:00
2024-08-13 23:00:50 -04:00
2024-05-08 17:29:18 -04:00
2024-01-21 13:27:11 -05:00
2024-09-21 11:39:48 -04:00
2024-09-09 09:41:48 -04:00
2024-05-08 17:29:18 -04:00
2024-07-14 19:00:15 -04:00
2024-03-13 18:39:12 -04:00
2024-09-21 11:35:20 -04:00
2024-07-14 19:00:12 -04:00
2024-09-09 09:41:48 -04:00
2024-09-09 09:41:47 -04:00
2024-09-09 09:41:48 -04:00
2024-09-09 09:41:49 -04:00
2024-09-09 09:41:48 -04:00
2024-09-09 09:41:47 -04:00
2023-11-05 13:12:18 -05:00
2024-09-21 11:39:48 -04:00
2024-09-09 09:41:47 -04:00
2024-09-09 09:41:47 -04:00
2024-03-13 21:22:25 -04:00
2024-01-21 13:27:10 -05:00
2024-09-09 09:41:47 -04:00
2024-08-13 23:00:50 -04:00
2024-08-07 21:04:55 -04:00
2024-09-21 11:39:48 -04:00
2024-05-08 17:29:24 -04:00
2024-09-21 11:35:20 -04:00
2024-07-14 19:59:12 -04:00
2024-09-09 09:41:49 -04:00
2024-05-09 16:23:36 -04:00
2024-09-21 11:39:48 -04:00
2024-01-01 11:47:41 -05:00
2024-08-22 02:07:23 -04:00
2024-05-28 17:32:03 -04:00
2024-06-25 17:53:31 -04:00
2024-05-08 17:29:20 -04:00
2024-05-08 17:29:22 -04:00
2024-08-22 02:07:23 -04:00
2024-07-14 19:00:12 -04:00
2024-09-09 09:41:48 -04:00
2024-01-01 11:47:43 -05:00
2024-01-01 11:47:43 -05:00
2024-01-21 13:27:11 -05:00
2024-05-08 17:29:18 -04:00
2024-07-14 19:00:16 -04:00
2024-08-13 23:00:50 -04:00
2024-08-13 23:00:50 -04:00
2024-09-09 09:41:47 -04:00
2024-05-28 11:29:26 -04:00
2024-03-13 21:37:58 -04:00
2024-07-18 18:33:30 -04:00
2024-05-08 17:29:18 -04:00
2024-07-14 19:00:12 -04:00
2024-01-01 11:47:39 -05:00
2024-08-24 10:16:21 -04:00
2024-09-21 11:39:48 -04:00
2024-09-21 11:39:48 -04:00
2024-07-14 19:00:12 -04:00
2024-07-14 19:00:12 -04:00
2024-01-21 13:27:10 -05:00
2024-08-13 23:00:50 -04:00
2024-08-13 23:00:50 -04:00
2024-09-09 09:41:47 -04:00
2024-09-09 09:41:47 -04:00
2024-09-21 11:35:20 -04:00
2024-07-14 19:00:13 -04:00
2024-09-21 11:39:48 -04:00
2024-03-31 20:36:12 -04:00
2024-09-21 11:39:48 -04:00
2024-04-03 14:46:51 -04:00
2024-01-21 13:27:11 -05:00
2024-08-13 23:00:50 -04:00
2024-08-13 23:00:50 -04:00
2024-09-09 09:41:49 -04:00
2024-07-14 19:00:13 -04:00
2024-09-21 11:39:48 -04:00
2024-07-14 19:00:13 -04:00
2024-07-14 19:00:13 -04:00
2024-01-21 13:27:10 -05:00
2024-05-09 16:23:36 -04:00
2024-01-21 13:27:10 -05:00
2024-05-28 17:32:03 -04:00
2024-08-24 10:16:21 -04:00
2024-07-14 19:00:12 -04:00
2024-08-31 19:27:01 -04:00
2024-05-28 17:33:45 -04:00
2024-06-25 17:51:26 -04:00
2024-01-01 11:47:07 -05:00
2024-09-03 20:43:14 -04:00
2024-05-08 17:29:19 -04:00
2024-09-21 11:39:48 -04:00
2024-09-21 11:39:48 -04:00
2024-06-23 00:57:21 -04:00
2024-01-01 11:47:38 -05:00
2024-01-01 11:47:40 -05:00
2024-01-21 13:27:10 -05:00
2024-08-13 23:00:50 -04:00
2024-08-13 23:00:50 -04:00
2024-09-21 11:35:20 -04:00
2024-03-13 21:22:24 -04:00
2024-09-09 09:41:47 -04:00
2024-08-13 23:00:50 -04:00
2024-09-09 09:41:48 -04:00
2024-05-08 17:29:19 -04:00
2024-09-09 09:41:49 -04:00
2024-05-09 16:23:36 -04:00
2024-09-21 11:39:48 -04:00
2024-01-01 11:47:38 -05:00
2024-09-21 11:39:48 -04:00
2024-07-14 19:00:15 -04:00
2024-07-14 19:00:14 -04:00
2024-09-09 09:41:49 -04:00
2024-07-14 19:00:14 -04:00
2024-09-09 09:41:49 -04:00
2024-09-09 09:41:49 -04:00
2024-08-13 23:00:34 -04:00
2024-09-09 09:41:48 -04:00
2024-07-14 19:00:12 -04:00
2024-09-21 11:39:48 -04:00
2024-09-09 09:41:47 -04:00
2024-07-18 18:33:30 -04:00
2024-01-01 11:47:42 -05:00
2024-09-09 09:41:49 -04:00
2024-09-09 09:41:49 -04:00
2024-08-13 23:00:50 -04:00