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

Comparing IO-AIO/Changes (file contents):
Revision 1.188 by root, Sun Jun 7 22:37:54 2009 UTC vs.
Revision 1.278 by root, Tue Sep 27 02:16:49 2011 UTC

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? (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: aio_mincore?
9TODO: getxattr etc.?
10TODO: F_DUPFD_CLOEXEC
8 11
12TODO: rewrite scandir etc. to take avdantage of IO::AIO::WD
13TODO: slowdown!!!! perl -Mblib bin/treescan -sq /root/src
14TODO: treescan using extra fds
15 - IO::AIO did access uninitialised memory on unsuccessful stats.
16 - (libeio) added syncfs syscall wrapper.
17 - (libeio) set thread name on linux (ps -L/Hcx, top, gdb).
18 - (libeio) support multiple indepenent working directories.
19 - applied speling corrections by Nicholas Bamber.
20
214.0 Mon Jul 18 05:01:10 CEST 2011
22 - INCOMPATIBLE CHANGE: fork is no longer supported (indeed, it never was),
23 see FORK BEHAVIOUR in manpage for details.
24 - passes testsuite on win32 now and may actually work
25 (activestate 5.10.1 / MSVC6, YMMV).
26 - (libeio) fix a deadlock where a wakeup signal could be missed when
27 a timeout occured at the same time.
28 - (libeio) added realpath.
29 - (libeio) added fallocate.
30 - (libeio) disabling sendfile on darwin unfortunately broke the emulation.
31 - (libeio) do not acquire any locks when forking.
32 - (libeio) use fewer time() syscalls when waiting for new requests.
33
343.93 Wed Jun 29 23:44:18 CEST 2011
35 - ECB.H WAS MISSING.
36
373.92 Wed Jun 29 14:45:41 CEST 2011
38 - ecb.h was missing.
39
403.91 Wed Jun 29 13:24:42 CEST 2011
41 - (libeio) work around a Linux (and likely FreeBSD and other
42 kernels) bug where sendfile would not transfer all the requested
43 bytes on large transfers, using a heuristic.
44 - buggy sendfile caused aio_move/copy to sometimes fail for big
45 files (fortunately it checks that the whole file has been
46 transferred...)
47 - use libecb for higher performance and higher portability.
48 - (libeio) disable sendfile on darwin, it's too broken.
49 - disable fork tests on !linux, as only linux supports mixing
50 pthread and fork in perl.
51 - document the fact that fork doesn't work anymore when using
52 this module, on anything !GNU/Linux.
53 - increase timeout in t/04_fork.t, as too many CPAN-tester setups
54 run on a 0.1MHz cpu. Or so.
55
563.9 Fri May 27 02:43:47 CEST 2011
57 - (libeio) fix memory corruption in aio_readdirx for the flags
58 combination READDIR_STAT_ORDER | READDIR_DIRS_FIRST.
59 - add lots of newer POSIX and GNU/Linux-specific open
60 flags.
61
623.8 Sun Mar 27 12:25:33 CEST 2011
63 - use nonstandard but maybe-working-on-bsd fork technique.
64 - support a max_idle value of 0.
65 - support setting of idle timeout value (IO::AIO::idle_timeout).
66
673.72 Fri Feb 11 04:25:38 CET 2011
68 - use _POSIX_MEMLOCK_RANGE to detect mlock/munlock.
69 - aio_mknod always used a dev_t value of 0.
70 - new treescan option: --grep.
71 - add more S_IF macros, and major/minor/makedev "macros".
72
733.71 Thu Dec 30 08:18:46 CET 2010
74 - the numerical result value passed to callbacks did not stringify
75 correctly, due to internal reuse and failure to reset the sv flags.
76 - actually test for posix_[mf]advise, as at least uClibc defines
77 _POSIX_ADVISORY_INFO without actually having any of the required
78 funcitonality. ugh.
79
803.7 Mon Nov 1 23:00:34 CET 2010
81 - implement/add madvise, mmap, munmap, aio_mlockall, munlockall,
82 aio_mlock, munlock, msync and mtouch to @EXPORT_OK.
83 - document the sad state of affairs w.r.t. pthread on many bsds.
84 - do not enable mmap on systems without _POSIX_MAPPED_FILES
85 (openbsd 4.8).
86 - do not leak memory in IO::AIO::mmap when the scalar already
87 had string-data.
88 - add O_RDWR, O_APPEND and O_EXCL symbols and semi-document
89 them.
90 - cache the result IV, for a minor speedup in the common case.
91 - croak when an mmapped-scalar changes location, to detect
92 user-errors better.
93 - fix aio_readlink prototype.
94
953.65 Wed Mar 31 02:45:05 CEST 2010
96 - actually use PATH_MAX instead of NAME_MAX for readlink, as to not
97 cut off long pathnames in aio_readlink (based on patch by
98 Rasmus Andersson).
99 - a double fork partially killed the event pipe (great testcase
100 by dormando). affects IO::AIO, BDB and Async::Interrupt.
101 - suck steve's dick and rename our symbols to avoid colliding
102 with nonstandard identifier spam on the broken os x pseudo-os.
103 affects IO::AIO and BDB.
104
1053.6 Mon Jan 11 00:43:39 CET 2010
106 - (libeio) more fixes for the freebsd/apple sendfile - broken by
107 manpage standards, but apparently correct accoridng to actual
108 kernel sources.
109 - add IO::AIO::mmap/munmap support.
110 - add IO::AIO::m(un)lockall support.
111 - clean up manpage.
112
1133.5 Thu Jan 7 21:25:04 CET 2010
114 - (liebio) fix freebsd sendfile (Vanilla Hsu).
115 - (libeio) also fix darwin sendfile that suffered from a similar bug.
116 - add aio_statvfs as interface to statvfs/fstatvfs.
117 - work around buggy symlink() on cygwin in the testsuite.
118 - wtf. freebsd-8.0 actually passes the testsuite! I knew
119 they could implement fork and semaphores one day! cheers!
120
1213.4 Sat Jan 2 15:13:04 CET 2010
122 - (libeio) max_poll_time was not properly converted to ticks.
123 - clarify cancel_subs description.
124 - IO::AIO::sendfile did not actually return the return value
125 from the sendfile call.
126 - implement aio_msync, aio_mtouch.
127 - (libeio) tentatively support darwin in sendfile.
128
1293.31 Thu Nov 12 02:14:29 CET 2009
130 - fix result status documentation of aio_copy, aio_move.
131 - speed up object creation considerably by avoiding
132 hash lookups.
133
1343.3 Wed Aug 5 13:52:58 CEST 2009
135 - use common::sense.
136 - use common schmorp.h header.
137 - allow integers (file descriptors) in addition to file handles.
138 - take advantage of linux' eventfd (but it seems slower on smp?).
139 - use poll not select on posix platforms.
140
1413.261 Wed Jul 1 10:11:51 CEST 2009
142 - more 0S X workarounds (patch by Tokuhiro Matsuno).
143
1443.26 Tue Jun 30 09:33:26 CEST 2009
145 - 0S X of course claims to be posix 2008 but lacks posix_fadvise.
146 try to work around this horribly broken OS in a somewhat hackish
147 way. might help other os's too.
148
1493.25 Sat Jun 27 05:18:26 CEST 2009
150 - added IO::AIO::fadvise and IO::AIO::sendfile.
151 - (libeio) replaced quicksort+insertion sort by a tuned radix
152 sort + insertion sort, resulting in comparable runtime (usually
153 faster) to the old version, but without any ill side effects on
154 degenerated (for quicksort) data.
155 - (libeio) correctly sort dirs by inodes if we have perfect type
156 knowledge and DIRS_FIRST is used.
157 - (libeio) internally the wrong DT_* constants were used, but no
158 known system has differing EIO_DT_*/DT_* values, so not an issue.
159 - removed a (harmless) assert that was left over on the code
160 but should not have been.
161 - use more correct types (change IO length from IV to VAL64,
162 which makes a difference on systems without 64 bit perls).
163
1643.23 Sat Jun 13 16:57:58 CEST 2009
165 - fix off-by-one bug in aio_readdir that was introduced in the
166 rushed 3.22 release.
167
1683.22 Sat Jun 13 15:32:40 CEST 2009
169 - speed up readdirx sort algorithm slightly.
170 - bin/treescan was missing from distro tarball.
171
1723.21 Fri Jun 12 18:45:53 CEST 2009
9 - new options --dirs and --files for treescan. 173 - new options --dirs and --files for treescan.
10 - install bin/treescan by default. 174 - install bin/treescan by default.
175 - (libeio) aio_readdir can now be cancelled while executing.
176 - fix a printf format string for 64 bit systems (could lead
177 to problems on big endian 64 bit systems).
178 - do not use qsort() but our own algorithm: glibc initialises
179 the whole locale and I/O subsystem inside qsort, causing
180 a stack overflow on 32 bit machines. The new sort uses much less
181 stack and is more than twice as fast in typical situations.
11 182
123.2 Sun Jun 7 20:30:05 CEST 2009 1833.2 Sun Jun 7 20:30:05 CEST 2009
13 - (libeio) pwrite emulation was even more flawed than intended and did 184 - (libeio) pwrite emulation was even more flawed than intended and did
14 not restore the file offset. 185 not restore the file offset.
15 - add aio_readdirx, which can return inode and filetype and sort 186 - add aio_readdirx, which can return inode and filetype and sort

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines