From: Stef B. <st...@bo...> - 2008-03-05 16:58:48
|
Hello, earlier I've posted a message in this list. I've mentioned the "multithreading (im)possibilities" of mysqlfs. I thought mysqlfs does not support multithreading. Just recent I've discovered that it does. At least, it's possible to make use of the same mountpoint by more users the same time. I would like to investigate it's possible to add support for "maintaining versions of files and directories". I think this is very possible because it's in a database. But first I'm trying to understand how mysqlfs works. So I've got some questions. If anyone would be so kind to answer them. First the overwriting of a file by another smaller one. This makes (if both files differ much in size and both are big enough) that datablocks will be deleted. I've been searching the sourcecode, but cannot find out how this works exactly. So before a file is written, there should be a procedure which checks the file already exits, and removes the datablocks which will not be used. Is this right? If so, where can I find this in the sourcecode? Stef Bon |