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

Comparing IO-AIO/Changes (file contents):
Revision 1.18 by root, Sat Jul 23 18:15:36 2005 UTC vs.
Revision 1.125 by root, Fri Jun 1 14:40:01 2007 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines