[haiku-development] Re: openbefs allocation groups

  • From: "Jonas Sundström" <jonas@xxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Sun, 11 Jan 2009 16:12:54 +0100 CET

"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? )

While waiting for someone skilled in BFS to answer,
here's hopefully a pointer in the right direction:

AllocationGroup class:
http://svn.berlios.de/svnroot/repos/haiku/haiku/trunk/src/add-ons/kernel/file_systems/bfs/BlockAllocator.cpp

BFS:
http://svn.berlios.de/svnroot/repos/haiku/haiku/trunk/src/add-ons/kernel/file_systems/bfs/

Kernel fs interface:
http://svn.berlios.de/svnroot/repos/haiku/haiku/trunk/src/system/kernel/fs/

The book:
http://www.letterp.com/~dbg/practical-file-system-design.pdf

/Jonas.


Other related posts: