[haiku-development] Re: openbefs allocation groups

  • From: "Diego ." <eljedi@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Mon, 12 Jan 2009 11:03:34 +0100

Thanks for the answears!!

I know a.g. are only soft structs, that's why i ask if you create them when
loading the FS drivers ( or mounting ) or when they are created.

I will take a close look to the code!

thanks!!

On Sun, Jan 11, 2009 at 7:31 PM, Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>wrote:

> "Diego ." <eljedi@xxxxxxxxx> wrote:
> > I'm trying to implement write spport for linux befs port and I got
> > some a
> > doubt about allocations groups:
> > As they doesn't exist on disk.. how you menage them? One soft struct
> > for
> > every alloc group on memory ?( may thousands of them? ) or you create
> > them
> > on the fly? ( and then cache? )
>
> I guess the block allocator source file will help you the most
> actually. Basically the allocation groups are mostly a software only
> thing, at least beyond their occurence in the block run structure.
>
> You could also use the existing Haiku source as a base, and port that
> to FUSE; C++ will make this welcome effort much easier :-)
>
> Bye,
>    Axel.
>
>
>

Other related posts: