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