149299c7d5136a8fb425ef3cf8953026a1358002 |
|
11-Oct-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: Use check-local in Makefile.am instead of overriding check directly
This helps with dependency problems, like running "make check" in
lib-storage without "make" first would try to compile the test programs
too early and fail. |
78717e55d8c4b6528d1afe70505a19e4fcc0a56f |
|
08-May-2017 |
Phil Carmody <phil@dovecot.fi> |
lib-fs: unit tests for fs-api/fs-posix
A core component, really ought to be covered by the unit tests.
This barely scrapes the surface, but is better than nothing:
filesystem/files/iterators, read/write/exists, good and bad cases.
Signed-off-by: Phil Carmody <phil@dovecot.fi> |
edfd009103881de283e146609f691281aba150ae |
|
06-Jul-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-fs: Implement all lib-fs functions as wrappers to parent stream. |
b162e16ade1e0d9bfae62e366caf57a3132f5963 |
|
01-Jun-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-fs: Improved unit tests. |
b2ff0468c298dd2f525fff5977f1f24fba3a9f3b |
|
23-Apr-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-fs: Added initial fs-metawrap unit test. |
140afad728d78c56fb4c0256f94eb81a213688db |
|
23-Apr-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-fs: Added fs-test backend for helping with creation of fs-wrapper unit tests. |
1c244f6fdbb509cca857982368f5d426e999f2d1 |
|
15-Sep-2015 |
Timo Sirainen <tss@iki.fi> |
lib-fs: Track operation timing statistics if enable_timing setting is set. |
6c0d8dc7cad70a336b01bd1978b3eee84a63b3b7 |
|
31-Aug-2015 |
Timo Sirainen <tss@iki.fi> |
lib-fs: Added "dict" backend, which is a wrapper to using lib-dict. |
5a441a6d97225cbdc67dad7bdd80de3c7bfedaab |
|
16-Jun-2015 |
Timo Sirainen <tss@iki.fi> |
lib-fs: Added "randomfail" driver.
Using this in front of fs drivers allows randomly injecting failures. For
example:
mail_attachment_fs = randomfail:all=10,read=30,read-range=2000-3000:sis posix
This means that all FS operations have a 10% chance of failing, except reads
have a 30% chance of failing. If the read fails, it'll fail somewhere
between offsets 2000-3000 (the default is 0, so it'll fail at the start of
file).
The supported operations are: wait metadata prefetch read write lock exists
stat copy rename delete iter. "all" applies to all of them.
The supported ranges are: read-range, write-range, iter-range. |
3ee40ecd55d40fdb0214e73bf26f73c812b7c64f |
|
08-May-2015 |
Timo Sirainen <tss@iki.fi> |
Moved fs-compress from lib-fs to lib-compression.
This solves build ordering issues. |
d0c3964c88496a3c476a649c21f2abf8d81fd7ab |
|
07-May-2015 |
Timo Sirainen <tss@iki.fi> |
lib-fs: Added fs-compress wrapper.
Future TODO could include automatically detecting the format of the input
file, but this should be optional. |
5f5590347979d7860381116c2b3bda3eb42bce5c |
|
06-Nov-2013 |
Timo Sirainen <tss@iki.fi> |
lib-fs: Added istream-fs-file to lazily read from fs_file. |
51f750db859e62e2c58a61806b53e0adb13e0775 |
|
07-Apr-2013 |
Timo Sirainen <tss@iki.fi> |
Moved lib-fs/fs-test to "doveadm fs" command. |
b433ae56aac7e40a3997945576cfdc9c4df33ba0 |
|
19-Mar-2013 |
Timo Sirainen <tss@iki.fi> |
lib-fs: fs-test now sets the ssl_client_set.ca_dir |
deed0441882796b3d985ab867e96b9c56d9fc0d9 |
|
04-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
fs-metawrap: Delay writing the metadata headers until first data is written.
Also some other read/write fixes. |
84669c712403b742cc07ae70229725c486ef1235 |
|
21-Jan-2013 |
Timo Sirainen <tss@iki.fi> |
lib-fs: Added "metawrap" wrapper to implement metadata as headers in the file content. |
89a43b20d21343c2d7d6881a57a61995b5394ad4 |
|
01-Dec-2012 |
Timo Sirainen <tss@iki.fi> |
lib-fs: Added fs-test to easily test FS API calls. |
6e8fce0589289d10e6dcd9b71fde763492bb29b8 |
|
26-Nov-2012 |
Timo Sirainen <tss@iki.fi> |
lib-fs: Automatically try to load missing driver as plugin. |
c33d3f93abf8392fdc60e12bea41ffd12cc85a8d |
|
19-Oct-2010 |
Timo Sirainen <tss@iki.fi> |
Added lib-fs for simple filesystem accessing. Implemented POSIX, SiS and SiS-queue backends. |