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

Comparing IO-AIO/Changes (file contents):
Revision 1.53 by root, Tue Aug 30 15:45:10 2005 UTC vs.
Revision 1.141 by root, Mon Apr 21 20:09:41 2008 UTC

1Revision history for IO::AIO 1Revision history for IO::AIO
2
3TODO: better autoconf.pm that can return LIBS etc.
4TODO: aio_cptree/mvtree
5TODO: reduce condvar fairness: schedule hot-cache-threads first?
6TODO: splice/tee/vmsplice/sync_file_range? (http://kerneltrap.org/node/6505 http://lwn.net/Articles/178199/)
7TODO: aio_fcntl, at least for file-locking
8
9 - port to solaris perls configured for old posix
10 (analysed by Jost Krieger).
11
122.61 Wed Apr 16 18:45:02 CEST 2008
13 - fix treescan output duplication and improve output ordering.
14 also display files given on the commandline.
15 - use a different algorithm for aio_close that is faster
16 and probably has even lower chances of blocking.
17 - do our own stack memory management for threads - linux
18 allocates outrageous amounts of VM (not so bad unless you
19 use mlockall...), which severely limits the number of threads
20 on 32-bit arches: stack size is the larger of PTHREAD_STACK_MIN
21 and 4096 * sizeof (long) (usually this is 16..64k).
22
232.6 Sun Mar 30 08:28:11 CEST 2008
24 - added aio_sync.
25 - added aio_pathsync.
26 - fix prototypes of (void) functions.
27
282.51 Sat Oct 6 16:04:54 CEST 2007
29 - perlio isn't generally threadsafe, so aio_close could not work reliably.
30 aio_close now tries a safe hack that might not be that asynchronous
31 (see the manpage for details).
32 - discard callback return values as to not grow the stack endlessly
33 when poll_cb handles many requests without returning.
34 - minor code cleanups.
35
362.5 Thu Oct 4 14:49:08 CEST 2007
37 - replaced _fd2fh with faster xs code.
38 - aio_close will now try to do "the right thing" and thus might
39 work sensibly for the very first time.
40
412.41 Mon Sep 24 21:28:21 CEST 2007
42 - after fork, invest some work to make sure that the poll_fileno
43 stays stable (by dup2'ing the new fd over the old one), to make
44 it easier for programs/libs that don't control their forking
45 behaviour and cannot recreate their watchers.
46
472.4 Sun Aug 5 18:44:22 CEST 2007
48 - add aio_truncate, aio_chmod, aio_chown, aio_utime (linux
49 successfully demonstrated that you can block on futimes...).
50 - allow undef as fileoffset for aio_read/write and use read/write(2)
51 internally (useful for sockets or O_APPEND handles).
52 - allow undef for length in aio_write.
53 - negative dataoffsets work as expected now in aio_read/aio_write.
54 - use NV instead of UV for 32 bit perls and file offsets, as NVs
55 have a larger range then.
56 - shared code between BDB and IO::AIO.
57 - aio_busy was completely broken. now fixed.
58 - readahead emulation now returns something.
59 - correctly set errno to ENOSYS on unimplemented functions
60 (should never happen, though).
61 - large changes to make it partially compile and run on win32,
62 but win32 lacks too much functionality, and perl overrides way
63 too many functions with crashing versions.
64
652.33 Tue Jan 23 23:55:41 CET 2007
66 - fix install path (Andreas J. Koenig).
67
682.32 Mon Jan 22 16:56:23 CET 2007
69 - added aio_rmtree.
70 - wow, aio_mkdir was missing.
71 - aio_load did return undef on error, not -1.
72 - use prefixexp not prefix in autoconf.pm
73 (suggested by ... rt.cpan.org unreachable).
74 - avoid installing autoconf.pm.
75
762.31 Sat Jan 6 03:46:02 CET 2007
77 - added aio_load.
78
792.3 Sat Dec 23 05:48:07 CET 2006
80 - fix off-by-one bug in aio_read, causing memory corruption
81 or crashes.
82
832.21 Fri Dec 22 05:03:38 CET 2006
84 - minor doc updates.
85 - minor cleanups.
86 - IO::AIO::poll returns request count.
87 - undocumented and unfinished async-signal-reporting.
88
892.2 Tue Oct 31 00:31:00 CET 2006
90 - minor doc updates.
91 - added aio_readlink.
92 - properly zero-terminate aio_read buffer.
93 - fix aio_read/write with nonzero dataoffset.
94 - reduced size of aio request structure.
95 - better diagnostics when pathnames etc. are not byte-encoded;
96 do not leak request in that case, either.
97
982.1 Sun Oct 29 02:01:57 CET 2006
99 - INCOMPATIBLE CHANGE: replace IO::AIO::poll_some by
100 IO::AIO::max_poll_reqs and IO::AIO::max_poll_time.
101 - fix a bug in aio_move where it would fail everytime
102 it would have to copy files manually.
103 - doc updates.
104 - start threads only on (very low) demand.
105 - end superfluous threads automatically after 10s idling.
106 - add IO::AIO::max_idle to control this.
107 - some tuning applied to random places.
108 - add aio_mknod.
109
1102.0 Thu Oct 26 18:27:58 CEST 2006
111 - minor incompatibility: max_outstanding semantics have changed.
112 - major rewrite, consider all functionality EXPERIMENTAL.
113 - aio requests can be cancelled.
114 - callbacks can be (re-)set later.
115 - aio requests can choose between 9 priorities.
116 - add aio_group: aio requests can be grouped
117 into composite requests.
118 - generator interface for groups.
119 - add IO::AIO::poll_some.
120 - major documentation improvements.
121 - very minor bugfixes.
122 - add aio_nop for dummy requests.
123 - add aio_busy mainly for benchmarking and debugging.
124 - use "fast" mutexes on linux.
125 - use dynamic (and larger) buffers instead of
126 putting them onto the stack.
127 - optimise x86 and amd64 a bit.
128 - better error checking when ENOMEM.
129 - hopefully fix mem and dirp leaks on fork.
130 - warn about broken perl malloc.
131 - compiles on cygwin (but pread is broken on cygwin
132 which is not detected by autoconf, so you have to
133 edit autoconf/config.h yourself to enable emulation).
134
1351.8 Sat Jun 24 22:20:44 CEST 2006
136 - add and/or document aio_rename, aio_link, aio_symlink and aio_move.
137
1381.73 Wed Mar 1 22:49:32 CET 2006
139 - codename "jost"
140 - AIX/Solaris(?) aren't being helpful again, hardcode a value
141 for NAME_MAX and drive with your eyes closed (reported by
142 wcooley@nakedape.cc).
143
1441.72 Thu Feb 2 00:40:44 CET 2006
145 - another minor bug in aio_scandir, again, the callback was called
146 twice when the directory can't be stat'ed.
147
1481.71 Mon Dec 26 20:20:03 CET 2005
149 - grr, another minor bug in aio_scandir, this time resulting
150 in a runtime error.
151
1521.7 Mon Dec 26 19:29:48 CET 2005
153 - aio_scandir errornously called callback twice in some cases.
154 - added AnyEvent example.
155
1561.61 Wed Sep 7 19:40:42 CEST 2005
157 - no longer include $Config{libs}, as distros include too much
158 garbage in there that is not installed on typical systems
159 (for example, debian links perl against -lgdbm and many more
160 libraries despite perl not needing it, slowing down startup and
161 wasting memory).
2 162
31.6 Tue Aug 30 17:44:44 CEST 2005 1631.6 Tue Aug 30 17:44:44 CEST 2005
4 - added aio_readdir, aio_scandir. 164 - added aio_readdir, aio_scandir.
5 - added aio_sendfile, including sendfile emulation when sendfile 165 - added aio_sendfile, including sendfile emulation when sendfile
6 isn't available. Linux, FreeBSD and HP-UX might work (sendfilev 166 isn't available. Linux, FreeBSD and HP-UX might work (sendfilev
12 - somebody nagged about C89 compatibility, so this release should 172 - somebody nagged about C89 compatibility, so this release should
13 be C89 compatible, but no guarantees for future ones. 173 be C89 compatible, but no guarantees for future ones.
14 - abort when the configure script fails. 174 - abort when the configure script fails.
15 175
161.4 Wed Aug 17 08:07:27 CEST 2005 1761.4 Wed Aug 17 08:07:27 CEST 2005
17 - forget to recreate the pipe after forking, this could cause 177 - forgot to recreate the pipe after forking, this could cause
18 deadlocks. 178 deadlocks.
19 179
201.3 Wed Aug 17 07:25:54 CEST 2005 1801.3 Wed Aug 17 07:25:54 CEST 2005
21 - properly propagate exceptions from callbacks, instead of silently 181 - properly propagate exceptions from callbacks, instead of silently
22 eating them. 182 eating them.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines