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

Comparing IO-AIO/Changes (file contents):
Revision 1.99 by root, Sun Oct 29 01:03:13 2006 UTC vs.
Revision 1.171 by root, Sun Oct 12 22:30:33 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: aio_cp/mvtree/rmtree 4TODO: aio_cptree/mvtree
5TODO: aio_utime, aio_chmod, aio_chown? 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 - automatic removal of feeders was broken.
10 - (libeio) use a more robust method to detect whether a feeder
11 has added something to the group or not.
12
133.1 Thu Oct 2 13:34:40 CEST 2008
14 - pre-deref the passed callback object, for increased speed
15 and decreased memory usage.
16 - call on_next_submit callback even for aio_group - impact unknown,
17 but seems more correct.
18 - $req->cb now returns the original callback.
19 - (libeio) pass EIO_GROUP/aio_group requests through the queue without
20 requiring a thread switch.
21 - (libeio) status code of aio_futime and aio_utime was always passed 0.
22 - do some other ยต-optimisations.
23
243.07 Sat Aug 2 16:06:13 CEST 2008
25 - do not include LIBS in autoconf tests.
26
273.06 Tue Jul 15 12:41:32 CEST 2008
28 - move preadwritelock definition before it's first reference,
29 to make it compile again on broken platforms (they still exist)
30 or badly cofngiured perls (redhat...), reported by Rob Bloodgood.
31
323.05 Thu Jun 19 23:23:52 CEST 2008
33 - work around perl overriding readdir etc. with thread-unsafe
34 (sic!) versions.
35
363.04 Wed Jun 18 01:35:38 CEST 2008
37 - (libeio) fix eio_mknod, which confused it's arguments.
38 - (libeio) do not use readdir_r, as Ulrich Drepper pointed out that this
39 is stupid.
40 - (libeio) fix eio__readahead prototype, patch by Jost Krieger.
41 - (libeio) fix a bug that could potentially cause IO::AIO
42 not to get initialised properly.
43
443.03 Thu May 29 05:33:30 CEST 2008
45 - (libeio) correctly call pthread_attr_destroy ().
46 - (libeio) work around broken bsd headers once more.
47 - reduce shared library size again by not including wrappers.
48 - max_outstanding could cause poll to enter a busy-waiting loop.
49 - document the new IO::AIO::poll_cb result value.
50
513.02 Mon May 12 02:32:02 CEST 2008
52 - fix a memory leak on aio_readlink.
53 - bring back working fchmod.
54 - nop and busy now set result to 0.
55 - set errno to ENOMEM when allocation fails.
56
573.01 Sun May 11 03:07:03 CEST 2008
58 - (libeio) make it compile on systems without readahead or readdir_r.
59 - (libeio) improve configure check for readahead availability.
60 - do not try to link against -lrt.
61 - use a separate configure script for IO::AIO (not the libeio one).
62
633.0 Sun May 11 00:57:14 CEST 2008
64 - added bin/treescan to the distribution.
65 - switched to using libeio.
66 - LOTS OF INCOMPATIBLE CHANGES:
67 - remove signal functionality, it is not worth the effort.
68 - max_outstanding no longer returns the previous number of requests.
69 - poll_cb no longer returns number of requests.
70
712.62 Sat Apr 26 13:59:33 CEST 2008
72 - port to solaris perls configured for old posix
73 (analysed by Jost Krieger).
74 - keep a reference to the perl filehandle object in aio_close,
75 so it doesn't get closed prematurely, leading to ugly races.
76
772.61 Wed Apr 16 18:45:02 CEST 2008
78 - fix treescan output duplication and improve output ordering.
79 also display files given on the commandline.
80 - use a different algorithm for aio_close that is faster
81 and probably has even lower chances of blocking.
82 - do our own stack memory management for threads - linux
83 allocates outrageous amounts of VM (not so bad unless you
84 use mlockall...), which severely limits the number of threads
85 on 32-bit arches: stack size is the larger of PTHREAD_STACK_MIN
86 and 4096 * sizeof (long) (usually this is 16..64k).
87
882.6 Sun Mar 30 08:28:11 CEST 2008
89 - added aio_sync.
90 - added aio_pathsync.
91 - fix prototypes of (void) functions.
92
932.51 Sat Oct 6 16:04:54 CEST 2007
94 - perlio isn't generally threadsafe, so aio_close could not work reliably.
95 aio_close now tries a safe hack that might not be that asynchronous
96 (see the manpage for details).
97 - discard callback return values as to not grow the stack endlessly
98 when poll_cb handles many requests without returning.
99 - minor code cleanups.
100
1012.5 Thu Oct 4 14:49:08 CEST 2007
102 - replaced _fd2fh with faster xs code.
103 - aio_close will now try to do "the right thing" and thus might
104 work sensibly for the very first time.
105
1062.41 Mon Sep 24 21:28:21 CEST 2007
107 - after fork, invest some work to make sure that the poll_fileno
108 stays stable (by dup2'ing the new fd over the old one), to make
109 it easier for programs/libs that don't control their forking
110 behaviour and cannot recreate their watchers.
111
1122.4 Sun Aug 5 18:44:22 CEST 2007
113 - add aio_truncate, aio_chmod, aio_chown, aio_utime (linux
114 successfully demonstrated that you can block on futimes...).
115 - allow undef as fileoffset for aio_read/write and use read/write(2)
116 internally (useful for sockets or O_APPEND handles).
117 - allow undef for length in aio_write.
118 - negative dataoffsets work as expected now in aio_read/aio_write.
119 - use NV instead of UV for 32 bit perls and file offsets, as NVs
120 have a larger range then.
121 - shared code between BDB and IO::AIO.
122 - aio_busy was completely broken. now fixed.
123 - readahead emulation now returns something.
124 - correctly set errno to ENOSYS on unimplemented functions
125 (should never happen, though).
126 - large changes to make it partially compile and run on win32,
127 but win32 lacks too much functionality, and perl overrides way
128 too many functions with crashing versions.
129
1302.33 Tue Jan 23 23:55:41 CET 2007
131 - fix install path (Andreas J. Koenig).
132
1332.32 Mon Jan 22 16:56:23 CET 2007
134 - added aio_rmtree.
135 - wow, aio_mkdir was missing.
136 - aio_load did return undef on error, not -1.
137 - use prefixexp not prefix in autoconf.pm
138 (suggested by ... rt.cpan.org unreachable).
139 - avoid installing autoconf.pm.
140
1412.31 Sat Jan 6 03:46:02 CET 2007
142 - added aio_load.
143
1442.3 Sat Dec 23 05:48:07 CET 2006
145 - fix off-by-one bug in aio_read, causing memory corruption
146 or crashes.
147
1482.21 Fri Dec 22 05:03:38 CET 2006
149 - minor doc updates.
150 - minor cleanups.
151 - IO::AIO::poll returns request count.
152 - undocumented and unfinished async-signal-reporting.
153
1542.2 Tue Oct 31 00:31:00 CET 2006
155 - minor doc updates.
156 - added aio_readlink.
157 - properly zero-terminate aio_read buffer.
158 - fix aio_read/write with nonzero dataoffset.
159 - reduced size of aio request structure.
160 - better diagnostics when pathnames etc. are not byte-encoded;
161 do not leak request in that case, either.
6 162
72.1 Sun Oct 29 02:01:57 CET 2006 1632.1 Sun Oct 29 02:01:57 CET 2006
8 - INCOMPATIBLE CHANGE: replace IO::AIO::poll_some by 164 - INCOMPATIBLE CHANGE: replace IO::AIO::poll_some by
9 IO::AIO::max_poll_reqs and IO::AIO::max_poll_time. 165 IO::AIO::max_poll_reqs and IO::AIO::max_poll_time.
10 - fix a bug in aio_move where it would fail everytime 166 - fix a bug in aio_move where it would fail everytime

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines