[GSOC] HAMMER2 compression feature week3 report
daniel5555 at gmail.com
Sat Jul 6 08:45:02 PDT 2013
Here is my report for third week. This week I started to actually implement
LZ4 compression in HAMMER2 file system. To do so, I need to significantly
change writing and reading internal functions for cases when the
compression function is set. The reason is that the current write path and
read path are not prepared for compression of data inside them, so I'll
have to implement them differently. This will also help for the future
encryption function, because, I think, the same paths will serve for that
Currently I’m working on write path. It doesn't work at this point, because
I'm doing something really wrong and the system crashes, but hopefully I'll
will find what the problem is and fix it soon. For now it “assumes” that
the compression always fails and writes data as it is. Then I'll have to
implement a read path which, similarly, will “assume” that compression
failed and will simply read the data as it is.
When both paths will be implemented correctly, it should be very simple to
insert there the compression/decompression functions. At least, it should
Hopefully, during next week at some point I will have the write path
All the code related to this work is now in my repository, branch
I'll appreciate any suggestions and criticism.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Kernel