* bug#46905: Add a note about ext4's dir_index to the manual
@ 2021-03-03 21:08 Tobias Geerinckx-Rice via Bug reports for GNU Guix
2021-03-04 22:01 ` Ludovic Courtès
2021-03-04 22:28 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
0 siblings, 2 replies; 5+ messages in thread
From: Tobias Geerinckx-Rice via Bug reports for GNU Guix @ 2021-03-03 21:08 UTC (permalink / raw)
To: 46905
[-- Attachment #1: Type: text/plain, Size: 236 bytes --]
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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#46905: Add a note about ext4's dir_index to the manual
2021-03-03 21:08 bug#46905: Add a note about ext4's dir_index to the manual Tobias Geerinckx-Rice via Bug reports for GNU Guix
@ 2021-03-04 22:01 ` Ludovic Courtès
2021-03-04 22:38 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
2021-03-04 22:28 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
1 sibling, 1 reply; 5+ messages in thread
From: Ludovic Courtès @ 2021-03-04 22:01 UTC (permalink / raw)
To: Tobias Geerinckx-Rice; +Cc: 46905
Hi!
Tobias Geerinckx-Rice <me@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’.
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#46905: Add a note about ext4's dir_index to the manual
2021-03-03 21:08 bug#46905: Add a note about ext4's dir_index to the manual Tobias Geerinckx-Rice via Bug reports for GNU Guix
2021-03-04 22:01 ` Ludovic Courtès
@ 2021-03-04 22:28 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
1 sibling, 0 replies; 5+ messages in thread
From: Tobias Geerinckx-Rice via Bug reports for GNU Guix @ 2021-03-04 22:28 UTC (permalink / raw)
To: 46905
[-- Attachment #1: Type: text/plain, Size: 242 bytes --]
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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#46905: Add a note about ext4's dir_index to the manual
2021-03-04 22:01 ` Ludovic Courtès
@ 2021-03-04 22:38 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
2021-03-08 14:26 ` Ludovic Courtès
0 siblings, 1 reply; 5+ messages in thread
From: Tobias Geerinckx-Rice via Bug reports for GNU Guix @ 2021-03-04 22:38 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: 46905
[-- Attachment #1: Type: text/plain, Size: 595 bytes --]
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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#46905: Add a note about ext4's dir_index to the manual
2021-03-04 22:38 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
@ 2021-03-08 14:26 ` Ludovic Courtès
0 siblings, 0 replies; 5+ messages in thread
From: Ludovic Courtès @ 2021-03-08 14:26 UTC (permalink / raw)
To: Tobias Geerinckx-Rice; +Cc: 46905
Hi,
Tobias Geerinckx-Rice <me@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’.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2021-03-08 14:27 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-03 21:08 bug#46905: Add a note about ext4's dir_index to the manual Tobias Geerinckx-Rice via Bug reports for GNU Guix
2021-03-04 22:01 ` Ludovic Courtès
2021-03-04 22:38 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
2021-03-08 14:26 ` Ludovic Courtès
2021-03-04 22:28 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.