30.07.2013 Views

Development and Implementation of a File System for Gannet Virtual ...

Development and Implementation of a File System for Gannet Virtual ...

Development and Implementation of a File System for Gannet Virtual ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

3.2.2 <strong>File</strong> Allocation<br />

As discussed on previous chapter, <strong>Gannet</strong>FS file system is designed to use multilevel<br />

indexed file allocation. There<strong>for</strong>e, <strong>Gannet</strong>FS uses metadata as representation files<br />

that reside within file system. The metadata stores all in<strong>for</strong>mation about a file. The<br />

design <strong>of</strong> metadata <strong>for</strong> <strong>Gannet</strong>FS file system is inherited from UNIX’s metadata<br />

which is represented with inode data structure (Thompson 1978, McKusick et al.<br />

1996). In recent years, inode data structure has evolved through many generations<br />

<strong>and</strong> it has slightly different compared to the original inode design (McKusick et al.<br />

1984; Card et al. 1994). However, <strong>Gannet</strong>FS inode data structure is very different<br />

with others inode as <strong>Gannet</strong>FS inode is designed to be space efficient.<br />

3.2.2.1 Inode Data Structure Design<br />

<strong>Gannet</strong>FS inode data structure represents an object within file system. This data<br />

structure maintains all the in<strong>for</strong>mation about a file. It records in<strong>for</strong>mation such as<br />

the size, description <strong>and</strong> actual address <strong>of</strong> a file. The last one is the most important<br />

in<strong>for</strong>mation about where the data lies on memory, as it is then possible to locate all<br />

the blocks <strong>of</strong> the file. <strong>Gannet</strong>FS inode is shown as figure below.<br />

26

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!