|
From: Michal L. <mi...@lo...> - 2006-09-17 10:39:51
|
Hi guys,
> just let me know when you have something commited so I can
> give it some nice testing.
Earlier today I have committed a huge patchset (and a few followups)
that turn mysqlfs into a pretty good shape. Needless to say the DB
schema changed again - however no migration tools are provided as I
don't believe anyone has any valuable data on it yet ;-)
I'm quite confident the code as of now is ready for releasing as
mysqlfs-0.3 however some testing from others will be helpful. I was able
to compile openssl-0.9.8b from tarball on the filesystem. It took good
45 minutes but compiled without problems ;-)
Some known issues:
- no permissions checking - everything is allowed
- connection pooling needs some improvements because when it runs out of
connections it triggers a hard error (not good)
This is from ChangeLog:
2006-09-13 Michal Ludvig <mi...@lo...>
* Splitted table fs into a separate table for directory
tree and a table for inodes. This triggered radical
changes to most parts of the source. However now it's
possible to have hardlinks, delayed unlink and some other
sweeties difficult or impossible to implement with
the previous scheme.
* open() stores inode number in fi->fh and read(), write()
release() and some other functions use that instead
of translating path name to inode every time.
* Updated schema.sql for the new DB layout. No transition
tools from the previous schema are provided because I don't
believe anyone has any valuable data in their FS ;-) If you
do, tar them up, upgrade and untar back again.
* Started migrating the FS logic to mysqlfs.c. In the future
query.c will only have query primitives and we'll perhaps
have query.c files for other DBs as well (Oracle,
PostgreSQL, ...)
* Increased default connection pool to 25 conns.
* Added some plans to TODO list.
* Implemented link(), chown().
* Fixed truncate().
Enjoy and report any reproducible problems ;-)
Michal
|