Subject: Re: pkg/31944
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Jason Thorpe <thorpej@shagadelic.org>
List: netbsd-bugs
Date: 03/07/2006 15:05:03
The following reply was made to PR kern/31944; it has been noted by GNATS.
From: Jason Thorpe <thorpej@shagadelic.org>
To: christos@zoulas.com (Christos Zoulas)
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 07:02:59 -0800
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