Why list negative children?
Why list negative children?
Posted Jul 4, 2026 20:10 UTC (Sat) by neilbrown (subscriber, #359)Parent article: Limiting negative dentries
I thought keeping negatives at the end of the child list would be good too, until I looked at the code.
The children list is an hlist so there is only a pointer to head, not to tail. So you can only add to the head.
The children list is an hlist so there is only a pointer to head, not to tail. So you can only add to the head.
So next thought: why put negative dentries on the children list at all? I cannot think of any good reason.
Leaving them off wouldn't solve all the problems, but it would solve one important one.
