GNU bug report logs -
#46905
Add a note about ext4's dir_index to the manual
Previous Next
To reply to this bug, email your comments to 46905 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#46905
; Package
guix
.
(Wed, 03 Mar 2021 21:09:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Tobias Geerinckx-Rice <me <at> tobias.gr>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Wed, 03 Mar 2021 21:09:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Mainly a reminder to myself to do so.
Guix can break ext4, and more than once has, with a inscrutable
error message. We should document it explicitly.
See <http://logs.guix.gnu.org/guix/2021-03-03.log#220037>.
Kind regards,
T G-R
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#46905
; Package
guix
.
(Thu, 04 Mar 2021 22:02:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 46905 <at> debbugs.gnu.org (full text, mbox):
Hi!
Tobias Geerinckx-Rice <me <at> tobias.gr> skribis:
> Mainly a reminder to myself to do so.
>
> Guix can break ext4, and more than once has, with a inscrutable error
> message. We should document it explicitly.
>
> See <http://logs.guix.gnu.org/guix/2021-03-03.log#220037>.
You wrote:
--8<---------------cut here---------------start------------->8---
<nckx>OK, that's the culprit (it's common: ext4 has a design flaw in that it hashes directory entries and... just
dies when the hash table gets ‘full’). Try ‘tune2fs -E "hash_alg=tea" /dev/foo’ to select a different hash algo, or
‘tune2fs -O "^dir_index" /dev/foo’ to disable it completely if that doesn't help.
--8<---------------cut here---------------end--------------->8---
Really? I’ve almost always used ‘dir_index’ in my Guix + NixOS days,
and IIRC store accesses were much slower before that was a thing.
On berlin, /gnu is a 37 TiB file system with ‘dir_index’ turned on and
it works well.
I don’t think we can claim there’s a design flaw. WDYT?
Ludo’.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#46905
; Package
guix
.
(Thu, 04 Mar 2021 22:29:01 GMT)
Full text and
rfc822 format available.
Message #11 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Tobias Geerinckx-Rice 写道:
> Mainly a reminder to myself to do so.
Update: I did a tiny bit of reading and came across the
‘large_dir’ feature, which (as described) mitigates this problem
somewhat.
Kind regards,
T G-R
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#46905
; Package
guix
.
(Thu, 04 Mar 2021 22:39:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 46905 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi Ludo'!
I should note that later in the IRC convo I corrected my sloppy
‘full’ to ‘hash collision’. Unfortunately it just returns an
already overloaded -ENOSPC to user space.
Ludovic Courtès 写道:
> IIRC store accesses were much slower before [dir_index] was a
> thing
Yes, it's a (t)horny dilemma :-/
> I don’t think we can claim there’s a design flaw. WDYT?
Fine; implementation flaw, then? Problem is, it's not like there
are other implementations than the one we're stuck with, so it
matters little what we call it.
Kind regards,
T G-R
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#46905
; Package
guix
.
(Mon, 08 Mar 2021 14:27:01 GMT)
Full text and
rfc822 format available.
Message #17 received at 46905 <at> debbugs.gnu.org (full text, mbox):
Hi,
Tobias Geerinckx-Rice <me <at> tobias.gr> skribis:
> I should note that later in the IRC convo I corrected my sloppy ‘full’
> to ‘hash collision’. Unfortunately it just returns an already
> overloaded -ENOSPC to user space.
OK, but when do we get ENOSPC, then?
> Ludovic Courtès 写道:
[...]
>> I don’t think we can claim there’s a design flaw. WDYT?
>
> Fine; implementation flaw, then? Problem is, it's not like there are
> other implementations than the one we're stuck with, so it matters
> little what we call it.
My point is that we shouldn’t suggest that ext4 + dir_index is flawed
or unsuitable for Guix use, because we have strong evidence suggesting
otherwise. :-)
Now, I agree that if there are bugs or limitations hit in some
situations, we should document (or fix) them.
WDYT?
Thanks,
Ludo’.
This bug report was last modified 3 years and 264 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.