Skip to content

Commit dbd3405

Browse files
authored
Add files via upload
0 parents  commit dbd3405

37 files changed

+48079
-0
lines changed

AUTHORS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Tsukasa Hamano <[email protected]>
2+
Michal Ludvig <[email protected]> http://www.logix.cz/michal

COPYING

Lines changed: 340 additions & 0 deletions
Large diffs are not rendered by default.

ChangeLog

Lines changed: 123 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,123 @@
1+
2008-04-10 Florian Wiessner <[email protected]>
2+
* Updated pool.h
3+
4+
2008-04-10 Florian Wiessner <[email protected]>
5+
* Added fsck support in query.c
6+
* Added -ofsck=1 switch to mysqlfs, fsck is only done when
7+
-ofsck=1 is set on commandline.
8+
* Updated TODO File
9+
10+
2008-04-09 Michal Ludvig <[email protected]>
11+
12+
* Migrated from CVS to SVN
13+
14+
2007-03-29 Michal Ludvig <[email protected]>
15+
16+
* Update NEWS and configure.in to release 0.4.0-rc1
17+
18+
2007-03-29 Michal Ludvig <[email protected]>
19+
20+
* Reworked data storage. Instead of one huge record
21+
for each file in table "data" we now store the data
22+
in 4kB chunks (a.k.a. "sectors" or "blocks"). That
23+
speeds up especially updates to files a _lot_ :-)
24+
As a side effect it allows for storing "sparse" files.
25+
CAUTION: database schema has changed in this version!
26+
27+
2006-10-03 Michal Ludvig <[email protected]>
28+
29+
* Updated version to 0.3.1
30+
* Added schema.sql to the distribution tarball. Oops!
31+
32+
2006-09-23 Michal Ludvig <[email protected]>
33+
34+
* Updated version to 0.3
35+
* Updated auxiliary files (README, TODO, ...)
36+
37+
2006-09-23 Michal Ludvig <[email protected]>
38+
39+
* Create root directory on startup if it doesn't exist.
40+
* Changed timestamp fields in 'inodes' table to 'int
41+
unsigned' to avoid conversion between MYSQL timestamp and
42+
Unix timestamp in a number of queries.
43+
* Updated schema.sql. Now with autocreating '/' it's enough
44+
to use 'mysqldump -d' i.e. dump just the schema without
45+
data.
46+
47+
2006-09-17 Michal Ludvig <[email protected]>
48+
49+
* pool.c: Rewritten from scratch. It doesn't have a limit
50+
on open connections anymore and instead creates new ones
51+
on request. Returned connections are not immediately
52+
closed, instead put into a LIFO-type stack and reused
53+
later. Maximum number of connections idling on the stack
54+
can be set as well as the initial number of connections
55+
opened on start.
56+
This rewrite triggered search-and-replace changes
57+
in mysqlfs.c (no more MYSQL_CONN type). Instead I return
58+
the connection itself (MYSQL*) though typed as (void*) -
59+
probably not the best choice. The intent was to
60+
prepare for support of other DBs. It works for now but
61+
I'll likely rewrite or improve this later ;-)
62+
63+
2006-09-15 Michal Ludvig <[email protected]>
64+
65+
* Enable reconnect when mysql connection gone away.
66+
67+
2006-09-13 Michal Ludvig <[email protected]>
68+
69+
* Splitted table fs into a separate table for directory
70+
tree and a table for inodes. This triggered radical
71+
changes to most parts of the source. However now it's
72+
possible to have hardlinks, delayed unlink and some other
73+
sweeties difficult or impossible to implement with
74+
the previous scheme.
75+
* open() stores inode number in fi->fh and read(), write()
76+
release() and some other functions use that instead
77+
of translating path name to inode every time.
78+
* Updated schema.sql for the new DB layout. No transition
79+
tools from the previous schema are provided because I don't
80+
believe anyone has any valuable data in their FS ;-) If you
81+
do, tar them up, upgrade and untar back again.
82+
* Started migrating the FS logic to mysqlfs.c. In the future
83+
query.c will only have query primitives and we'll perhaps
84+
have query.c files for other DBs as well (Oracle,
85+
PostgreSQL, ...)
86+
* Increased default connection pool to 25 conns.
87+
* Added some plans to TODO list.
88+
* Implemented link(), chown().
89+
* Fixed truncate().
90+
91+
2006-09-07 Michal Ludvig <[email protected]>
92+
93+
* Read default MySQL options from one of my.cnf files.
94+
Subsequently don't require the connect options
95+
on the command line.
96+
97+
2006-09-06 Michal Ludvig <[email protected]>
98+
99+
* Check for MySQL version both in configure.in and
100+
when actually connecting the server.
101+
* Fixed a few minor omissions. Now it should run again
102+
even on other machines than my one ;-)
103+
104+
2006-09-04 Michal Ludvig <[email protected]>
105+
106+
* Fixed write() to actually do what a decent write() is
107+
supposed to do.
108+
* Pulled 'data' column to a separate table.
109+
* Implemented truncate(), symlink(), readlink()
110+
* Implemented limited rename() only for regular files
111+
* Added better logging infrastructure, converted
112+
all plain printf() calls to log_printf()
113+
* Removed autogenerated files from CVS.
114+
* Various cleanups and improvements on autoconfig front.
115+
* Minor cleanups here and there.
116+
117+
2006-07-23 Tsukasa Hamano <[email protected]>
118+
119+
* Released 0.2
120+
121+
2006-06-08 Tsukasa Hamano <[email protected]>
122+
123+
* Released 0.1

Makefile.am

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# $Id: Makefile.am,v 1.4 2006/10/02 22:34:03 ludvigm Exp $
2+
3+
bin_PROGRAMS = mysqlfs
4+
schema_DATA = schema.sql install.sql
5+
schemadir = $(datadir)/$(distdir)
6+
7+
# because the source is not in a subdir, we cannot just put the tests in a SUBDIRS= :(
8+
check-recursive : mysqlfs
9+
10+
EXTRA_DIST = $(schema_DATA) mysqlfs.spec
11+
12+
SUBDIRS = tests-autotest
13+
14+
mysqlfs_SOURCES = mysqlfs.c query.c pool.c log.c
15+
16+
noinst_HEADERS = mysqlfs.h query.h pool.h log.h
17+
18+
if DO_DOXYGEN
19+
doc: Doxyfile pkg/doc-mainpage.c
20+
$(DOXYGEN)
21+
22+
doc-website: doc
23+
rsync -avP -e ssh htdocs/html chickenandporn,@PACKAGE_NAME@@frs.sourceforge.net:htdocs
24+
endif
25+
26+
if DO_RPMBUILD
27+
release = $(rpm --query --queryformat="%{RELEASE}\n" --specfile @[email protected] |head -1)
28+
rpm: dist-bzip2 @[email protected]
29+
$(RPMBUILD) -ta $(distdir).tar.bz2
30+
endif
31+

0 commit comments

Comments
 (0)