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

Comparing IO-AIO/Changes (file contents):
Revision 1.112 by root, Sun Dec 31 17:07:32 2006 UTC vs.
Revision 1.182 by root, Wed Jun 3 12:24:49 2009 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_cptree/mvtree/rmtree 4TODO: aio_cptree/mvtree
5TODO: aio_utime, aio_chmod, aio_chown? should simply stat/open first?
6TODO: reduce condvar fairness: schedule hot-cache-threads first? 5TODO: reduce condvar fairness: schedule hot-cache-threads first?
7TODO: fix setsig 6TODO: splice/tee/vmsplice? (http://kerneltrap.org/node/6505 http://lwn.net/Articles/178199/)
7TODO: aio_fcntl, at least for file-locking
8 8
92.31 9 - (libeio) pwrite emulation was even more flawed than intended and did
10 not restore the file offset.
11 - unfortunately, utime, chmod, chown on an open file that has just
12 been written can easily block, which caused aio_copy to block the
13 process. no more!
14 - no longer rely on dst path in aio_copy when futime is available.
15
163.19 Tue Apr 21 22:05:21 CEST 2009
17 - more perl 5.10 workarounds for aio_read and write.
18 - aio_write no longer modifies the sv (if possible).
19 - aio_read now works correctly with magic values.
20
213.18 Sun Apr 19 21:17:32 CEST 2009
22 - better diagnostics when some aio_* functions get passed an illegal fh.
23 - try to avoid crashes due to incompatible 5.10 API changes. grmbl.
24
253.17 Thu Nov 20 08:45:36 CET 2008
26 - (libeio) added aio_sync_file_range (untested).
27 - add aio_busy to @IO::AIO::AIO_REQ.
28
293.16 Wed Oct 22 18:28:01 CEST 2008
30 - use SvREFCNT_inc instead of SvREFCNT_inc_NN in a non-speed critical
31 part to improve portability to perl 5.8 (reported by szymon).
32
333.15 Mon Oct 13 00:39:55 CEST 2008
34 - automatic removal of feeders was broken.
35 - (libeio) use a more robust method to detect whether a feeder
36 has added something to the group or not.
37
383.1 Thu Oct 2 13:34:40 CEST 2008
39 - pre-deref the passed callback object, for increased speed
40 and decreased memory usage.
41 - call on_next_submit callback even for aio_group - impact unknown,
42 but seems more correct.
43 - $req->cb now returns the original callback.
44 - (libeio) pass EIO_GROUP/aio_group requests through the queue without
45 requiring a thread switch.
46 - (libeio) status code of aio_futime and aio_utime was always passed 0.
47 - do some other ยต-optimisations.
48
493.07 Sat Aug 2 16:06:13 CEST 2008
50 - do not include LIBS in autoconf tests.
51
523.06 Tue Jul 15 12:41:32 CEST 2008
53 - move preadwritelock definition before it's first reference,
54 to make it compile again on broken platforms (they still exist)
55 or badly cofngiured perls (redhat...), reported by Rob Bloodgood.
56
573.05 Thu Jun 19 23:23:52 CEST 2008
58 - work around perl overriding readdir etc. with thread-unsafe
59 (sic!) versions.
60
613.04 Wed Jun 18 01:35:38 CEST 2008
62 - (libeio) fix eio_mknod, which confused it's arguments.
63 - (libeio) do not use readdir_r, as Ulrich Drepper pointed out that this
64 is stupid.
65 - (libeio) fix eio__readahead prototype, patch by Jost Krieger.
66 - (libeio) fix a bug that could potentially cause IO::AIO
67 not to get initialised properly.
68
693.03 Thu May 29 05:33:30 CEST 2008
70 - (libeio) correctly call pthread_attr_destroy ().
71 - (libeio) work around broken bsd headers once more.
72 - reduce shared library size again by not including wrappers.
73 - max_outstanding could cause poll to enter a busy-waiting loop.
74 - document the new IO::AIO::poll_cb result value.
75
763.02 Mon May 12 02:32:02 CEST 2008
77 - fix a memory leak on aio_readlink.
78 - bring back working fchmod.
79 - nop and busy now set result to 0.
80 - set errno to ENOMEM when allocation fails.
81
823.01 Sun May 11 03:07:03 CEST 2008
83 - (libeio) make it compile on systems without readahead or readdir_r.
84 - (libeio) improve configure check for readahead availability.
85 - do not try to link against -lrt.
86 - use a separate configure script for IO::AIO (not the libeio one).
87
883.0 Sun May 11 00:57:14 CEST 2008
89 - added bin/treescan to the distribution.
90 - switched to using libeio.
91 - LOTS OF INCOMPATIBLE CHANGES:
92 - remove signal functionality, it is not worth the effort.
93 - max_outstanding no longer returns the previous number of requests.
94 - poll_cb no longer returns number of requests.
95
962.62 Sat Apr 26 13:59:33 CEST 2008
97 - port to solaris perls configured for old posix
98 (analysed by Jost Krieger).
99 - keep a reference to the perl filehandle object in aio_close,
100 so it doesn't get closed prematurely, leading to ugly races.
101
1022.61 Wed Apr 16 18:45:02 CEST 2008
103 - fix treescan output duplication and improve output ordering.
104 also display files given on the commandline.
105 - use a different algorithm for aio_close that is faster
106 and probably has even lower chances of blocking.
107 - do our own stack memory management for threads - linux
108 allocates outrageous amounts of VM (not so bad unless you
109 use mlockall...), which severely limits the number of threads
110 on 32-bit arches: stack size is the larger of PTHREAD_STACK_MIN
111 and 4096 * sizeof (long) (usually this is 16..64k).
112
1132.6 Sun Mar 30 08:28:11 CEST 2008
114 - added aio_sync.
115 - added aio_pathsync.
116 - fix prototypes of (void) functions.
117
1182.51 Sat Oct 6 16:04:54 CEST 2007
119 - perlio isn't generally threadsafe, so aio_close could not work reliably.
120 aio_close now tries a safe hack that might not be that asynchronous
121 (see the manpage for details).
122 - discard callback return values as to not grow the stack endlessly
123 when poll_cb handles many requests without returning.
124 - minor code cleanups.
125
1262.5 Thu Oct 4 14:49:08 CEST 2007
127 - replaced _fd2fh with faster xs code.
128 - aio_close will now try to do "the right thing" and thus might
129 work sensibly for the very first time.
130
1312.41 Mon Sep 24 21:28:21 CEST 2007
132 - after fork, invest some work to make sure that the poll_fileno
133 stays stable (by dup2'ing the new fd over the old one), to make
134 it easier for programs/libs that don't control their forking
135 behaviour and cannot recreate their watchers.
136
1372.4 Sun Aug 5 18:44:22 CEST 2007
138 - add aio_truncate, aio_chmod, aio_chown, aio_utime (linux
139 successfully demonstrated that you can block on futimes...).
140 - allow undef as fileoffset for aio_read/write and use read/write(2)
141 internally (useful for sockets or O_APPEND handles).
142 - allow undef for length in aio_write.
143 - negative dataoffsets work as expected now in aio_read/aio_write.
144 - use NV instead of UV for 32 bit perls and file offsets, as NVs
145 have a larger range then.
146 - shared code between BDB and IO::AIO.
147 - aio_busy was completely broken. now fixed.
148 - readahead emulation now returns something.
149 - correctly set errno to ENOSYS on unimplemented functions
150 (should never happen, though).
151 - large changes to make it partially compile and run on win32,
152 but win32 lacks too much functionality, and perl overrides way
153 too many functions with crashing versions.
154
1552.33 Tue Jan 23 23:55:41 CET 2007
156 - fix install path (Andreas J. Koenig).
157
1582.32 Mon Jan 22 16:56:23 CET 2007
159 - added aio_rmtree.
160 - wow, aio_mkdir was missing.
161 - aio_load did return undef on error, not -1.
162 - use prefixexp not prefix in autoconf.pm
163 (suggested by ... rt.cpan.org unreachable).
164 - avoid installing autoconf.pm.
165
1662.31 Sat Jan 6 03:46:02 CET 2007
10 - added aio_load. 167 - added aio_load.
11 168
122.3 Sat Dec 23 05:48:07 CET 2006 1692.3 Sat Dec 23 05:48:07 CET 2006
13 - fix off-by-one bug in aio_read, causing memory corruption 170 - fix off-by-one bug in aio_read, causing memory corruption
14 or crashes. 171 or crashes.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines