1 | Revision history for IO::AIO |
1 | Revision history for IO::AIO |
2 | |
2 | |
3 | 1.3 |
3 | TODO: better autoconf.pm that can return LIBS etc. |
|
|
4 | TODO: aio_cptree/mvtree |
|
|
5 | TODO: aio_utime, aio_chmod, aio_chown? should simply stat/open first? |
|
|
6 | TODO: reduce condvar fairness: schedule hot-cache-threads first? |
|
|
7 | TODO: fix setsig |
|
|
8 | |
|
|
9 | - shared code between BDB and IO::AIO. |
|
|
10 | |
|
|
11 | 2.33 Tue Jan 23 23:55:41 CET 2007 |
|
|
12 | - fix install path (Andreas J. Koenig). |
|
|
13 | |
|
|
14 | 2.32 Mon Jan 22 16:56:23 CET 2007 |
|
|
15 | - added aio_rmtree. |
|
|
16 | - wow, aio_mkdir was missing. |
|
|
17 | - aio_load did return undef on error, not -1. |
|
|
18 | - use prefixexp not prefix in autoconf.pm |
|
|
19 | (suggested by ... rt.cpan.org unreachable). |
|
|
20 | - avoid installing autoconf.pm. |
|
|
21 | |
|
|
22 | 2.31 Sat Jan 6 03:46:02 CET 2007 |
|
|
23 | - added aio_load. |
|
|
24 | |
|
|
25 | 2.3 Sat Dec 23 05:48:07 CET 2006 |
|
|
26 | - fix off-by-one bug in aio_read, causing memory corruption |
|
|
27 | or crashes. |
|
|
28 | |
|
|
29 | 2.21 Fri Dec 22 05:03:38 CET 2006 |
|
|
30 | - minor doc updates. |
|
|
31 | - minor cleanups. |
|
|
32 | - IO::AIO::poll returns request count. |
|
|
33 | - undocumented and unfinished async-signal-reporting. |
|
|
34 | |
|
|
35 | 2.2 Tue Oct 31 00:31:00 CET 2006 |
|
|
36 | - minor doc updates. |
|
|
37 | - added aio_readlink. |
|
|
38 | - properly zero-terminate aio_read buffer. |
|
|
39 | - fix aio_read/write with nonzero dataoffset. |
|
|
40 | - reduced size of aio request structure. |
|
|
41 | - better diagnostics when pathnames etc. are not byte-encoded; |
|
|
42 | do not leak request in that case, either. |
|
|
43 | |
|
|
44 | 2.1 Sun Oct 29 02:01:57 CET 2006 |
|
|
45 | - INCOMPATIBLE CHANGE: replace IO::AIO::poll_some by |
|
|
46 | IO::AIO::max_poll_reqs and IO::AIO::max_poll_time. |
|
|
47 | - fix a bug in aio_move where it would fail everytime |
|
|
48 | it would have to copy files manually. |
|
|
49 | - doc updates. |
|
|
50 | - start threads only on (very low) demand. |
|
|
51 | - end superfluous threads automatically after 10s idling. |
|
|
52 | - add IO::AIO::max_idle to control this. |
|
|
53 | - some tuning applied to random places. |
|
|
54 | - add aio_mknod. |
|
|
55 | |
|
|
56 | 2.0 Thu Oct 26 18:27:58 CEST 2006 |
|
|
57 | - minor incompatibility: max_outstanding semantics have changed. |
|
|
58 | - major rewrite, consider all functionality EXPERIMENTAL. |
|
|
59 | - aio requests can be cancelled. |
|
|
60 | - callbacks can be (re-)set later. |
|
|
61 | - aio requests can choose between 9 priorities. |
|
|
62 | - add aio_group: aio requests can be grouped |
|
|
63 | into composite requests. |
|
|
64 | - generator interface for groups. |
|
|
65 | - add IO::AIO::poll_some. |
|
|
66 | - major documentation improvements. |
|
|
67 | - very minor bugfixes. |
|
|
68 | - add aio_nop for dummy requests. |
|
|
69 | - add aio_busy mainly for benchmarking and debugging. |
|
|
70 | - use "fast" mutexes on linux. |
|
|
71 | - use dynamic (and larger) buffers instead of |
|
|
72 | putting them onto the stack. |
|
|
73 | - optimise x86 and amd64 a bit. |
|
|
74 | - better error checking when ENOMEM. |
|
|
75 | - hopefully fix mem and dirp leaks on fork. |
|
|
76 | - warn about broken perl malloc. |
|
|
77 | - compiles on cygwin (but pread is broken on cygwin |
|
|
78 | which is not detected by autoconf, so you have to |
|
|
79 | edit autoconf/config.h yourself to enable emulation). |
|
|
80 | |
|
|
81 | 1.8 Sat Jun 24 22:20:44 CEST 2006 |
|
|
82 | - add and/or document aio_rename, aio_link, aio_symlink and aio_move. |
|
|
83 | |
|
|
84 | 1.73 Wed Mar 1 22:49:32 CET 2006 |
|
|
85 | - codename "jost" |
|
|
86 | - AIX/Solaris(?) aren't being helpful again, hardcode a value |
|
|
87 | for NAME_MAX and drive with your eyes closed (reported by |
|
|
88 | wcooley@nakedape.cc). |
|
|
89 | |
|
|
90 | 1.72 Thu Feb 2 00:40:44 CET 2006 |
|
|
91 | - another minor bug in aio_scandir, again, the callback was called |
|
|
92 | twice when the directory can't be stat'ed. |
|
|
93 | |
|
|
94 | 1.71 Mon Dec 26 20:20:03 CET 2005 |
|
|
95 | - grr, another minor bug in aio_scandir, this time resulting |
|
|
96 | in a runtime error. |
|
|
97 | |
|
|
98 | 1.7 Mon Dec 26 19:29:48 CET 2005 |
|
|
99 | - aio_scandir errornously called callback twice in some cases. |
|
|
100 | - added AnyEvent example. |
|
|
101 | |
|
|
102 | 1.61 Wed Sep 7 19:40:42 CEST 2005 |
|
|
103 | - no longer include $Config{libs}, as distros include too much |
|
|
104 | garbage in there that is not installed on typical systems |
|
|
105 | (for example, debian links perl against -lgdbm and many more |
|
|
106 | libraries despite perl not needing it, slowing down startup and |
|
|
107 | wasting memory). |
|
|
108 | |
|
|
109 | 1.6 Tue Aug 30 17:44:44 CEST 2005 |
|
|
110 | - added aio_readdir, aio_scandir. |
|
|
111 | - added aio_sendfile, including sendfile emulation when sendfile |
|
|
112 | isn't available. Linux, FreeBSD and HP-UX might work (sendfilev |
|
|
113 | support is unavailable on my solaris 8 machine, but preliminary |
|
|
114 | code is there. What's lacking is configury stuff and testing...). |
|
|
115 | |
|
|
116 | 1.5 Sat Aug 20 02:32:19 CEST 2005 |
|
|
117 | - create the aio threads on demand only (good after forking). |
|
|
118 | - somebody nagged about C89 compatibility, so this release should |
|
|
119 | be C89 compatible, but no guarantees for future ones. |
|
|
120 | - abort when the configure script fails. |
|
|
121 | |
|
|
122 | 1.4 Wed Aug 17 08:07:27 CEST 2005 |
|
|
123 | - forgot to recreate the pipe after forking, this could cause |
|
|
124 | deadlocks. |
|
|
125 | |
|
|
126 | 1.3 Wed Aug 17 07:25:54 CEST 2005 |
4 | - properly propagate exceptions from callbacks, instead of silently |
127 | - properly propagate exceptions from callbacks, instead of silently |
5 | eating them. |
128 | eating them. |
6 | - forking while in an atfork handler is now supported, although |
129 | - use a different fork algorithm that avoids recursive callback |
7 | I am pretty sure some pthread implementations will barf - don't |
130 | invocations and reduces fork latency in busy processes. |
8 | fork in an AIO callback if that is a concern for you. |
131 | - fix a bug where the buffer scalar in aio_read got assigned the wrong |
|
|
132 | length after reading. |
|
|
133 | - fix a bug where the child would process some outstanding requests |
|
|
134 | from the parent. |
|
|
135 | - make a copy of the callback scalar, to avoid some very uncommon |
|
|
136 | (but valid) usages where the callback scalar changes. |
|
|
137 | - the callback was never freed in aio_read/aio_write. |
|
|
138 | - aio_read/aio_write will now set the readonly flag on the data |
|
|
139 | scalar for better error reporting. |
9 | |
140 | |
10 | 1.2 Wed Aug 17 01:22:58 CEST 2005 |
141 | 1.2 Wed Aug 17 01:22:58 CEST 2005 |
11 | - verified on cygwin, linux/amd64+ia32+alpha, solaris. |
142 | - verified on cygwin, linux/amd64+ia32+alpha, solaris. |
12 | - use SvPVbyte for filenames now. You *need* to encode your strings to |
143 | - use SvPVbyte for filenames now. You *need* to encode your strings to |
13 | the external filename encoding first. |
144 | the external filename encoding first. |