bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #17321] PATCH: Support for MINIX v2 filesystem


From: Yann Droneaud
Subject: [bug #17321] PATCH: Support for MINIX v2 filesystem
Date: Fri, 1 Sep 2006 14:44:05 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.7

Follow-up Comment #1, bug #17321 (project grub):

New version of the patch.

Improved file read on MINIX 2 filesystem:
  Added the cache on fs meta data (inode, direntry, map) removed during Minix
v1 to Minix v2 conversion.
  
This cache is handled in minix_rdfsb() function.
minix_rdfsb() return now a pointer to the block cache buffer allocated for
the block.

Calling function must specify which cache zone to use between :

    BLOCK_CACHE_SUPERBLOCK
    BLOCK_CACHE_INODE
    BLOCK_CACHE_DIR
    BLOCK_CACHE_MAP0
    BLOCK_CACHE_MAP1
    BLOCK_CACHE_MAP2

For each zone, only one block is allocated in FSYS_BUF (dealing the cache
locality, priority is simpler: no need to define a cache strategy).
Each level of indirection is stored in it's own cache zone. The final map
table is always store in zone MAP0.




    _______________________________________________________

Additional Item Attachment:

File name: patch-grub-0.97-minix2-cache.diff Size:26 KB
Add MINIX v2 filesystem module (with meta data cache)
<http://savannah.gnu.org/bugs/download.php?file_id=10661>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?17321>

_______________________________________________
  Message posté via/par Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]