🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #7094

Bug#1155912: fuse2fs: hard links report different inode numbers (regression from bookworm, fixed in 1.47.3)

#7094
From: Theodore Tso
Date: Tue, 01 Dec 2026 22:10
50 lines
4207 bytes
On Mon, Nov 30, 2026 at 03:48:44PM -0500, Laurent Arnoud wrote:
> Package: fuse2fs
> Version: 1.47.2-3+b12
> Severity: important
> 
> On trixie, fuse2fs reports a different st_ino for each name of a hard
> link, although both names point to the same on-disk inode. Software that
> compares inode numbers across hard links breaks on such mounts. For
> example, GlusterFS creates a hard link for every new file under its brick
> (the gfid handle under .glusterfs/) and checks that both names have the
> same inode; on a fuse2fs-mounted brick every file creation fails.

It's not clear to me this is really that important a use case.

Using fuse2fs as the underlying storage filesystem for a GlusterFS
brick is technically possible for testing or recovery, **but it is
strongly discouraged for production environments** due to severe
performance penalties and extended attribute (xattr) caveats:

  * Double-FUSE Overhead: GlusterFS is already a userspace
    filesystem. Stacking glusterfsd on top of a fuse2fs mount forces
    every file read, write, and metadata lookup to cross the
    kernel-to-userspace FUSE boundary multiple times, drastically
    increasing latency and CPU usage.

  * trusted.* Extended Attributes: GlusterFS relies heavily on
    trusted.* xattrs (such as trusted.gfid and trusted.afr.*) to track
    file identities, replication state, and self-healing. While
    fuse2fs supports extended attributes, FUSE enforces strict
    CAP_SYS_ADMIN and allow_other rules for the trusted.*
    namespace. If fuse2fs is mounted without -o allow_other or root
    privileges, glusterfsd will fail to read or write brick metadata.

> Would you consider this fix for a trixie point release, or a
> trixie-backports upload of 1.47.4 as was done for bookworm
> (1.47.2-3~bpo12+1)?

A cherry-pick into trixie is very likely not going to be trivial.  I
am currently overloaded dealing with a huge number of AI-reported
issues to ext4 and e2fsprogs, with over 150 commits ahead of 1.47.4.
I hope to release a 1.47.5 in the near term.

I suspect it shouldn't be that hard to rebuild the Debian testing
version and rebuild it for trixie.  But I don't think this is a common
use case for Debain stable users, since this is explicitly recommended
against because it is a performance disaster.

Cheers,

						- Ted
Technical Details
Message-ID: <O5EcV-fpYl-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu!news.hispagatos.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <O5EcV-fpYl-3@gated-at.bofh.it> <O5EcV-fpYl-3@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu!news.hispagatos.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: "Theodore Tso" <tytso@mit.edu>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1155912: fuse2fs: hard links report different inode numbers (regression from bookworm, fixed in 1.47.3)
Date: Tue, 01 Dec 2026 23:10:01 +0100
Message-ID: <O5EcV-fpYl-1@gated-at.bofh.it>
References: <O5EcV-fpYl-3@gated-at.bofh.it> <O5EcV-fpYl-3@gated-at.bofh.it>
X-Original-To: Laurent Arnoud <laurent.arnoud@upsun.com>, 1155912@bugs.debian.org
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Tue Dec  1 22:07:07 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.451
Reply-To: "Theodore Tso" <tytso@mit.edu>, 1155912@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: tytso@mit.edu
X-Debian-Pr-Message: followup 1155912
X-Debian-Pr-Package: fuse2fs
X-Debian-Pr-Keywords: fixed-upstream
X-Debian-Pr-Source: e2fsprogs
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Greylist: delayed 501 seconds by postgrey-1.37 at buxtehude; Tue, 01 Dec 2026 22:04:24 UTC
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2006414
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 50
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Tue, 1 Dec 2026 16:55:59 -0500
X-Original-Message-ID: <aw8-f4FhazkM9VPT@mit.edu>
X-Original-References: <CAP36UN9htjCDGN0X2+soJCwHgmVGjytduQ=RPb-mBhKp+ikU6Q@mail.gmail.com> <CAP36UN9htjCDGN0X2+soJCwHgmVGjytduQ=RPb-mBhKp+ikU6Q@mail.gmail.com>