Re: busy bitmaps and race conditions

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Fri, 26 May 2000 09:14:47 +0200

Adrian Chadd wrote:
>
> While going through diskd, ufs and aufs I've noticed that the async
> unlinks aren't taken into consideration when choosing a new (free)
> bit. I can't see this being too much of a problem in normal use
> but there's a possibility for a race condition if you are running out
> of free bits.
>
> Am I missing something here?

This is to avoid a race condition where the file is reused while being
removed.

The bitmap grows itself if needed (or am I completely lost what bitmap
you are talking about?), so there shouldn't be any race condition there.

/Henrik
Received on Fri May 26 2000 - 02:32:59 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:12:26 MST