ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/IO-AIO/Changes
(Generate patch)

Comparing IO-AIO/Changes (file contents):
Revision 1.22 by root, Sun Jul 31 18:45:49 2005 UTC vs.
Revision 1.120 by root, Wed May 9 06:45:12 2007 UTC

1Revision history for IO::AIO 1Revision history for IO::AIO
2 2
31.1 3TODO: better autoconf.pm that can return LIBS etc.
4TODO: aio_cptree/mvtree
5TODO: aio_utime, aio_chmod, aio_chown? should simply stat/open first?
6TODO: reduce condvar fairness: schedule hot-cache-threads first?
7TODO: fix setsig
8
9 - shared code between BDB and IO::AIO.
10
112.33 Tue Jan 23 23:55:41 CET 2007
12 - fix install path (Andreas J. Koenig).
13
142.32 Mon Jan 22 16:56:23 CET 2007
15 - added aio_rmtree.
16 - wow, aio_mkdir was missing.
17 - aio_load did return undef on error, not -1.
18 - use prefixexp not prefix in autoconf.pm
19 (suggested by ... rt.cpan.org unreachable).
20 - avoid installing autoconf.pm.
21
222.31 Sat Jan 6 03:46:02 CET 2007
23 - added aio_load.
24
252.3 Sat Dec 23 05:48:07 CET 2006
26 - fix off-by-one bug in aio_read, causing memory corruption
27 or crashes.
28
292.21 Fri Dec 22 05:03:38 CET 2006
30 - minor doc updates.
31 - minor cleanups.
32 - IO::AIO::poll returns request count.
33 - undocumented and unfinished async-signal-reporting.
34
352.2 Tue Oct 31 00:31:00 CET 2006
36 - minor doc updates.
37 - added aio_readlink.
38 - properly zero-terminate aio_read buffer.
39 - fix aio_read/write with nonzero dataoffset.
40 - reduced size of aio request structure.
41 - better diagnostics when pathnames etc. are not byte-encoded;
42 do not leak request in that case, either.
43
442.1 Sun Oct 29 02:01:57 CET 2006
45 - INCOMPATIBLE CHANGE: replace IO::AIO::poll_some by
46 IO::AIO::max_poll_reqs and IO::AIO::max_poll_time.
47 - fix a bug in aio_move where it would fail everytime
48 it would have to copy files manually.
49 - doc updates.
50 - start threads only on (very low) demand.
51 - end superfluous threads automatically after 10s idling.
52 - add IO::AIO::max_idle to control this.
53 - some tuning applied to random places.
54 - add aio_mknod.
55
562.0 Thu Oct 26 18:27:58 CEST 2006
57 - minor incompatibility: max_outstanding semantics have changed.
58 - major rewrite, consider all functionality EXPERIMENTAL.
59 - aio requests can be cancelled.
60 - callbacks can be (re-)set later.
61 - aio requests can choose between 9 priorities.
62 - add aio_group: aio requests can be grouped
63 into composite requests.
64 - generator interface for groups.
65 - add IO::AIO::poll_some.
66 - major documentation improvements.
67 - very minor bugfixes.
68 - add aio_nop for dummy requests.
69 - add aio_busy mainly for benchmarking and debugging.
70 - use "fast" mutexes on linux.
71 - use dynamic (and larger) buffers instead of
72 putting them onto the stack.
73 - optimise x86 and amd64 a bit.
74 - better error checking when ENOMEM.
75 - hopefully fix mem and dirp leaks on fork.
76 - warn about broken perl malloc.
77 - compiles on cygwin (but pread is broken on cygwin
78 which is not detected by autoconf, so you have to
79 edit autoconf/config.h yourself to enable emulation).
80
811.8 Sat Jun 24 22:20:44 CEST 2006
82 - add and/or document aio_rename, aio_link, aio_symlink and aio_move.
83
841.73 Wed Mar 1 22:49:32 CET 2006
85 - codename "jost"
86 - AIX/Solaris(?) aren't being helpful again, hardcode a value
87 for NAME_MAX and drive with your eyes closed (reported by
88 wcooley@nakedape.cc).
89
901.72 Thu Feb 2 00:40:44 CET 2006
91 - another minor bug in aio_scandir, again, the callback was called
92 twice when the directory can't be stat'ed.
93
941.71 Mon Dec 26 20:20:03 CET 2005
95 - grr, another minor bug in aio_scandir, this time resulting
96 in a runtime error.
97
981.7 Mon Dec 26 19:29:48 CET 2005
99 - aio_scandir errornously called callback twice in some cases.
100 - added AnyEvent example.
101
1021.61 Wed Sep 7 19:40:42 CEST 2005
103 - no longer include $Config{libs}, as distros include too much
104 garbage in there that is not installed on typical systems
105 (for example, debian links perl against -lgdbm and many more
106 libraries despite perl not needing it, slowing down startup and
107 wasting memory).
108
1091.6 Tue Aug 30 17:44:44 CEST 2005
110 - added aio_readdir, aio_scandir.
111 - added aio_sendfile, including sendfile emulation when sendfile
112 isn't available. Linux, FreeBSD and HP-UX might work (sendfilev
113 support is unavailable on my solaris 8 machine, but preliminary
114 code is there. What's lacking is configury stuff and testing...).
115
1161.5 Sat Aug 20 02:32:19 CEST 2005
117 - create the aio threads on demand only (good after forking).
118 - somebody nagged about C89 compatibility, so this release should
119 be C89 compatible, but no guarantees for future ones.
120 - abort when the configure script fails.
121
1221.4 Wed Aug 17 08:07:27 CEST 2005
123 - forgot to recreate the pipe after forking, this could cause
124 deadlocks.
125
1261.3 Wed Aug 17 07:25:54 CEST 2005
127 - properly propagate exceptions from callbacks, instead of silently
128 eating them.
129 - use a different fork algorithm that avoids recursive callback
130 invocations and reduces fork latency in busy processes.
131 - fix a bug where the buffer scalar in aio_read got assigned the wrong
132 length after reading.
133 - fix a bug where the child would process some outstanding requests
134 from the parent.
135 - make a copy of the callback scalar, to avoid some very uncommon
136 (but valid) usages where the callback scalar changes.
137 - the callback was never freed in aio_read/aio_write.
138 - aio_read/aio_write will now set the readonly flag on the data
139 scalar for better error reporting.
140
1411.2 Wed Aug 17 01:22:58 CEST 2005
142 - verified on cygwin, linux/amd64+ia32+alpha, solaris.
143 - use SvPVbyte for filenames now. You *need* to encode your strings to
144 the external filename encoding first.
145 - fix the bug where filehandles could leak (again).
146 - clarify freebsd situation: make it work and tell me how, or go away
147 with your underdocumented, broken and outdated OS.
148 - fork'ing should now be officially supported (where linux and
149 posix contradict each other, I followed posix).
150 - only call read() once per poll, not twice (speedup).
151 - new functions: aio_rmdir, aio_symlink.
152 - force callback arguments to be undef or a reference, for better
153 error catching.
154
1551.1 Sun Aug 7 05:27:23 CEST 2005
4 - added configure script to detetc availability of some calls. 156 - added configure script to detect availability of some calls.
157 (imperfect, as we cannot detect things like -lrt due to missing
158 feedback yet).
5 - emulate fdatasync by fsync, pread/pwrite by unsafe read/write 159 - emulate fdatasync via fsync, pread/pwrite via unsafe read/write
6 and readahead by manual reading on platforms lacking those. 160 and readahead via manual reading on platforms lacking those.
7 - ported t/03_errors.t+framework by Brad Fitzpatrick 161 - ported t/03_errors.t+framework by Brad Fitzpatrick
8 from Linux::AIO. 162 from Linux::AIO.
9 - removed XOPEN_SOURCE because stupid solaris 9 doesn't 163 - removed XOPEN_SOURCE because stupid solaris 9 doesn't
10 compile with it enabled. Probably breaks others. Oh well. 164 compile with it enabled. Probably breaks others. Oh well.
165 - try to be more careful with errno on non-threaded perls.
166 - cygwins perl insisted on a matching open mode when morphing
167 the fd to an fh.
168 - convert sv's to "byte" encoding in aio_read/aio_write. Might
169 do that for pathnames, too, in the future, so make sure you
170 properly encode your pathnames.
11 171
121.0 Fri Jul 22 10:43:30 CEST 2005 1721.0 Fri Jul 22 10:43:30 CEST 2005
13 - aio_open did not reliably deliver (open) filehandles. 173 - aio_open did not reliably deliver (open) filehandles.
14 - all aio_*-functions keep a reference to the filehandle so 174 - all aio_*-functions keep a reference to the filehandle so
15 it doesn't go away while the aio requests is working on it. 175 it doesn't go away while the aio requests is working on it.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines