Skip to content

Commit 526454b

Browse files
committed
Modified README
1 parent aa85838 commit 526454b

File tree

1 file changed

+16
-12
lines changed

1 file changed

+16
-12
lines changed

README

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,26 @@
22

33
What is it ?
44
--------------
5+
A Log Structured Filesystem is a technique for disk storage management in which all the file writes are written sequentially in a log-like structure. A log consists of a series of segments where each segment contains both data and inode blocks. A log structured file system gathers a segment worth of data in memory and appends the segment at the end of the log. This improves the write performance while maintaining the same read performance.
56

6-
We have implemented log structured file system at user level using FUSE (File system at User space). A Log Structured Filesystem is a technique for disk storage management in which all the file writes are written sequentially in a log-like structure. A log consists of a series of segments where each segment contains both data and inode blocks. A log structured file system gathers a segment worth of data in memory and appends the segment at the end of the log. This improves the write performance while maintaining the same read performance.
7+
This has been implemented at user level using FUSE(Filesystem at User Space).This basic implementation of LFS creates only files. The concept of directories can be added which is very similar to that of normal file system.
78

8-
Documentation
9-
-------------------
109

11-
The detailed description of the project is provided in the file project_doc.txt
10+
Files and Naming Conventions:
11+
--------------------------------------------
12+
The code for the LFS consist of following src files
1213

14+
1. Makefile : Makefile is used to direct the compilation of the code.
15+
16+
2. lfs.c and lfs.h :
17+
The code implementing the log structured filesystem is present in lfs.c. Every function defined in this file starts with lfs_. The open,read,write,create,unlink,getattr and readdir functionalities have been implemented.
18+
19+
3. inode.h, segment.h and segment.c
20+
These contain the declarations and definitions of structures that represent inode and segment summary along with the methods used to read and write segment to the log.
21+
22+
4. cleaner.c and cleaner.h
23+
The cleaner function is invoked to reclaim the holes created in the log by compacting the live data and freeing segments that can be resused again.
1324

14-
Implementation:
15-
--------------------
1625

1726
Installation of FUSE:
1827
--------------------------
@@ -71,13 +80,8 @@ $ fusermount -u /tmp/fuse ; rm -f ./lfslog ; \rm -rf /tmp/fuse ; mkdir /tmp/fus
7180
$ ./lfs /tmp/fuse
7281

7382

74-
The description and testing of LFS and how to run the test cases, is specified in project_doc.txt.
7583

76-
Authors :
84+
Author :
7785
------------
7886

7987
Sphurti Sortur
80-
ID : 108305157
81-
82-
Yasaswi Chamarthi
83-
ID : 108298510

0 commit comments

Comments
 (0)