From: Michal L. <mi...@lo...> - 2008-03-06 10:34:06
|
Stef Bon wrote: > Michal Ludvig wrote: >> have a look at mysqlfs_truncate() in mysqlfs.c and query_truncate() in >> query.c. These two ensure that the non-used blocks are removed. > > Ok I've found these functions. Are they called by Fuse, cause I did not > find where this truncate > will be done. Yes, mysqlfs_truncate is called by fuse, or more precisely, by the kernel. Recompile with debugging on and you'll get a log message for each function called. Then you will get a picture of the workflow. Michal |