Subject: Re: pkg/31944
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Christos Zoulas <christos@zoulas.com>
List: netbsd-bugs
Date: 03/07/2006 15:40:02
The following reply was made to PR kern/31944; it has been noted by GNATS.

From: christos@zoulas.com (Christos Zoulas)
To: Jason Thorpe <thorpej@shagadelic.org>
Cc: gnats-bugs@netbsd.org, kern-bug-people@netbsd.org,
	gnats-admin@netbsd.org, netbsd-bugs@netbsd.org,
	yamt@mwd.biglobe.ne.jp
Subject: Re: pkg/31944
Date: Tue, 7 Mar 2006 10:36:38 -0500

 On Mar 7,  7:02am, thorpej@shagadelic.org (Jason Thorpe) wrote:
 -- Subject: Re: pkg/31944
 
 | 
 | On Mar 7, 2006, at 6:38 AM, Christos Zoulas wrote:
 | 
 | > just keep a global generation number counter and use it to allocate  
 | > generation
 | > numbers.
 | 
 | Except you would have to increment it each time an inode is  
 | allocated, because you don't know what the inode's last generation  
 | was.  That will run out pretty quickly, because it's a 32-bit counter.
 | 
 | The map sounds like a good enough idea for now.
 | 
 | OTOH, if the metadata were pageable.... :-)
 | 
 | -- thorpej
 
 Right, but it does not matter. The probability that the same generation
 number gets allocated to the same inode is miniscule.
 
 christos