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

Comparing IO-AIO/Changes (file contents):
Revision 1.43 by root, Fri Aug 19 01:07:27 2005 UTC vs.
Revision 1.134 by root, Sun Dec 2 20:54:33 2007 UTC

1Revision history for IO::AIO 1Revision history for IO::AIO
2 2
31.5 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.6
10 - added aio_sync.
11
122.51 Sat Oct 6 16:04:54 CEST 2007
13 - perlio isn't generally threadsafe, so aio_close could not work reliably.
14 aio_close now tries a safe hack that might not be that asynchronous
15 (see the manpage for details).
16 - discard callback return values as to not grow the stack endlessly
17 when poll_cb handles many requests without returning.
18 - minor code cleanups.
19
202.5 Thu Oct 4 14:49:08 CEST 2007
21 - replaced _fd2fh with faster xs code.
22 - aio_close will now try to do "the right thing" and thus might
23 work sensibly for the very first time.
24
252.41 Mon Sep 24 21:28:21 CEST 2007
26 - after fork, invest some work to make sure that the poll_fileno
27 stays stable (by dup2'ing the new fd over the old one), to make
28 it easier for programs/libs that don't control their forking
29 behaviour and cannot recreate their watchers.
30
312.4 Sun Aug 5 18:44:22 CEST 2007
32 - add aio_truncate, aio_chmod, aio_chown, aio_utime (linux
33 successfully demonstrated that you can block on futimes...).
34 - allow undef as fileoffset for aio_read/write and use read/write(2)
35 internally (useful for sockets or O_APPEND handles).
36 - allow undef for length in aio_write.
37 - negative dataoffsets work as expected now in aio_read/aio_write.
38 - use NV instead of UV for 32 bit perls and file offsets, as NVs
39 have a larger range then.
40 - shared code between BDB and IO::AIO.
41 - aio_busy was completely broken. now fixed.
42 - readahead emulation now returns something.
43 - correctly set errno to ENOSYS on unimplemented functions
44 (should never happen, though).
45 - large changes to make it partially compile and run on win32,
46 but win32 lacks too much functionality, and perl overrides way
47 too many functions with crashing versions.
48
492.33 Tue Jan 23 23:55:41 CET 2007
50 - fix install path (Andreas J. Koenig).
51
522.32 Mon Jan 22 16:56:23 CET 2007
53 - added aio_rmtree.
54 - wow, aio_mkdir was missing.
55 - aio_load did return undef on error, not -1.
56 - use prefixexp not prefix in autoconf.pm
57 (suggested by ... rt.cpan.org unreachable).
58 - avoid installing autoconf.pm.
59
602.31 Sat Jan 6 03:46:02 CET 2007
61 - added aio_load.
62
632.3 Sat Dec 23 05:48:07 CET 2006
64 - fix off-by-one bug in aio_read, causing memory corruption
65 or crashes.
66
672.21 Fri Dec 22 05:03:38 CET 2006
68 - minor doc updates.
69 - minor cleanups.
70 - IO::AIO::poll returns request count.
71 - undocumented and unfinished async-signal-reporting.
72
732.2 Tue Oct 31 00:31:00 CET 2006
74 - minor doc updates.
75 - added aio_readlink.
76 - properly zero-terminate aio_read buffer.
77 - fix aio_read/write with nonzero dataoffset.
78 - reduced size of aio request structure.
79 - better diagnostics when pathnames etc. are not byte-encoded;
80 do not leak request in that case, either.
81
822.1 Sun Oct 29 02:01:57 CET 2006
83 - INCOMPATIBLE CHANGE: replace IO::AIO::poll_some by
84 IO::AIO::max_poll_reqs and IO::AIO::max_poll_time.
85 - fix a bug in aio_move where it would fail everytime
86 it would have to copy files manually.
87 - doc updates.
88 - start threads only on (very low) demand.
89 - end superfluous threads automatically after 10s idling.
90 - add IO::AIO::max_idle to control this.
91 - some tuning applied to random places.
92 - add aio_mknod.
93
942.0 Thu Oct 26 18:27:58 CEST 2006
95 - minor incompatibility: max_outstanding semantics have changed.
96 - major rewrite, consider all functionality EXPERIMENTAL.
97 - aio requests can be cancelled.
98 - callbacks can be (re-)set later.
99 - aio requests can choose between 9 priorities.
100 - add aio_group: aio requests can be grouped
101 into composite requests.
102 - generator interface for groups.
103 - add IO::AIO::poll_some.
104 - major documentation improvements.
105 - very minor bugfixes.
106 - add aio_nop for dummy requests.
107 - add aio_busy mainly for benchmarking and debugging.
108 - use "fast" mutexes on linux.
109 - use dynamic (and larger) buffers instead of
110 putting them onto the stack.
111 - optimise x86 and amd64 a bit.
112 - better error checking when ENOMEM.
113 - hopefully fix mem and dirp leaks on fork.
114 - warn about broken perl malloc.
115 - compiles on cygwin (but pread is broken on cygwin
116 which is not detected by autoconf, so you have to
117 edit autoconf/config.h yourself to enable emulation).
118
1191.8 Sat Jun 24 22:20:44 CEST 2006
120 - add and/or document aio_rename, aio_link, aio_symlink and aio_move.
121
1221.73 Wed Mar 1 22:49:32 CET 2006
123 - codename "jost"
124 - AIX/Solaris(?) aren't being helpful again, hardcode a value
125 for NAME_MAX and drive with your eyes closed (reported by
126 wcooley@nakedape.cc).
127
1281.72 Thu Feb 2 00:40:44 CET 2006
129 - another minor bug in aio_scandir, again, the callback was called
130 twice when the directory can't be stat'ed.
131
1321.71 Mon Dec 26 20:20:03 CET 2005
133 - grr, another minor bug in aio_scandir, this time resulting
134 in a runtime error.
135
1361.7 Mon Dec 26 19:29:48 CET 2005
137 - aio_scandir errornously called callback twice in some cases.
138 - added AnyEvent example.
139
1401.61 Wed Sep 7 19:40:42 CEST 2005
141 - no longer include $Config{libs}, as distros include too much
142 garbage in there that is not installed on typical systems
143 (for example, debian links perl against -lgdbm and many more
144 libraries despite perl not needing it, slowing down startup and
145 wasting memory).
146
1471.6 Tue Aug 30 17:44:44 CEST 2005
148 - added aio_readdir, aio_scandir.
149 - added aio_sendfile, including sendfile emulation when sendfile
150 isn't available. Linux, FreeBSD and HP-UX might work (sendfilev
151 support is unavailable on my solaris 8 machine, but preliminary
152 code is there. What's lacking is configury stuff and testing...).
153
1541.5 Sat Aug 20 02:32:19 CEST 2005
4 - create the aio threads on demand only. 155 - create the aio threads on demand only (good after forking).
5 - somebody nagged about C89 compatibility, so this release should 156 - somebody nagged about C89 compatibility, so this release should
6 be C89 compatible, but no guarantees for future ones. 157 be C89 compatible, but no guarantees for future ones.
7 - abort when the configure script fails. 158 - abort when the configure script fails.
8 159
91.4 Wed Aug 17 08:07:27 CEST 2005 1601.4 Wed Aug 17 08:07:27 CEST 2005
10 - forget to recreate the pipe after forking, this could cause 161 - forgot to recreate the pipe after forking, this could cause
11 deadlocks. 162 deadlocks.
12 163
131.3 Wed Aug 17 07:25:54 CEST 2005 1641.3 Wed Aug 17 07:25:54 CEST 2005
14 - properly propagate exceptions from callbacks, instead of silently 165 - properly propagate exceptions from callbacks, instead of silently
15 eating them. 166 eating them.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines