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

Comparing IO-AIO/Changes (file contents):
Revision 1.144 by root, Sat May 10 19:25:33 2008 UTC vs.
Revision 1.236 by root, Mon Aug 30 17:38:56 2010 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 4TODO: aio_cptree/mvtree
5TODO: reduce condvar fairness: schedule hot-cache-threads first? 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/) 6TODO: splice/tee/vmsplice? (http://kerneltrap.org/node/6505 http://lwn.net/Articles/178199/)
7TODO: aio_fcntl, at least for file-locking 7TODO: aio_fcntl, at least for file-locking
8TODO: fallocate, if it wouldn't be so useless.
9TODO: aio_mincore?
10TODO: add? also linux-specific stuff?
11O_EXEC
12O_SEARCH
13O_CLOEXEC
14O_DIRECTORY
15O_DSYNC
16O_NOCTTY
17O_NOFOLLOW
18O_NONBLOCK
19O_RSYNC
20O_SYNC
21O_TTY_INIT
8 22
93.0 23O_DIRECT
10 - lots of incompatible changes: 24O_LARGEFILE
25O_NOATIME
26O_ASYNC
27TODO: document/test madvise, mprotect
28TODO: aio_mlock/munlock
29 - do not leak memory in IO::AIO::mmap when the scalar already
30 had string-data.
31 - add O_RDWR, O_APPEND and O_EXCL symbols and semi-documented
32 them.
33 - cache the result IV, for a minor speedup in the common case.
34 - croak when an mmapped-scalar changes location, to detect
35 user-errors better.
36 - add madvise, mmap, munmap, mlockall, munlockall, msync and mtouch
37 to @EXPORT_OK.
38
393.65 Wed Mar 31 02:45:05 CEST 2010
40 - actually use PATH_MAX instead of NAME_MAX for readlink, as to not
41 cut off long pathnames in aio_readlink (based on patch by
42 Rasmus Andersson).
43 - a double fork partially killed the event pipe (great testcase
44 by dormando). affects IO::AIO, BDB and Async::Interrupt.
45 - suck steve's dick and rename our symbols to avoid colliding
46 with nonstandard identifier spam on the broken os x pseudo-os.
47 affects IO::AIO and BDB.
48
493.6 Mon Jan 11 00:43:39 CET 2010
50 - (libeio) more fixes for the freebsd/apple sendfile - broken by
51 manpage standards, but apparently correct accoridng to actual
52 kernel sources.
53 - add IO::AIO::mmap/munmap support.
54 - add IO::AIO::m(un)lockall support.
55 - clean up manpage.
56
573.5 Thu Jan 7 21:25:04 CET 2010
58 - (liebio) fix freebsd sendfile (Vanilla Hsu).
59 - (libeio) also fix darwin sendfile that suffered from a similar bug.
60 - add aio_statvfs as interface to statvfs/fstatvfs.
61 - work around buggy symlink() on cygwin in the testsuite.
62 - wtf. freebsd-8.0 actually passes the testsuite! I knew
63 they could implement fork and semaphores one day! cheers!
64
653.4 Sat Jan 2 15:13:04 CET 2010
66 - (libeio) max_poll_time was not properly converted to ticks.
67 - clarify cancel_subs description.
68 - IO::AIO::sendfile did not actually return the return value
69 from the sendfile call.
70 - implement aio_msync, aio_mtouch.
71 - (libeio) tentatively support darwin in sendfile.
72
733.31 Thu Nov 12 02:14:29 CET 2009
74 - fix result status documentation of aio_copy, aio_move.
75 - speed up object creation considerably by avoiding
76 hash lookups.
77
783.3 Wed Aug 5 13:52:58 CEST 2009
79 - use common::sense.
80 - use common schmorp.h header.
81 - allow integers (file descriptors) in addition to file handles.
82 - take advantage of linux' eventfd (but it seems slower on smp?).
83 - use poll not select on posix platforms.
84
853.261 Wed Jul 1 10:11:51 CEST 2009
86 - more 0S X workarounds (patch by Tokuhiro Matsuno).
87
883.26 Tue Jun 30 09:33:26 CEST 2009
89 - 0S X of course claims to be posix 2008 but lacks posix_fadvise.
90 try to work around this horribly broken OS in a somewhat hackish
91 way. might help other os's too.
92
933.25 Sat Jun 27 05:18:26 CEST 2009
94 - added IO::AIO::fadvise and IO::AIO::sendfile.
95 - (libeio) replaced quicksort+insertion sort by a tuned radix
96 sort + insertion sort, resulting in comparable runtime (usually
97 faster) to the old version, but without any ill side effects on
98 degenerated (for quicksort) data.
99 - (libeio) correctly sort dirs by inodes if we have perfect type
100 knowledge and DIRS_FIRST is used.
101 - (libeio) internally the wrong DT_* constants were used, but no
102 known system has differing EIO_DT_*/DT_* values, so not an issue.
103 - removed a (harmless) assert that was left over on the code
104 but should not have been.
105 - use more correct types (change IO length from IV to VAL64,
106 which makes a difference on systems without 64 bit perls).
107
1083.23 Sat Jun 13 16:57:58 CEST 2009
109 - fix off-by-one bug in aio_readdir that was introduced in the
110 rushed 3.22 release.
111
1123.22 Sat Jun 13 15:32:40 CEST 2009
113 - speed up readdirx sort algorithm slightly.
114 - bin/treescan was missing from distro tarball.
115
1163.21 Fri Jun 12 18:45:53 CEST 2009
117 - new options --dirs and --files for treescan.
118 - install bin/treescan by default.
119 - (libeio) aio_readdir can now be cancelled while executing.
120 - fix a printf format string for 64 bit systems (could lead
121 to problems on big endian 64 bit systems).
122 - do not use qsort() but our own algorithm: glibc initialises
123 the whole locale and I/O subsystem inside qsort, causing
124 a stack overflow on 32 bit machines. The new sort uses much less
125 stack and is more than twice as fast in typical situations.
126
1273.2 Sun Jun 7 20:30:05 CEST 2009
128 - (libeio) pwrite emulation was even more flawed than intended and did
129 not restore the file offset.
130 - add aio_readdirx, which can return inode and filetype and sort
131 the names in various ways.
132 - unfortunately, utime, chmod, chown on an open file that has just
133 been written can easily block, which caused aio_copy to block the
134 process. no more!
135 - no longer rely on dst path in aio_copy when futime is available.
136
1373.19 Tue Apr 21 22:05:21 CEST 2009
138 - more perl 5.10 workarounds for aio_read and write.
139 - aio_write no longer modifies the sv (if possible).
140 - aio_read now works correctly with magic values.
141
1423.18 Sun Apr 19 21:17:32 CEST 2009
143 - better diagnostics when some aio_* functions get passed an illegal fh.
144 - try to avoid crashes due to incompatible 5.10 API changes. grmbl.
145
1463.17 Thu Nov 20 08:45:36 CET 2008
147 - (libeio) added aio_sync_file_range (untested).
148 - add aio_busy to @IO::AIO::AIO_REQ.
149
1503.16 Wed Oct 22 18:28:01 CEST 2008
151 - use SvREFCNT_inc instead of SvREFCNT_inc_NN in a non-speed critical
152 part to improve portability to perl 5.8 (reported by szymon).
153
1543.15 Mon Oct 13 00:39:55 CEST 2008
155 - automatic removal of feeders was broken.
156 - (libeio) use a more robust method to detect whether a feeder
157 has added something to the group or not.
158
1593.1 Thu Oct 2 13:34:40 CEST 2008
160 - pre-deref the passed callback object, for increased speed
161 and decreased memory usage.
162 - call on_next_submit callback even for aio_group - impact unknown,
163 but seems more correct.
164 - $req->cb now returns the original callback.
165 - (libeio) pass EIO_GROUP/aio_group requests through the queue without
166 requiring a thread switch.
167 - (libeio) status code of aio_futime and aio_utime was always passed 0.
168 - do some other ยต-optimisations.
169
1703.07 Sat Aug 2 16:06:13 CEST 2008
171 - do not include LIBS in autoconf tests.
172
1733.06 Tue Jul 15 12:41:32 CEST 2008
174 - move preadwritelock definition before it's first reference,
175 to make it compile again on broken platforms (they still exist)
176 or badly cofngiured perls (redhat...), reported by Rob Bloodgood.
177
1783.05 Thu Jun 19 23:23:52 CEST 2008
179 - work around perl overriding readdir etc. with thread-unsafe
180 (sic!) versions.
181
1823.04 Wed Jun 18 01:35:38 CEST 2008
183 - (libeio) fix eio_mknod, which confused it's arguments.
184 - (libeio) do not use readdir_r, as Ulrich Drepper pointed out that this
185 is stupid.
186 - (libeio) fix eio__readahead prototype, patch by Jost Krieger.
187 - (libeio) fix a bug that could potentially cause IO::AIO
188 not to get initialised properly.
189
1903.03 Thu May 29 05:33:30 CEST 2008
191 - (libeio) correctly call pthread_attr_destroy ().
192 - (libeio) work around broken bsd headers once more.
193 - reduce shared library size again by not including wrappers.
194 - max_outstanding could cause poll to enter a busy-waiting loop.
195 - document the new IO::AIO::poll_cb result value.
196
1973.02 Mon May 12 02:32:02 CEST 2008
198 - fix a memory leak on aio_readlink.
199 - bring back working fchmod.
200 - nop and busy now set result to 0.
201 - set errno to ENOMEM when allocation fails.
202
2033.01 Sun May 11 03:07:03 CEST 2008
204 - (libeio) make it compile on systems without readahead or readdir_r.
205 - (libeio) improve configure check for readahead availability.
206 - do not try to link against -lrt.
207 - use a separate configure script for IO::AIO (not the libeio one).
208
2093.0 Sun May 11 00:57:14 CEST 2008
210 - added bin/treescan to the distribution.
211 - switched to using libeio.
212 - LOTS OF INCOMPATIBLE CHANGES:
11 - remove signal functionality, it is not worth the effort. 213 - remove signal functionality, it is not worth the effort.
12 - max_outstanding no longer returns the previous number of requests. 214 - max_outstanding no longer returns the previous number of requests.
13 - poll_cb no longer returns number of requests. 215 - poll_cb no longer returns number of requests.
14 216
152.62 Sat Apr 26 13:59:33 CEST 2008 2172.62 Sat Apr 26 13:59:33 CEST 2008
16 - port to solaris perls configured for old posix 218 - port to solaris perls configured for old posix
17 (analysed by Jost Krieger). 219 (analysed by Jost Krieger).
18 - keep a reference to the perl filehandle object in aio_close, 220 - keep a reference to the perl filehandle object in aio_close,

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines