Zbr's days.

About :: TODO :: Blog :: RSS :: Old blog :: Projects :: GIT :: Gallery :: Notes

Fri, 18 Jan 2008

POHMELFS got initial writing support.

$ ls -l /mnt/tmp/
total 0
$ echo asdasdasdzxczxczxcqeqweqwe > /mnt/tmp/test 
$ sync
$ ls -l /mnt/tmp/
total 0
-rw-r--r-- 1 zbr users 27 Jan 18 22:29 test
$ cat /mnt/tmp/test 
asdasdasdzxczxczxcqeqweqwe
$ mount | grep pohmel
qweqwe on /mnt type pohmel (rw)
The same data in on server, and it was only written there after sync was executed, i.e. exactly in ->writeback() callback and thus via page cache.
I will describe it in details in the next post.

To be completed (simnple!) FS I have to implement inode operations for special files and link support, both are quite simple (and probably can be postponed), the most interesting idea I have to think about is metadata caching (so far it is write-through cache, which is not optimal, I want write-back one).

Next complex task is cache coherency algorithms. It will be started after testing (including performance) of the initial POHMELFS implementation withouth cache coherency involved at all.

Stay tuned!

/devel/fs :: Link / Comments ()