Re: [PATCH] eventfs: Have inodes have unique inode numbers

From: Matthew Wilcox
Date: Fri Jan 26 2024 - 17:36:38 EST


On Fri, Jan 26, 2024 at 05:14:12PM -0500, Mathieu Desnoyers wrote:
> I would suggest this straightforward solution to this:
>
> a) define a EVENTFS_MAX_INODES (e.g. 4096 * 8),
>
> b) keep track of inode allocation in a bitmap (within a single page),
>
> c) disallow allocating more than "EVENTFS_MAX_INODES" in eventfs.

.. reinventing the IDA?