Chris Lu
bd3b75b534
mount: let a readdirplus stop taking references at a cap
...
The inode table only shrinks when the kernel returns a reference, so a walk
over a large tree grows it with every child it touches and nothing gives any
of it back until the kernel reclaims dentries. On a mount with tens of
millions of files that is most of the process's heap.
-maxInodeEntries stops the speculative half of that. Past the cap a
readdirplus still reports every name, but leaves the EntryOut zeroed: Linux
reads a zero nodeid as 'no attributes for this entry', takes no reference, and
looks up the ones the client actually needs. A LOOKUP is never refused, so the
table can still grow past the cap by what a client really asks for, and
nothing here evicts. Default 0 keeps today's behavior.
2026-08-18 21:00:49 -07:00
..
2026-08-13 13:33:15 -07:00
2026-07-21 14:00:37 -07:00
2026-01-07 13:06:08 -08:00
2026-06-16 11:47:32 -07:00
2026-05-06 15:19:43 -07:00
2026-07-22 14:38:06 -07:00
2026-08-08 09:24:58 -07:00
2026-05-03 21:46:21 -07:00
2026-05-03 21:46:21 -07:00
2026-05-03 21:46:21 -07:00
2026-07-10 01:47:46 -07:00
2026-07-10 01:47:46 -07:00
2026-05-03 21:46:21 -07:00
2026-06-30 20:45:43 -07:00
2026-06-04 10:53:23 -07:00
2026-08-08 09:24:58 -07:00
2026-08-08 09:24:58 -07:00
2026-04-23 11:54:08 -07:00
2026-04-22 09:44:43 -07:00
2026-01-07 13:06:08 -08:00
2026-03-30 18:25:11 -07:00
2026-07-22 14:38:06 -07:00
2026-03-19 21:18:52 -07:00
2026-07-23 17:44:02 -07:00
2026-01-07 13:06:08 -08:00
2024-07-16 09:15:55 -07:00
2026-07-24 10:32:14 -07:00
2026-07-24 10:32:14 -07:00
2026-06-09 12:54:28 -07:00
2026-03-26 23:55:42 -07:00
2026-07-01 10:38:21 -07:00
2026-07-01 10:38:21 -07:00
2026-06-09 12:54:28 -07:00
2026-08-14 10:58:45 -07:00
2026-05-31 18:52:44 -07:00
2026-05-28 18:04:31 -07:00
2026-07-21 08:59:14 -07:00
2026-02-20 18:42:00 -08:00
2026-06-15 13:11:35 -07:00
2026-06-15 13:11:35 -07:00
2025-12-25 11:36:38 -08:00
2025-12-14 16:02:06 -08:00
2026-01-26 11:28:23 -08:00
2026-02-18 13:42:41 -08:00
2025-12-17 12:27:43 -08:00
2026-08-15 21:37:20 -07:00
2026-08-15 21:37:20 -07:00
2026-03-30 18:25:11 -07:00
2026-03-30 18:25:11 -07:00
2026-06-19 13:04:04 -07:00
2026-05-02 21:02:21 -07:00
2026-05-08 11:03:03 -07:00
2026-08-17 14:46:25 -07:00
2026-08-18 21:00:49 -07:00
2026-03-18 12:18:40 -07:00
2026-03-18 12:18:40 -07:00
2026-03-18 12:18:40 -07:00
2026-08-03 21:20:26 -07:00
2026-02-20 18:42:00 -08:00
2026-08-03 21:20:26 -07:00
2026-08-10 18:46:18 -07:00
2026-08-18 21:00:49 -07:00
2026-04-23 22:15:05 -07:00
2026-05-03 21:46:21 -07:00
2025-10-13 18:05:17 -07:00
2026-05-02 18:03:13 -07:00
2026-04-16 15:51:43 -07:00
2026-08-16 12:57:12 -07:00
2026-06-11 11:04:52 -07:00
2026-08-16 12:57:12 -07:00
2026-06-05 12:44:21 -07:00
2026-04-10 17:31:14 -07:00
2026-02-20 18:42:00 -08:00
2026-05-03 21:46:21 -07:00
2026-07-22 14:38:06 -07:00
2026-05-30 09:29:06 -07:00
2022-07-29 00:17:28 -07:00
2026-06-17 00:07:38 -07:00
2026-06-05 12:44:21 -07:00
2026-03-07 18:30:58 -08:00
2026-05-08 17:29:47 -07:00
2026-05-03 21:46:21 -07:00