Re: [for-linus][PATCH 1/3] eventfs: Have the inodes all for files and directories all be the same

From: Christian Brauner
Date: Fri Jan 26 2024 - 05:29:28 EST


On Fri, Jan 26, 2024 at 09:07:06AM +0100, Geert Uytterhoeven wrote:
> Hi Steven.
>
> On Thu, Jan 25, 2024 at 7:08 PM Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
> > On Thu, 25 Jan 2024 13:07:31 -0500
> > Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
> > > Actually, inodes isn't the biggest issue of tar, as tar *is* a common
> > > operation on tracefs.
> >
> > Correction. tar would be a common operation if it worked ;-)
>
> What would be needed to fix that? I regularly use tar on other virtual
> file systems (e.g. /sys/firmware/devicetree/), which works fine.

The size would be one thing. The other is that tar requires unique inode
numbers for all files iirc (That's why we have this whole btrfs problem
- let's not get into this here - where inode numbers aren't unique and
are duplicated per subvolume.).