Subject: Re: pkg/31944
To: Jason Thorpe <firstname.lastname@example.org>
From: Christos Zoulas <email@example.com>
Date: 03/07/2006 10:36:38
On Mar 7, 7:02am, firstname.lastname@example.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.