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

Comparing IO-AIO/Changes (file contents):
Revision 1.75 by root, Sun Oct 22 21:13:47 2006 UTC vs.
Revision 1.223 by root, Sun Jan 10 23:10:59 2010 UTC

1Revision history for IO::AIO 1Revision history for IO::AIO
2 2
3TODO: better autoconf.pm that can return LIBS etc. 3TODO: better autoconf.pm that can return LIBS etc.
4TODO: use feeder for aio_scandir. 4TODO: aio_cptree/mvtree
5TODO: reduce condvar fairness: schedule hot-cache-threads first?
6TODO: splice/tee/vmsplice? (http://kerneltrap.org/node/6505 http://lwn.net/Articles/178199/)
7TODO: aio_fcntl, at least for file-locking
8TODO: fallocate, if it wouldn't be so useless.
9TODO: aio_mincore?
5 10
62.0 11 - (libeio) more fixes for the freebsd/apple sendfile - broken by
12 manpage standards, but apparently correct accoridng to actual
13 kernel sources.
14 - add IO::AIO::mmap/munmap support.
15 - add IO::AIO::m(un)lockall support.
16 - clean up manpage.
17
183.5 Thu Jan 7 21:25:04 CET 2010
19 - (liebio) fix freebsd sendfile (Vanilla Hsu).
20 - (libeio) also fix darwin sendfile that suffered from a similar bug.
21 - add aio_statvfs as interface to statvfs/fstatvfs.
22 - work around buggy symlink() on cygwin in the testsuite.
23 - wtf. freebsd-8.0 actually passes the testsuite! I knew
24 they could implement fork and semaphores one day! cheers!
25
263.4 Sat Jan 2 15:13:04 CET 2010
27 - (libeio) max_poll_time was not properly converted to ticks.
28 - clarify cancel_subs description.
29 - IO::AIO::sendfile did not actually return the return value
30 from the sendfile call.
31 - implement aio_msync, aio_mtouch.
32 - (libeio) tentatively support darwin in sendfile.
33
343.31 Thu Nov 12 02:14:29 CET 2009
35 - fix result status documentation of aio_copy, aio_move.
36 - speed up object creation considerably by avoiding
37 hash lookups.
38
393.3 Wed Aug 5 13:52:58 CEST 2009
40 - use common::sense.
41 - use common schmorp.h header.
42 - allow integers (file descriptors) in addition to file handles.
43 - take advantage of linux' eventfd (but it seems slower on smp?).
44 - use poll not select on posix platforms.
45
463.261 Wed Jul 1 10:11:51 CEST 2009
47 - more 0S X workarounds (patch by Tokuhiro Matsuno).
48
493.26 Tue Jun 30 09:33:26 CEST 2009
50 - 0S X of course claims to be posix 2008 but lacks posix_fadvise.
51 try to work around this horribly broken OS in a somewhat hackish
52 way. might help other os's too.
53
543.25 Sat Jun 27 05:18:26 CEST 2009
55 - added IO::AIO::fadvise and IO::AIO::sendfile.
56 - (libeio) replaced quicksort+insertion sort by a tuned radix
57 sort + insertion sort, resulting in comparable runtime (usually
58 faster) to the old version, but without any ill side effects on
59 degenerated (for quicksort) data.
60 - (libeio) correctly sort dirs by inodes if we have perfect type
61 knowledge and DIRS_FIRST is used.
62 - (libeio) internally the wrong DT_* constants were used, but no
63 known system has differing EIO_DT_*/DT_* values, so not an issue.
64 - removed a (harmless) assert that was left over on the code
65 but should not have been.
66 - use more correct types (change IO length from IV to VAL64,
67 which makes a difference on systems without 64 bit perls).
68
693.23 Sat Jun 13 16:57:58 CEST 2009
70 - fix off-by-one bug in aio_readdir that was introduced in the
71 rushed 3.22 release.
72
733.22 Sat Jun 13 15:32:40 CEST 2009
74 - speed up readdirx sort algorithm slightly.
75 - bin/treescan was missing from distro tarball.
76
773.21 Fri Jun 12 18:45:53 CEST 2009
78 - new options --dirs and --files for treescan.
79 - install bin/treescan by default.
80 - (libeio) aio_readdir can now be cancelled while executing.
81 - fix a printf format string for 64 bit systems (could lead
82 to problems on big endian 64 bit systems).
83 - do not use qsort() but our own algorithm: glibc initialises
84 the whole locale and I/O subsystem inside qsort, causing
85 a stack overflow on 32 bit machines. The new sort uses much less
86 stack and is more than twice as fast in typical situations.
87
883.2 Sun Jun 7 20:30:05 CEST 2009
89 - (libeio) pwrite emulation was even more flawed than intended and did
90 not restore the file offset.
91 - add aio_readdirx, which can return inode and filetype and sort
92 the names in various ways.
93 - unfortunately, utime, chmod, chown on an open file that has just
94 been written can easily block, which caused aio_copy to block the
95 process. no more!
96 - no longer rely on dst path in aio_copy when futime is available.
97
983.19 Tue Apr 21 22:05:21 CEST 2009
99 - more perl 5.10 workarounds for aio_read and write.
100 - aio_write no longer modifies the sv (if possible).
101 - aio_read now works correctly with magic values.
102
1033.18 Sun Apr 19 21:17:32 CEST 2009
104 - better diagnostics when some aio_* functions get passed an illegal fh.
105 - try to avoid crashes due to incompatible 5.10 API changes. grmbl.
106
1073.17 Thu Nov 20 08:45:36 CET 2008
108 - (libeio) added aio_sync_file_range (untested).
109 - add aio_busy to @IO::AIO::AIO_REQ.
110
1113.16 Wed Oct 22 18:28:01 CEST 2008
112 - use SvREFCNT_inc instead of SvREFCNT_inc_NN in a non-speed critical
113 part to improve portability to perl 5.8 (reported by szymon).
114
1153.15 Mon Oct 13 00:39:55 CEST 2008
116 - automatic removal of feeders was broken.
117 - (libeio) use a more robust method to detect whether a feeder
118 has added something to the group or not.
119
1203.1 Thu Oct 2 13:34:40 CEST 2008
121 - pre-deref the passed callback object, for increased speed
122 and decreased memory usage.
123 - call on_next_submit callback even for aio_group - impact unknown,
124 but seems more correct.
125 - $req->cb now returns the original callback.
126 - (libeio) pass EIO_GROUP/aio_group requests through the queue without
127 requiring a thread switch.
128 - (libeio) status code of aio_futime and aio_utime was always passed 0.
129 - do some other ยต-optimisations.
130
1313.07 Sat Aug 2 16:06:13 CEST 2008
132 - do not include LIBS in autoconf tests.
133
1343.06 Tue Jul 15 12:41:32 CEST 2008
135 - move preadwritelock definition before it's first reference,
136 to make it compile again on broken platforms (they still exist)
137 or badly cofngiured perls (redhat...), reported by Rob Bloodgood.
138
1393.05 Thu Jun 19 23:23:52 CEST 2008
140 - work around perl overriding readdir etc. with thread-unsafe
141 (sic!) versions.
142
1433.04 Wed Jun 18 01:35:38 CEST 2008
144 - (libeio) fix eio_mknod, which confused it's arguments.
145 - (libeio) do not use readdir_r, as Ulrich Drepper pointed out that this
146 is stupid.
147 - (libeio) fix eio__readahead prototype, patch by Jost Krieger.
148 - (libeio) fix a bug that could potentially cause IO::AIO
149 not to get initialised properly.
150
1513.03 Thu May 29 05:33:30 CEST 2008
152 - (libeio) correctly call pthread_attr_destroy ().
153 - (libeio) work around broken bsd headers once more.
154 - reduce shared library size again by not including wrappers.
155 - max_outstanding could cause poll to enter a busy-waiting loop.
156 - document the new IO::AIO::poll_cb result value.
157
1583.02 Mon May 12 02:32:02 CEST 2008
159 - fix a memory leak on aio_readlink.
160 - bring back working fchmod.
161 - nop and busy now set result to 0.
162 - set errno to ENOMEM when allocation fails.
163
1643.01 Sun May 11 03:07:03 CEST 2008
165 - (libeio) make it compile on systems without readahead or readdir_r.
166 - (libeio) improve configure check for readahead availability.
167 - do not try to link against -lrt.
168 - use a separate configure script for IO::AIO (not the libeio one).
169
1703.0 Sun May 11 00:57:14 CEST 2008
171 - added bin/treescan to the distribution.
172 - switched to using libeio.
173 - LOTS OF INCOMPATIBLE CHANGES:
174 - remove signal functionality, it is not worth the effort.
175 - max_outstanding no longer returns the previous number of requests.
176 - poll_cb no longer returns number of requests.
177
1782.62 Sat Apr 26 13:59:33 CEST 2008
179 - port to solaris perls configured for old posix
180 (analysed by Jost Krieger).
181 - keep a reference to the perl filehandle object in aio_close,
182 so it doesn't get closed prematurely, leading to ugly races.
183
1842.61 Wed Apr 16 18:45:02 CEST 2008
185 - fix treescan output duplication and improve output ordering.
186 also display files given on the commandline.
187 - use a different algorithm for aio_close that is faster
188 and probably has even lower chances of blocking.
189 - do our own stack memory management for threads - linux
190 allocates outrageous amounts of VM (not so bad unless you
191 use mlockall...), which severely limits the number of threads
192 on 32-bit arches: stack size is the larger of PTHREAD_STACK_MIN
193 and 4096 * sizeof (long) (usually this is 16..64k).
194
1952.6 Sun Mar 30 08:28:11 CEST 2008
196 - added aio_sync.
197 - added aio_pathsync.
198 - fix prototypes of (void) functions.
199
2002.51 Sat Oct 6 16:04:54 CEST 2007
201 - perlio isn't generally threadsafe, so aio_close could not work reliably.
202 aio_close now tries a safe hack that might not be that asynchronous
203 (see the manpage for details).
204 - discard callback return values as to not grow the stack endlessly
205 when poll_cb handles many requests without returning.
206 - minor code cleanups.
207
2082.5 Thu Oct 4 14:49:08 CEST 2007
209 - replaced _fd2fh with faster xs code.
210 - aio_close will now try to do "the right thing" and thus might
211 work sensibly for the very first time.
212
2132.41 Mon Sep 24 21:28:21 CEST 2007
214 - after fork, invest some work to make sure that the poll_fileno
215 stays stable (by dup2'ing the new fd over the old one), to make
216 it easier for programs/libs that don't control their forking
217 behaviour and cannot recreate their watchers.
218
2192.4 Sun Aug 5 18:44:22 CEST 2007
220 - add aio_truncate, aio_chmod, aio_chown, aio_utime (linux
221 successfully demonstrated that you can block on futimes...).
222 - allow undef as fileoffset for aio_read/write and use read/write(2)
223 internally (useful for sockets or O_APPEND handles).
224 - allow undef for length in aio_write.
225 - negative dataoffsets work as expected now in aio_read/aio_write.
226 - use NV instead of UV for 32 bit perls and file offsets, as NVs
227 have a larger range then.
228 - shared code between BDB and IO::AIO.
229 - aio_busy was completely broken. now fixed.
230 - readahead emulation now returns something.
231 - correctly set errno to ENOSYS on unimplemented functions
232 (should never happen, though).
233 - large changes to make it partially compile and run on win32,
234 but win32 lacks too much functionality, and perl overrides way
235 too many functions with crashing versions.
236
2372.33 Tue Jan 23 23:55:41 CET 2007
238 - fix install path (Andreas J. Koenig).
239
2402.32 Mon Jan 22 16:56:23 CET 2007
241 - added aio_rmtree.
242 - wow, aio_mkdir was missing.
243 - aio_load did return undef on error, not -1.
244 - use prefixexp not prefix in autoconf.pm
245 (suggested by ... rt.cpan.org unreachable).
246 - avoid installing autoconf.pm.
247
2482.31 Sat Jan 6 03:46:02 CET 2007
249 - added aio_load.
250
2512.3 Sat Dec 23 05:48:07 CET 2006
252 - fix off-by-one bug in aio_read, causing memory corruption
253 or crashes.
254
2552.21 Fri Dec 22 05:03:38 CET 2006
256 - minor doc updates.
257 - minor cleanups.
258 - IO::AIO::poll returns request count.
259 - undocumented and unfinished async-signal-reporting.
260
2612.2 Tue Oct 31 00:31:00 CET 2006
262 - minor doc updates.
263 - added aio_readlink.
264 - properly zero-terminate aio_read buffer.
265 - fix aio_read/write with nonzero dataoffset.
266 - reduced size of aio request structure.
267 - better diagnostics when pathnames etc. are not byte-encoded;
268 do not leak request in that case, either.
269
2702.1 Sun Oct 29 02:01:57 CET 2006
271 - INCOMPATIBLE CHANGE: replace IO::AIO::poll_some by
272 IO::AIO::max_poll_reqs and IO::AIO::max_poll_time.
273 - fix a bug in aio_move where it would fail everytime
274 it would have to copy files manually.
275 - doc updates.
276 - start threads only on (very low) demand.
277 - end superfluous threads automatically after 10s idling.
278 - add IO::AIO::max_idle to control this.
279 - some tuning applied to random places.
280 - add aio_mknod.
281
2822.0 Thu Oct 26 18:27:58 CEST 2006
283 - minor incompatibility: max_outstanding semantics have changed.
284 - major rewrite, consider all functionality EXPERIMENTAL.
7 - aio requests can be cancelled. 285 - aio requests can be cancelled.
286 - callbacks can be (re-)set later.
287 - aio requests can choose between 9 priorities.
8 - add aio_group: aio requests can be grouped. 288 - add aio_group: aio requests can be grouped
289 into composite requests.
9 - implement generator interface for groups. 290 - generator interface for groups.
291 - add IO::AIO::poll_some.
10 - major documentation improvements. 292 - major documentation improvements.
11 - very minor bugfixes. 293 - very minor bugfixes.
294 - add aio_nop for dummy requests.
12 - add aio_sleep mainly for benchmarking and debugging. 295 - add aio_busy mainly for benchmarking and debugging.
13 - deprecated max_outstanding. 296 - use "fast" mutexes on linux.
297 - use dynamic (and larger) buffers instead of
298 putting them onto the stack.
299 - optimise x86 and amd64 a bit.
300 - better error checking when ENOMEM.
301 - hopefully fix mem and dirp leaks on fork.
302 - warn about broken perl malloc.
303 - compiles on cygwin (but pread is broken on cygwin
304 which is not detected by autoconf, so you have to
305 edit autoconf/config.h yourself to enable emulation).
14 306
151.8 Sat Jun 24 22:20:44 CEST 2006 3071.8 Sat Jun 24 22:20:44 CEST 2006
16 - add and/or document aio_rename, aio_link, aio_symlink and aio_move. 308 - add and/or document aio_rename, aio_link, aio_symlink and aio_move.
17 309
181.73 Wed Mar 1 22:49:32 CET 2006 3101.73 Wed Mar 1 22:49:32 CET 2006
52 - somebody nagged about C89 compatibility, so this release should 344 - somebody nagged about C89 compatibility, so this release should
53 be C89 compatible, but no guarantees for future ones. 345 be C89 compatible, but no guarantees for future ones.
54 - abort when the configure script fails. 346 - abort when the configure script fails.
55 347
561.4 Wed Aug 17 08:07:27 CEST 2005 3481.4 Wed Aug 17 08:07:27 CEST 2005
57 - forget to recreate the pipe after forking, this could cause 349 - forgot to recreate the pipe after forking, this could cause
58 deadlocks. 350 deadlocks.
59 351
601.3 Wed Aug 17 07:25:54 CEST 2005 3521.3 Wed Aug 17 07:25:54 CEST 2005
61 - properly propagate exceptions from callbacks, instead of silently 353 - properly propagate exceptions from callbacks, instead of silently
62 eating them. 354 eating them.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines