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

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines