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

Comparing IO-AIO/Changes (file contents):
Revision 1.125 by root, Fri Jun 1 14:40:01 2007 UTC vs.
Revision 1.229 by root, Tue May 4 21:16:51 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: fix setsig
7TODO: 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
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
92.4 24 - add O_RDWR, O_APPEND and O_EXCL symbols and semi-documented
10 - fix aio_busy w.r.t. fractional delays. 25 them.
11 - add aio_chmod, aio_chown, aio_utime (linux successfully demonstrated 26
273.65 Wed Mar 31 02:45:05 CEST 2010
28 - actually use PATH_MAX instead of NAME_MAX for readlink, as to not
29 cut off long pathnames in aio_readlink (based on patch by
30 Rasmus Andersson).
31 - a double fork partially killed the event pipe (great testcase
32 by dormando). affects IO::AIO, BDB and Async::Interrupt.
33 - suck steve's dick and rename our symbols to avoid colliding
34 with nonstandard identifier spam on the broken os x pseudo-os.
35 affects IO::AIO and BDB.
36
373.6 Mon Jan 11 00:43:39 CET 2010
38 - (libeio) more fixes for the freebsd/apple sendfile - broken by
39 manpage standards, but apparently correct accoridng to actual
40 kernel sources.
41 - add IO::AIO::mmap/munmap support.
42 - add IO::AIO::m(un)lockall support.
43 - clean up manpage.
44
453.5 Thu Jan 7 21:25:04 CET 2010
46 - (liebio) fix freebsd sendfile (Vanilla Hsu).
47 - (libeio) also fix darwin sendfile that suffered from a similar bug.
48 - add aio_statvfs as interface to statvfs/fstatvfs.
49 - work around buggy symlink() on cygwin in the testsuite.
50 - wtf. freebsd-8.0 actually passes the testsuite! I knew
51 they could implement fork and semaphores one day! cheers!
52
533.4 Sat Jan 2 15:13:04 CET 2010
54 - (libeio) max_poll_time was not properly converted to ticks.
55 - clarify cancel_subs description.
56 - IO::AIO::sendfile did not actually return the return value
57 from the sendfile call.
58 - implement aio_msync, aio_mtouch.
59 - (libeio) tentatively support darwin in sendfile.
60
613.31 Thu Nov 12 02:14:29 CET 2009
62 - fix result status documentation of aio_copy, aio_move.
63 - speed up object creation considerably by avoiding
64 hash lookups.
65
663.3 Wed Aug 5 13:52:58 CEST 2009
67 - use common::sense.
68 - use common schmorp.h header.
69 - allow integers (file descriptors) in addition to file handles.
70 - take advantage of linux' eventfd (but it seems slower on smp?).
71 - use poll not select on posix platforms.
72
733.261 Wed Jul 1 10:11:51 CEST 2009
74 - more 0S X workarounds (patch by Tokuhiro Matsuno).
75
763.26 Tue Jun 30 09:33:26 CEST 2009
77 - 0S X of course claims to be posix 2008 but lacks posix_fadvise.
78 try to work around this horribly broken OS in a somewhat hackish
79 way. might help other os's too.
80
813.25 Sat Jun 27 05:18:26 CEST 2009
82 - added IO::AIO::fadvise and IO::AIO::sendfile.
83 - (libeio) replaced quicksort+insertion sort by a tuned radix
84 sort + insertion sort, resulting in comparable runtime (usually
85 faster) to the old version, but without any ill side effects on
86 degenerated (for quicksort) data.
87 - (libeio) correctly sort dirs by inodes if we have perfect type
88 knowledge and DIRS_FIRST is used.
89 - (libeio) internally the wrong DT_* constants were used, but no
90 known system has differing EIO_DT_*/DT_* values, so not an issue.
91 - removed a (harmless) assert that was left over on the code
92 but should not have been.
93 - use more correct types (change IO length from IV to VAL64,
94 which makes a difference on systems without 64 bit perls).
95
963.23 Sat Jun 13 16:57:58 CEST 2009
97 - fix off-by-one bug in aio_readdir that was introduced in the
98 rushed 3.22 release.
99
1003.22 Sat Jun 13 15:32:40 CEST 2009
101 - speed up readdirx sort algorithm slightly.
102 - bin/treescan was missing from distro tarball.
103
1043.21 Fri Jun 12 18:45:53 CEST 2009
105 - new options --dirs and --files for treescan.
106 - install bin/treescan by default.
107 - (libeio) aio_readdir can now be cancelled while executing.
108 - fix a printf format string for 64 bit systems (could lead
109 to problems on big endian 64 bit systems).
110 - do not use qsort() but our own algorithm: glibc initialises
111 the whole locale and I/O subsystem inside qsort, causing
112 a stack overflow on 32 bit machines. The new sort uses much less
113 stack and is more than twice as fast in typical situations.
114
1153.2 Sun Jun 7 20:30:05 CEST 2009
116 - (libeio) pwrite emulation was even more flawed than intended and did
117 not restore the file offset.
118 - add aio_readdirx, which can return inode and filetype and sort
119 the names in various ways.
120 - unfortunately, utime, chmod, chown on an open file that has just
121 been written can easily block, which caused aio_copy to block the
122 process. no more!
123 - no longer rely on dst path in aio_copy when futime is available.
124
1253.19 Tue Apr 21 22:05:21 CEST 2009
126 - more perl 5.10 workarounds for aio_read and write.
127 - aio_write no longer modifies the sv (if possible).
128 - aio_read now works correctly with magic values.
129
1303.18 Sun Apr 19 21:17:32 CEST 2009
131 - better diagnostics when some aio_* functions get passed an illegal fh.
132 - try to avoid crashes due to incompatible 5.10 API changes. grmbl.
133
1343.17 Thu Nov 20 08:45:36 CET 2008
135 - (libeio) added aio_sync_file_range (untested).
136 - add aio_busy to @IO::AIO::AIO_REQ.
137
1383.16 Wed Oct 22 18:28:01 CEST 2008
139 - use SvREFCNT_inc instead of SvREFCNT_inc_NN in a non-speed critical
140 part to improve portability to perl 5.8 (reported by szymon).
141
1423.15 Mon Oct 13 00:39:55 CEST 2008
143 - automatic removal of feeders was broken.
144 - (libeio) use a more robust method to detect whether a feeder
145 has added something to the group or not.
146
1473.1 Thu Oct 2 13:34:40 CEST 2008
148 - pre-deref the passed callback object, for increased speed
149 and decreased memory usage.
150 - call on_next_submit callback even for aio_group - impact unknown,
151 but seems more correct.
152 - $req->cb now returns the original callback.
153 - (libeio) pass EIO_GROUP/aio_group requests through the queue without
154 requiring a thread switch.
155 - (libeio) status code of aio_futime and aio_utime was always passed 0.
156 - do some other ยต-optimisations.
157
1583.07 Sat Aug 2 16:06:13 CEST 2008
159 - do not include LIBS in autoconf tests.
160
1613.06 Tue Jul 15 12:41:32 CEST 2008
162 - move preadwritelock definition before it's first reference,
163 to make it compile again on broken platforms (they still exist)
164 or badly cofngiured perls (redhat...), reported by Rob Bloodgood.
165
1663.05 Thu Jun 19 23:23:52 CEST 2008
167 - work around perl overriding readdir etc. with thread-unsafe
168 (sic!) versions.
169
1703.04 Wed Jun 18 01:35:38 CEST 2008
171 - (libeio) fix eio_mknod, which confused it's arguments.
172 - (libeio) do not use readdir_r, as Ulrich Drepper pointed out that this
173 is stupid.
174 - (libeio) fix eio__readahead prototype, patch by Jost Krieger.
175 - (libeio) fix a bug that could potentially cause IO::AIO
176 not to get initialised properly.
177
1783.03 Thu May 29 05:33:30 CEST 2008
179 - (libeio) correctly call pthread_attr_destroy ().
180 - (libeio) work around broken bsd headers once more.
181 - reduce shared library size again by not including wrappers.
182 - max_outstanding could cause poll to enter a busy-waiting loop.
183 - document the new IO::AIO::poll_cb result value.
184
1853.02 Mon May 12 02:32:02 CEST 2008
186 - fix a memory leak on aio_readlink.
187 - bring back working fchmod.
188 - nop and busy now set result to 0.
189 - set errno to ENOMEM when allocation fails.
190
1913.01 Sun May 11 03:07:03 CEST 2008
192 - (libeio) make it compile on systems without readahead or readdir_r.
193 - (libeio) improve configure check for readahead availability.
194 - do not try to link against -lrt.
195 - use a separate configure script for IO::AIO (not the libeio one).
196
1973.0 Sun May 11 00:57:14 CEST 2008
198 - added bin/treescan to the distribution.
199 - switched to using libeio.
200 - LOTS OF INCOMPATIBLE CHANGES:
201 - remove signal functionality, it is not worth the effort.
202 - max_outstanding no longer returns the previous number of requests.
203 - poll_cb no longer returns number of requests.
204
2052.62 Sat Apr 26 13:59:33 CEST 2008
206 - port to solaris perls configured for old posix
207 (analysed by Jost Krieger).
208 - keep a reference to the perl filehandle object in aio_close,
209 so it doesn't get closed prematurely, leading to ugly races.
210
2112.61 Wed Apr 16 18:45:02 CEST 2008
212 - fix treescan output duplication and improve output ordering.
213 also display files given on the commandline.
214 - use a different algorithm for aio_close that is faster
215 and probably has even lower chances of blocking.
216 - do our own stack memory management for threads - linux
217 allocates outrageous amounts of VM (not so bad unless you
218 use mlockall...), which severely limits the number of threads
219 on 32-bit arches: stack size is the larger of PTHREAD_STACK_MIN
220 and 4096 * sizeof (long) (usually this is 16..64k).
221
2222.6 Sun Mar 30 08:28:11 CEST 2008
223 - added aio_sync.
224 - added aio_pathsync.
225 - fix prototypes of (void) functions.
226
2272.51 Sat Oct 6 16:04:54 CEST 2007
228 - perlio isn't generally threadsafe, so aio_close could not work reliably.
229 aio_close now tries a safe hack that might not be that asynchronous
230 (see the manpage for details).
231 - discard callback return values as to not grow the stack endlessly
232 when poll_cb handles many requests without returning.
233 - minor code cleanups.
234
2352.5 Thu Oct 4 14:49:08 CEST 2007
236 - replaced _fd2fh with faster xs code.
237 - aio_close will now try to do "the right thing" and thus might
238 work sensibly for the very first time.
239
2402.41 Mon Sep 24 21:28:21 CEST 2007
241 - after fork, invest some work to make sure that the poll_fileno
242 stays stable (by dup2'ing the new fd over the old one), to make
243 it easier for programs/libs that don't control their forking
244 behaviour and cannot recreate their watchers.
245
2462.4 Sun Aug 5 18:44:22 CEST 2007
247 - add aio_truncate, aio_chmod, aio_chown, aio_utime (linux
12 that you can block on futimes...). 248 successfully demonstrated that you can block on futimes...).
13 - allow undef as fileoffset for aio_read/write and use read/write(2) 249 - allow undef as fileoffset for aio_read/write and use read/write(2)
14 internally (useful for sockets or O_APPEND handles). 250 internally (useful for sockets or O_APPEND handles).
251 - allow undef for length in aio_write.
252 - negative dataoffsets work as expected now in aio_read/aio_write.
15 - use NV instead of UV for 32 bit perls and file offsets, as NVs 253 - use NV instead of UV for 32 bit perls and file offsets, as NVs
16 have a larger range then. 254 have a larger range then.
17 - shared code between BDB and IO::AIO. 255 - shared code between BDB and IO::AIO.
256 - aio_busy was completely broken. now fixed.
257 - readahead emulation now returns something.
18 - correctly set errno to ENOSYS on unimplemented functions 258 - correctly set errno to ENOSYS on unimplemented functions
19 (should never happen, though). 259 (should never happen, though).
260 - large changes to make it partially compile and run on win32,
261 but win32 lacks too much functionality, and perl overrides way
262 too many functions with crashing versions.
20 263
212.33 Tue Jan 23 23:55:41 CET 2007 2642.33 Tue Jan 23 23:55:41 CET 2007
22 - fix install path (Andreas J. Koenig). 265 - fix install path (Andreas J. Koenig).
23 266
242.32 Mon Jan 22 16:56:23 CET 2007 2672.32 Mon Jan 22 16:56:23 CET 2007

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines