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

Comparing IO-AIO/Changes (file contents):
Revision 1.73 by root, Sun Oct 22 13:52:11 2006 UTC vs.
Revision 1.147 by root, Sun May 11 00:01:03 2008 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/sync_file_range? (http://kerneltrap.org/node/6505 http://lwn.net/Articles/178199/)
7TODO: aio_fcntl, at least for file-locking
5 8
62.0 9 - use a separate configure script for IO::AIO (not the libeio one).
10
113.0 Sun May 11 00:57:14 CEST 2008
12 - added bin/treescan to the distribution.
13 - switched to using libeio.
14 - LOTS OF INCOMPATIBLE CHANGES:
15 - remove signal functionality, it is not worth the effort.
16 - max_outstanding no longer returns the previous number of requests.
17 - poll_cb no longer returns number of requests.
18
192.62 Sat Apr 26 13:59:33 CEST 2008
20 - port to solaris perls configured for old posix
21 (analysed by Jost Krieger).
22 - keep a reference to the perl filehandle object in aio_close,
23 so it doesn't get closed prematurely, leading to ugly races.
24
252.61 Wed Apr 16 18:45:02 CEST 2008
26 - fix treescan output duplication and improve output ordering.
27 also display files given on the commandline.
28 - use a different algorithm for aio_close that is faster
29 and probably has even lower chances of blocking.
30 - do our own stack memory management for threads - linux
31 allocates outrageous amounts of VM (not so bad unless you
32 use mlockall...), which severely limits the number of threads
33 on 32-bit arches: stack size is the larger of PTHREAD_STACK_MIN
34 and 4096 * sizeof (long) (usually this is 16..64k).
35
362.6 Sun Mar 30 08:28:11 CEST 2008
37 - added aio_sync.
38 - added aio_pathsync.
39 - fix prototypes of (void) functions.
40
412.51 Sat Oct 6 16:04:54 CEST 2007
42 - perlio isn't generally threadsafe, so aio_close could not work reliably.
43 aio_close now tries a safe hack that might not be that asynchronous
44 (see the manpage for details).
45 - discard callback return values as to not grow the stack endlessly
46 when poll_cb handles many requests without returning.
47 - minor code cleanups.
48
492.5 Thu Oct 4 14:49:08 CEST 2007
50 - replaced _fd2fh with faster xs code.
51 - aio_close will now try to do "the right thing" and thus might
52 work sensibly for the very first time.
53
542.41 Mon Sep 24 21:28:21 CEST 2007
55 - after fork, invest some work to make sure that the poll_fileno
56 stays stable (by dup2'ing the new fd over the old one), to make
57 it easier for programs/libs that don't control their forking
58 behaviour and cannot recreate their watchers.
59
602.4 Sun Aug 5 18:44:22 CEST 2007
61 - add aio_truncate, aio_chmod, aio_chown, aio_utime (linux
62 successfully demonstrated that you can block on futimes...).
63 - allow undef as fileoffset for aio_read/write and use read/write(2)
64 internally (useful for sockets or O_APPEND handles).
65 - allow undef for length in aio_write.
66 - negative dataoffsets work as expected now in aio_read/aio_write.
67 - use NV instead of UV for 32 bit perls and file offsets, as NVs
68 have a larger range then.
69 - shared code between BDB and IO::AIO.
70 - aio_busy was completely broken. now fixed.
71 - readahead emulation now returns something.
72 - correctly set errno to ENOSYS on unimplemented functions
73 (should never happen, though).
74 - large changes to make it partially compile and run on win32,
75 but win32 lacks too much functionality, and perl overrides way
76 too many functions with crashing versions.
77
782.33 Tue Jan 23 23:55:41 CET 2007
79 - fix install path (Andreas J. Koenig).
80
812.32 Mon Jan 22 16:56:23 CET 2007
82 - added aio_rmtree.
83 - wow, aio_mkdir was missing.
84 - aio_load did return undef on error, not -1.
85 - use prefixexp not prefix in autoconf.pm
86 (suggested by ... rt.cpan.org unreachable).
87 - avoid installing autoconf.pm.
88
892.31 Sat Jan 6 03:46:02 CET 2007
90 - added aio_load.
91
922.3 Sat Dec 23 05:48:07 CET 2006
93 - fix off-by-one bug in aio_read, causing memory corruption
94 or crashes.
95
962.21 Fri Dec 22 05:03:38 CET 2006
97 - minor doc updates.
98 - minor cleanups.
99 - IO::AIO::poll returns request count.
100 - undocumented and unfinished async-signal-reporting.
101
1022.2 Tue Oct 31 00:31:00 CET 2006
103 - minor doc updates.
104 - added aio_readlink.
105 - properly zero-terminate aio_read buffer.
106 - fix aio_read/write with nonzero dataoffset.
107 - reduced size of aio request structure.
108 - better diagnostics when pathnames etc. are not byte-encoded;
109 do not leak request in that case, either.
110
1112.1 Sun Oct 29 02:01:57 CET 2006
112 - INCOMPATIBLE CHANGE: replace IO::AIO::poll_some by
113 IO::AIO::max_poll_reqs and IO::AIO::max_poll_time.
114 - fix a bug in aio_move where it would fail everytime
115 it would have to copy files manually.
116 - doc updates.
117 - start threads only on (very low) demand.
118 - end superfluous threads automatically after 10s idling.
119 - add IO::AIO::max_idle to control this.
120 - some tuning applied to random places.
121 - add aio_mknod.
122
1232.0 Thu Oct 26 18:27:58 CEST 2006
124 - minor incompatibility: max_outstanding semantics have changed.
125 - major rewrite, consider all functionality EXPERIMENTAL.
7 - aio requests can be cancelled. 126 - aio requests can be cancelled.
127 - callbacks can be (re-)set later.
128 - aio requests can choose between 9 priorities.
8 - add aio_group: aio requests can be grouped. 129 - add aio_group: aio requests can be grouped
130 into composite requests.
9 - implement generator interface for groups. 131 - generator interface for groups.
10 - add aio_sleep mainly for benchmarking and debugging. 132 - add IO::AIO::poll_some.
11 - major documentation improvements. 133 - major documentation improvements.
12 - very minor bugfixes. 134 - very minor bugfixes.
135 - add aio_nop for dummy requests.
136 - add aio_busy mainly for benchmarking and debugging.
137 - use "fast" mutexes on linux.
138 - use dynamic (and larger) buffers instead of
139 putting them onto the stack.
140 - optimise x86 and amd64 a bit.
141 - better error checking when ENOMEM.
142 - hopefully fix mem and dirp leaks on fork.
143 - warn about broken perl malloc.
144 - compiles on cygwin (but pread is broken on cygwin
145 which is not detected by autoconf, so you have to
146 edit autoconf/config.h yourself to enable emulation).
13 147
141.8 Sat Jun 24 22:20:44 CEST 2006 1481.8 Sat Jun 24 22:20:44 CEST 2006
15 - add and/or document aio_rename, aio_link, aio_symlink and aio_move. 149 - add and/or document aio_rename, aio_link, aio_symlink and aio_move.
16 150
171.73 Wed Mar 1 22:49:32 CET 2006 1511.73 Wed Mar 1 22:49:32 CET 2006
51 - somebody nagged about C89 compatibility, so this release should 185 - somebody nagged about C89 compatibility, so this release should
52 be C89 compatible, but no guarantees for future ones. 186 be C89 compatible, but no guarantees for future ones.
53 - abort when the configure script fails. 187 - abort when the configure script fails.
54 188
551.4 Wed Aug 17 08:07:27 CEST 2005 1891.4 Wed Aug 17 08:07:27 CEST 2005
56 - forget to recreate the pipe after forking, this could cause 190 - forgot to recreate the pipe after forking, this could cause
57 deadlocks. 191 deadlocks.
58 192
591.3 Wed Aug 17 07:25:54 CEST 2005 1931.3 Wed Aug 17 07:25:54 CEST 2005
60 - properly propagate exceptions from callbacks, instead of silently 194 - properly propagate exceptions from callbacks, instead of silently
61 eating them. 195 eating them.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines