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

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines