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

Comparing IO-AIO/Changes (file contents):
Revision 1.153 by root, Mon May 12 12:36:21 2008 UTC vs.
Revision 1.231 by root, Wed Aug 4 14:02:58 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: posix_madvise.
11TODO: add? also linux-specific stuff?
12O_EXEC
13O_SEARCH
14O_CLOEXEC
15O_DIRECTORY
16O_DSYNC
17O_NOCTTY
18O_NOFOLLOW
19O_NONBLOCK
20O_RSYNC
21O_SYNC
22O_TTY_INIT
8 23
24 - do not leak memory in IO::AIO::mmap when the scalar already
25 had string-data.
26 - add O_RDWR, O_APPEND and O_EXCL symbols and semi-documented
27 them.
28 - cache the result IV, for a minor speedup in the common case.
29 - croak when an mmapped-scalar changes location, to detect
30 user-errors better.
31
323.65 Wed Mar 31 02:45:05 CEST 2010
33 - actually use PATH_MAX instead of NAME_MAX for readlink, as to not
34 cut off long pathnames in aio_readlink (based on patch by
35 Rasmus Andersson).
36 - a double fork partially killed the event pipe (great testcase
37 by dormando). affects IO::AIO, BDB and Async::Interrupt.
38 - suck steve's dick and rename our symbols to avoid colliding
39 with nonstandard identifier spam on the broken os x pseudo-os.
40 affects IO::AIO and BDB.
41
423.6 Mon Jan 11 00:43:39 CET 2010
43 - (libeio) more fixes for the freebsd/apple sendfile - broken by
44 manpage standards, but apparently correct accoridng to actual
45 kernel sources.
46 - add IO::AIO::mmap/munmap support.
47 - add IO::AIO::m(un)lockall support.
48 - clean up manpage.
49
503.5 Thu Jan 7 21:25:04 CET 2010
51 - (liebio) fix freebsd sendfile (Vanilla Hsu).
52 - (libeio) also fix darwin sendfile that suffered from a similar bug.
53 - add aio_statvfs as interface to statvfs/fstatvfs.
54 - work around buggy symlink() on cygwin in the testsuite.
55 - wtf. freebsd-8.0 actually passes the testsuite! I knew
56 they could implement fork and semaphores one day! cheers!
57
583.4 Sat Jan 2 15:13:04 CET 2010
59 - (libeio) max_poll_time was not properly converted to ticks.
60 - clarify cancel_subs description.
61 - IO::AIO::sendfile did not actually return the return value
62 from the sendfile call.
63 - implement aio_msync, aio_mtouch.
64 - (libeio) tentatively support darwin in sendfile.
65
663.31 Thu Nov 12 02:14:29 CET 2009
67 - fix result status documentation of aio_copy, aio_move.
68 - speed up object creation considerably by avoiding
69 hash lookups.
70
713.3 Wed Aug 5 13:52:58 CEST 2009
72 - use common::sense.
73 - use common schmorp.h header.
74 - allow integers (file descriptors) in addition to file handles.
75 - take advantage of linux' eventfd (but it seems slower on smp?).
76 - use poll not select on posix platforms.
77
783.261 Wed Jul 1 10:11:51 CEST 2009
79 - more 0S X workarounds (patch by Tokuhiro Matsuno).
80
813.26 Tue Jun 30 09:33:26 CEST 2009
82 - 0S X of course claims to be posix 2008 but lacks posix_fadvise.
83 try to work around this horribly broken OS in a somewhat hackish
84 way. might help other os's too.
85
863.25 Sat Jun 27 05:18:26 CEST 2009
87 - added IO::AIO::fadvise and IO::AIO::sendfile.
88 - (libeio) replaced quicksort+insertion sort by a tuned radix
89 sort + insertion sort, resulting in comparable runtime (usually
90 faster) to the old version, but without any ill side effects on
91 degenerated (for quicksort) data.
92 - (libeio) correctly sort dirs by inodes if we have perfect type
93 knowledge and DIRS_FIRST is used.
94 - (libeio) internally the wrong DT_* constants were used, but no
95 known system has differing EIO_DT_*/DT_* values, so not an issue.
96 - removed a (harmless) assert that was left over on the code
97 but should not have been.
98 - use more correct types (change IO length from IV to VAL64,
99 which makes a difference on systems without 64 bit perls).
100
1013.23 Sat Jun 13 16:57:58 CEST 2009
102 - fix off-by-one bug in aio_readdir that was introduced in the
103 rushed 3.22 release.
104
1053.22 Sat Jun 13 15:32:40 CEST 2009
106 - speed up readdirx sort algorithm slightly.
107 - bin/treescan was missing from distro tarball.
108
1093.21 Fri Jun 12 18:45:53 CEST 2009
110 - new options --dirs and --files for treescan.
111 - install bin/treescan by default.
112 - (libeio) aio_readdir can now be cancelled while executing.
113 - fix a printf format string for 64 bit systems (could lead
114 to problems on big endian 64 bit systems).
115 - do not use qsort() but our own algorithm: glibc initialises
116 the whole locale and I/O subsystem inside qsort, causing
117 a stack overflow on 32 bit machines. The new sort uses much less
118 stack and is more than twice as fast in typical situations.
119
1203.2 Sun Jun 7 20:30:05 CEST 2009
121 - (libeio) pwrite emulation was even more flawed than intended and did
122 not restore the file offset.
123 - add aio_readdirx, which can return inode and filetype and sort
124 the names in various ways.
125 - unfortunately, utime, chmod, chown on an open file that has just
126 been written can easily block, which caused aio_copy to block the
127 process. no more!
128 - no longer rely on dst path in aio_copy when futime is available.
129
1303.19 Tue Apr 21 22:05:21 CEST 2009
131 - more perl 5.10 workarounds for aio_read and write.
132 - aio_write no longer modifies the sv (if possible).
133 - aio_read now works correctly with magic values.
134
1353.18 Sun Apr 19 21:17:32 CEST 2009
136 - better diagnostics when some aio_* functions get passed an illegal fh.
137 - try to avoid crashes due to incompatible 5.10 API changes. grmbl.
138
1393.17 Thu Nov 20 08:45:36 CET 2008
140 - (libeio) added aio_sync_file_range (untested).
141 - add aio_busy to @IO::AIO::AIO_REQ.
142
1433.16 Wed Oct 22 18:28:01 CEST 2008
144 - use SvREFCNT_inc instead of SvREFCNT_inc_NN in a non-speed critical
145 part to improve portability to perl 5.8 (reported by szymon).
146
1473.15 Mon Oct 13 00:39:55 CEST 2008
148 - automatic removal of feeders was broken.
149 - (libeio) use a more robust method to detect whether a feeder
150 has added something to the group or not.
151
1523.1 Thu Oct 2 13:34:40 CEST 2008
153 - pre-deref the passed callback object, for increased speed
154 and decreased memory usage.
155 - call on_next_submit callback even for aio_group - impact unknown,
156 but seems more correct.
157 - $req->cb now returns the original callback.
158 - (libeio) pass EIO_GROUP/aio_group requests through the queue without
159 requiring a thread switch.
160 - (libeio) status code of aio_futime and aio_utime was always passed 0.
161 - do some other ยต-optimisations.
162
1633.07 Sat Aug 2 16:06:13 CEST 2008
164 - do not include LIBS in autoconf tests.
165
1663.06 Tue Jul 15 12:41:32 CEST 2008
167 - move preadwritelock definition before it's first reference,
168 to make it compile again on broken platforms (they still exist)
169 or badly cofngiured perls (redhat...), reported by Rob Bloodgood.
170
1713.05 Thu Jun 19 23:23:52 CEST 2008
172 - work around perl overriding readdir etc. with thread-unsafe
173 (sic!) versions.
174
1753.04 Wed Jun 18 01:35:38 CEST 2008
176 - (libeio) fix eio_mknod, which confused it's arguments.
177 - (libeio) do not use readdir_r, as Ulrich Drepper pointed out that this
178 is stupid.
179 - (libeio) fix eio__readahead prototype, patch by Jost Krieger.
180 - (libeio) fix a bug that could potentially cause IO::AIO
181 not to get initialised properly.
182
1833.03 Thu May 29 05:33:30 CEST 2008
9 - (libeio) correctly call pthread_attr_destroy (). 184 - (libeio) correctly call pthread_attr_destroy ().
185 - (libeio) work around broken bsd headers once more.
186 - reduce shared library size again by not including wrappers.
187 - max_outstanding could cause poll to enter a busy-waiting loop.
188 - document the new IO::AIO::poll_cb result value.
10 189
113.02 Mon May 12 02:32:02 CEST 2008 1903.02 Mon May 12 02:32:02 CEST 2008
12 - fix a memory leak on aio_readlink. 191 - fix a memory leak on aio_readlink.
13 - bring back working fchmod. 192 - bring back working fchmod.
14 - nop and busy now set result to 0. 193 - nop and busy now set result to 0.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines