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

Comparing IO-AIO/Changes (file contents):
Revision 1.21 by root, Sun Jul 31 18:21:16 2005 UTC vs.
Revision 1.99 by root, Sun Oct 29 01:03:13 2006 UTC

1Revision history for IO::AIO 1Revision history for IO::AIO
2 2
3TODO: better autoconf.pm that can return LIBS etc.
4TODO: aio_cp/mvtree/rmtree
5TODO: aio_utime, aio_chmod, aio_chown?
6
72.1 Sun Oct 29 02:01:57 CET 2006
8 - INCOMPATIBLE CHANGE: replace IO::AIO::poll_some by
9 IO::AIO::max_poll_reqs and IO::AIO::max_poll_time.
10 - fix a bug in aio_move where it would fail everytime
11 it would have to copy files manually.
12 - doc updates.
13 - start threads only on (very low) demand.
14 - end superfluous threads automatically after 10s idling.
15 - add IO::AIO::max_idle to control this.
16 - some tuning applied to random places.
17 - add aio_mknod.
18
192.0 Thu Oct 26 18:27:58 CEST 2006
20 - minor incompatibility: max_outstanding semantics have changed.
21 - major rewrite, consider all functionality EXPERIMENTAL.
22 - aio requests can be cancelled.
23 - callbacks can be (re-)set later.
24 - aio requests can choose between 9 priorities.
25 - add aio_group: aio requests can be grouped
26 into composite requests.
27 - generator interface for groups.
28 - add IO::AIO::poll_some.
29 - major documentation improvements.
30 - very minor bugfixes.
31 - add aio_nop for dummy requests.
32 - add aio_busy mainly for benchmarking and debugging.
33 - use "fast" mutexes on linux.
34 - use dynamic (and larger) buffers instead of
35 putting them onto the stack.
36 - optimise x86 and amd64 a bit.
37 - better error checking when ENOMEM.
38 - hopefully fix mem and dirp leaks on fork.
39 - warn about broken perl malloc.
40 - compiles on cygwin (but pread is broken on cygwin
41 which is not detected by autoconf, so you have to
42 edit autoconf/config.h yourself to enable emulation).
43
441.8 Sat Jun 24 22:20:44 CEST 2006
45 - add and/or document aio_rename, aio_link, aio_symlink and aio_move.
46
471.73 Wed Mar 1 22:49:32 CET 2006
48 - codename "jost"
49 - AIX/Solaris(?) aren't being helpful again, hardcode a value
50 for NAME_MAX and drive with your eyes closed (reported by
51 wcooley@nakedape.cc).
52
531.72 Thu Feb 2 00:40:44 CET 2006
54 - another minor bug in aio_scandir, again, the callback was called
55 twice when the directory can't be stat'ed.
56
571.71 Mon Dec 26 20:20:03 CET 2005
58 - grr, another minor bug in aio_scandir, this time resulting
59 in a runtime error.
60
611.7 Mon Dec 26 19:29:48 CET 2005
62 - aio_scandir errornously called callback twice in some cases.
63 - added AnyEvent example.
64
651.61 Wed Sep 7 19:40:42 CEST 2005
66 - no longer include $Config{libs}, as distros include too much
67 garbage in there that is not installed on typical systems
68 (for example, debian links perl against -lgdbm and many more
69 libraries despite perl not needing it, slowing down startup and
70 wasting memory).
71
721.6 Tue Aug 30 17:44:44 CEST 2005
73 - added aio_readdir, aio_scandir.
74 - added aio_sendfile, including sendfile emulation when sendfile
75 isn't available. Linux, FreeBSD and HP-UX might work (sendfilev
76 support is unavailable on my solaris 8 machine, but preliminary
77 code is there. What's lacking is configury stuff and testing...).
78
791.5 Sat Aug 20 02:32:19 CEST 2005
80 - create the aio threads on demand only (good after forking).
81 - somebody nagged about C89 compatibility, so this release should
82 be C89 compatible, but no guarantees for future ones.
83 - abort when the configure script fails.
84
851.4 Wed Aug 17 08:07:27 CEST 2005
86 - forgot to recreate the pipe after forking, this could cause
87 deadlocks.
88
891.3 Wed Aug 17 07:25:54 CEST 2005
90 - properly propagate exceptions from callbacks, instead of silently
91 eating them.
92 - use a different fork algorithm that avoids recursive callback
93 invocations and reduces fork latency in busy processes.
94 - fix a bug where the buffer scalar in aio_read got assigned the wrong
95 length after reading.
96 - fix a bug where the child would process some outstanding requests
97 from the parent.
98 - make a copy of the callback scalar, to avoid some very uncommon
99 (but valid) usages where the callback scalar changes.
100 - the callback was never freed in aio_read/aio_write.
101 - aio_read/aio_write will now set the readonly flag on the data
102 scalar for better error reporting.
103
1041.2 Wed Aug 17 01:22:58 CEST 2005
105 - verified on cygwin, linux/amd64+ia32+alpha, solaris.
106 - use SvPVbyte for filenames now. You *need* to encode your strings to
107 the external filename encoding first.
108 - fix the bug where filehandles could leak (again).
109 - clarify freebsd situation: make it work and tell me how, or go away
110 with your underdocumented, broken and outdated OS.
111 - fork'ing should now be officially supported (where linux and
112 posix contradict each other, I followed posix).
113 - only call read() once per poll, not twice (speedup).
114 - new functions: aio_rmdir, aio_symlink.
115 - force callback arguments to be undef or a reference, for better
116 error catching.
117
1181.1 Sun Aug 7 05:27:23 CEST 2005
3 - added configure script to detetc availability of some calls. 119 - added configure script to detect availability of some calls.
120 (imperfect, as we cannot detect things like -lrt due to missing
121 feedback yet).
122 - emulate fdatasync via fsync, pread/pwrite via unsafe read/write
123 and readahead via manual reading on platforms lacking those.
4 - ported t/03_errors.t+framework by Brad Fitzpatrick 124 - ported t/03_errors.t+framework by Brad Fitzpatrick
5 from Linux::AIO. 125 from Linux::AIO.
6 - removed XOPEN_SOURCE because stupid solaris 9 doesn't 126 - removed XOPEN_SOURCE because stupid solaris 9 doesn't
7 compile with it enabled. Probably breaks others. Oh well. 127 compile with it enabled. Probably breaks others. Oh well.
8 - emulate fdatasync by fsync on platforms lacking it. 128 - try to be more careful with errno on non-threaded perls.
129 - cygwins perl insisted on a matching open mode when morphing
130 the fd to an fh.
131 - convert sv's to "byte" encoding in aio_read/aio_write. Might
132 do that for pathnames, too, in the future, so make sure you
133 properly encode your pathnames.
9 134
101.0 Fri Jul 22 10:43:30 CEST 2005 1351.0 Fri Jul 22 10:43:30 CEST 2005
11 - aio_open did not reliably deliver (open) filehandles. 136 - aio_open did not reliably deliver (open) filehandles.
12 - all aio_*-functions keep a reference to the filehandle so 137 - all aio_*-functions keep a reference to the filehandle so
13 it doesn't go away while the aio requests is working on it. 138 it doesn't go away while the aio requests is working on it.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines