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

Comparing IO-AIO/Changes (file contents):
Revision 1.85 by root, Tue Oct 24 16:35:04 2006 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 2
3TODO: better autoconf.pm that can return LIBS etc. 3TODO: better autoconf.pm that can return LIBS etc.
4TODO: use feeder for aio_scandir. 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
5 8
62.0 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.
7 - aio requests can be cancelled. 113 - aio requests can be cancelled.
8 - callbacks can be (re-)set later. 114 - callbacks can be (re-)set later.
9 - aio requests can have choose 9 priorities. 115 - aio requests can choose between 9 priorities.
10 - add aio_group: aio requests can be grouped 116 - add aio_group: aio requests can be grouped
11 into composite requests. 117 into composite requests.
12 - generator interface for groups. 118 - generator interface for groups.
119 - add IO::AIO::poll_some.
13 - major documentation improvements. 120 - major documentation improvements.
14 - very minor bugfixes. 121 - very minor bugfixes.
15 - add aio_nop for dummy requests. 122 - add aio_nop for dummy requests.
16 - add aio_busy mainly for benchmarking and debugging. 123 - add aio_busy mainly for benchmarking and debugging.
17 - deprecated max_outstanding.
18 - use "fast" mutexes on linux. 124 - use "fast" mutexes on linux.
19 - use dynamic (and larger) buffers instead of 125 - use dynamic (and larger) buffers instead of
20 putting them onto the stack. 126 putting them onto the stack.
21 - optimise x86 and amd64 a bit. 127 - optimise x86 and amd64 a bit.
22 - better error checking when ENOMEM. 128 - better error checking when ENOMEM.
23 - hopefully fix mem and dirp leaks on fork. 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).
24 134
251.8 Sat Jun 24 22:20:44 CEST 2006 1351.8 Sat Jun 24 22:20:44 CEST 2006
26 - add and/or document aio_rename, aio_link, aio_symlink and aio_move. 136 - add and/or document aio_rename, aio_link, aio_symlink and aio_move.
27 137
281.73 Wed Mar 1 22:49:32 CET 2006 1381.73 Wed Mar 1 22:49:32 CET 2006
62 - somebody nagged about C89 compatibility, so this release should 172 - somebody nagged about C89 compatibility, so this release should
63 be C89 compatible, but no guarantees for future ones. 173 be C89 compatible, but no guarantees for future ones.
64 - abort when the configure script fails. 174 - abort when the configure script fails.
65 175
661.4 Wed Aug 17 08:07:27 CEST 2005 1761.4 Wed Aug 17 08:07:27 CEST 2005
67 - forget to recreate the pipe after forking, this could cause 177 - forgot to recreate the pipe after forking, this could cause
68 deadlocks. 178 deadlocks.
69 179
701.3 Wed Aug 17 07:25:54 CEST 2005 1801.3 Wed Aug 17 07:25:54 CEST 2005
71 - properly propagate exceptions from callbacks, instead of silently 181 - properly propagate exceptions from callbacks, instead of silently
72 eating them. 182 eating them.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines