NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/47739: tmpfs panic: kernel diagnostic assertion "(node)->tn_spec.tn_dir.tn_readdir_lastp == NULL..."



The following reply was made to PR kern/47739; it has been noted by GNATS.

From: David Holland <dholland-bugs%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: kern/47739: tmpfs panic: kernel diagnostic assertion
 "(node)->tn_spec.tn_dir.tn_readdir_lastp == NULL..."
Date: Fri, 11 Oct 2013 08:03:11 +0000

 On Wed, Oct 09, 2013 at 09:27:38PM +0100, David Laight wrote:
  > > Four and a half years ago (in PR 41068) I asked why tmpfs does this
  > > nonsense instead of just assigning sequence numbers to each node.
  > > Nobody has ever managed to come up with a coherent justification, just
  > > FUD.
  > 
  > If it assigned sequence numbers it would have to check for already used
  > values once it had created 2^32 entries (assuming it needs to generate
  > 32bit offsets).
 
 ... so once you've cycled 2^32 entries through a directory, which is
 in general "never", you compact it. Big deal...
 
 -- 
 David A. Holland
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index