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

Comparing IO-AIO/Changes (file contents):
Revision 1.208 by root, Thu Nov 12 01:15:36 2009 UTC vs.
Revision 1.319 by root, Fri Aug 29 12:00:49 2014 UTC

1Revision history for IO::AIO 1Revision history for IO::AIO
2 2
3TODO: better autoconf.pm that can return LIBS etc. 3TODO: scandir - some dirs mostly contain subdirs - invert logic?
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: 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. 8TODO: aio_mincore?
9TODO: getxattr etc.?
10TODO: F_DUPFD_CLOEXEC
11TODO: emulation for splice?
12TODO: eio_mmap|mlock|munmap|splice...
13TODO: syncfs/sync windows:
14TODO: F_SETPIPE_SZ, F_GETPIPE_SZ
15TODO: FALLOC_FL_COLLAPSE_RANGE fallocate
16TODO: posix_fallocate when flags=0
17http://stackoverflow.com/questions/65170/how-to-get-name-associated-with-open-handle/5286888#5286888
18http://blogs.msdn.com/b/adioltean/archive/2005/04/16/408947.aspx
19http://msdn.microsoft.com/en-us/library/aa366789%28v=vs.85%29.aspx
20http://msdn.microsoft.com/en-us/library/windows/desktop/aa366789%28v=vs.85%29.aspx
21http://msdn.microsoft.com/en-us/library/windows/desktop/aa364425%28v=vs.85%29.aspx
22http://msdn.microsoft.com/en-us/library/windows/desktop/aa364963%28v=vs.85%29.aspx
23http://msdn.microsoft.com/en-us/library/windows/desktop/aa364996%28v=vs.85%29.aspx
24http://msdn.microsoft.com/en-us/library/windows/desktop/aa364994%28v=vs.85%29.aspx
25TODO: extra socket/tcp constants &c?
26
27TODO: rewrite rmtree et al. to support working directories (also speed them up)
28TODO: maybe IO::AIO leaks fds when requests are cancelled? maybe initialise result to -1?
294.31 Tue Jun 3 03:29:27 CEST 2014
30 - work around more 5.20 bugs. backwards compatibility my ass.
31
324.3 Fri Apr 11 06:22:38 CEST 2014
33 - perl5porters broke Async::Interrupt, BDB, EV, IO::AIO, OpenCL
34 without warning by switching the meaning of USE_SOCKETS_AS_HANDLES
35 in 5.18. What's so attractive about giving a shit about backwards
36 compatibility - I will never understand.
37
384.2 Sat Jan 25 01:13:14 CET 2014
39 - aio_group could corrupt memory because it didn't restore
40 the stack after req_submit.
41 - be more careful on (e.g. permission) errors in bin/treescan.
42 - work around changes in ExtUtils::MakeMaker.
43 - (libeio) implement aio_realpath for win32.
44 - (xthread) work around compile time bugs in ptw32.
45 - added IO::AIO::pipesize.
46 - (libecb) insignificant update.
47
484.19 Sun Jan 6 12:47:26 CET 2013
49 - avoid endless loop in fiemap with some XFS files.
50 - in aio_rename and aio_rmdir, specialcase the case of [$wd, "."]
51 and call rename/rmdir instead of renameat/unlinkat.
52
534.18 Thu Oct 11 07:01:26 CEST 2012
54 - fix unintended xthread_create by intentionalising it :)
55
564.17 Thu Oct 11 05:19:47 CEST 2012
57 - rename aio_fallocate to aio_allocate, to match documentation.
58 - add list of linux fsid values to aio_statvfs docs.
59 - work around a bug in btrfs' FIEMAP ioctl implementation.
60 - work around AIX bug: statvfs.f_fsid is a struct, not unsigned long
61 as per unix spec.
62
634.16 Tue Aug 14 05:39:03 CEST 2012
64 - aio_statvfs was wromgly marked for wd emulation, causing
65 it to malfunction for paths.
66 - fix a crash in aio_fiemap, when used on ranges without any
67 extents.
68 - work around linux kernel bug (at least in 3.2): kernel might
69 trash fiemap input arguments.
70 - work around linux kernel bug (at least in 3.2): kernel does not
71 set FIEMAP_EXTENT_LAST on last segment.
72 - work around linux kernel bug (at least in 3.2): kernel silently
73 truncates segment count if a file.
74 - make fh argument of IO::AIO::mmap optional, also add mmap/munmap
75 to quick overview.
76 - splice can corrupt data.
77 - (libeio) remove pread/pwrite emulation.
78 - do not grow mmaped scalars in aio_read.
79 - add FALLOC_FL_PUNCH_HOLE and document fallocate.
80 - provide pread/pwrite for win32, making it link again on native win32.
81
824.15 Tue Apr 10 06:59:00 CEST 2012
83 - always include linux/types.h for fiemap, for compatibility to
84 ancient systems (Paul Howarth).
85 - experimental support for IO::AIO::splice and ::tee (no aio_...).
86 - provide SEEK_HOLE and SEEK_DATA, if available.
87 - work around (again!) an immensely stupid bug in RHEL, defining
88 autoconf macros in linux system headers (analysed by Paul Howarth).
89
904.14 Sat Apr 7 02:45:18 CEST 2012
91 - fix stat structure usage on windows, which caused bogus stat results.
92 - (libeio) make readahead emulation behave more like actual readahead by never failing.
93 - new request aio_seek.
94 - new request aio_fiemap.
95 - autogenerate the #ifdef/#define 0 blocks for symbols we export.
96
974.12 Fri Dec 30 08:51:25 CET 2011
98 - realpath would return a random value if the name was too long,
99 instead of -1.
100 - port to c89.
101
1024.11 Mon Oct 10 00:24:11 CEST 2011
103 - libeio didn't compile on !linux (Paul Howarth).
104
1054.1 Sun Oct 9 10:24:11 CEST 2011
106 - IO::AIO did access uninitialised memory on unsuccessful stats.
107 - (libeio) added syncfs syscall wrapper.
108 - (libeio) set thread name on linux (ps -L/Hcx, top, gdb).
109 - (libeio) support multiple indepenent working directories.
110 - applied speling corrections by Nicholas Bamber.
111 - tune treescan #threads and #outstanding requests a bit.
112 - reduce the number of file descriptors in use at any one time
113 in treescan, to avoid running out of them (and using too much ram).
114 - take advantage of working directoriy abstractions
115 in aio_scandir and treescan.
116 - reduce compiled size by ~10% by not inlining some key functionality.
117 - added --progress switch to treescan.
118
1194.0 Mon Jul 18 05:01:10 CEST 2011
120 - INCOMPATIBLE CHANGE: fork is no longer supported (indeed, it never was),
121 see FORK BEHAVIOUR in manpage for details.
122 - passes testsuite on win32 now and may actually work
123 (activestate 5.10.1 / MSVC6, YMMV).
124 - (libeio) fix a deadlock where a wakeup signal could be missed when
125 a timeout occured at the same time.
126 - (libeio) added realpath.
127 - (libeio) added fallocate.
128 - (libeio) disabling sendfile on darwin unfortunately broke the emulation.
129 - (libeio) do not acquire any locks when forking.
130 - (libeio) use fewer time() syscalls when waiting for new requests.
131
1323.93 Wed Jun 29 23:44:18 CEST 2011
133 - ECB.H WAS MISSING.
134
1353.92 Wed Jun 29 14:45:41 CEST 2011
136 - ecb.h was missing.
137
1383.91 Wed Jun 29 13:24:42 CEST 2011
139 - (libeio) work around a Linux (and likely FreeBSD and other
140 kernels) bug where sendfile would not transfer all the requested
141 bytes on large transfers, using a heuristic.
142 - buggy sendfile caused aio_move/copy to sometimes fail for big
143 files (fortunately it checks that the whole file has been
144 transferred...)
145 - use libecb for higher performance and higher portability.
146 - (libeio) disable sendfile on darwin, it's too broken.
147 - disable fork tests on !linux, as only linux supports mixing
148 pthread and fork in perl.
149 - document the fact that fork doesn't work anymore when using
150 this module, on anything !GNU/Linux.
151 - increase timeout in t/04_fork.t, as too many CPAN-tester setups
152 run on a 0.1MHz cpu. Or so.
153
1543.9 Fri May 27 02:43:47 CEST 2011
155 - (libeio) fix memory corruption in aio_readdirx for the flags
156 combination READDIR_STAT_ORDER | READDIR_DIRS_FIRST.
157 - add lots of newer POSIX and GNU/Linux-specific open
158 flags.
159
1603.8 Sun Mar 27 12:25:33 CEST 2011
161 - use nonstandard but maybe-working-on-bsd fork technique.
162 - support a max_idle value of 0.
163 - support setting of idle timeout value (IO::AIO::idle_timeout).
164
1653.72 Fri Feb 11 04:25:38 CET 2011
166 - use _POSIX_MEMLOCK_RANGE to detect mlock/munlock.
167 - aio_mknod always used a dev_t value of 0.
168 - new treescan option: --grep.
169 - add more S_IF macros, and major/minor/makedev "macros".
170
1713.71 Thu Dec 30 08:18:46 CET 2010
172 - the numerical result value passed to callbacks did not stringify
173 correctly, due to internal reuse and failure to reset the sv flags.
174 - actually test for posix_[mf]advise, as at least uClibc defines
175 _POSIX_ADVISORY_INFO without actually having any of the required
176 funcitonality. ugh.
177
1783.7 Mon Nov 1 23:00:34 CET 2010
179 - implement/add madvise, mmap, munmap, aio_mlockall, munlockall,
180 aio_mlock, munlock, msync and mtouch to @EXPORT_OK.
181 - document the sad state of affairs w.r.t. pthread on many bsds.
182 - do not enable mmap on systems without _POSIX_MAPPED_FILES
183 (openbsd 4.8).
184 - do not leak memory in IO::AIO::mmap when the scalar already
185 had string-data.
186 - add O_RDWR, O_APPEND and O_EXCL symbols and semi-document
187 them.
188 - cache the result IV, for a minor speedup in the common case.
189 - croak when an mmapped-scalar changes location, to detect
190 user-errors better.
191 - fix aio_readlink prototype.
192
1933.65 Wed Mar 31 02:45:05 CEST 2010
194 - actually use PATH_MAX instead of NAME_MAX for readlink, as to not
195 cut off long pathnames in aio_readlink (based on patch by
196 Rasmus Andersson).
197 - a double fork partially killed the event pipe (great testcase
198 by dormando). affects IO::AIO, BDB and Async::Interrupt.
199 - suck steve's dick and rename our symbols to avoid colliding
200 with nonstandard identifier spam on the broken os x pseudo-os.
201 affects IO::AIO and BDB.
202
2033.6 Mon Jan 11 00:43:39 CET 2010
204 - (libeio) more fixes for the freebsd/apple sendfile - broken by
205 manpage standards, but apparently correct accoridng to actual
206 kernel sources.
207 - add IO::AIO::mmap/munmap support.
208 - add IO::AIO::m(un)lockall support.
209 - clean up manpage.
210
2113.5 Thu Jan 7 21:25:04 CET 2010
212 - (liebio) fix freebsd sendfile (Vanilla Hsu).
213 - (libeio) also fix darwin sendfile that suffered from a similar bug.
214 - add aio_statvfs as interface to statvfs/fstatvfs.
215 - work around buggy symlink() on cygwin in the testsuite.
216 - wtf. freebsd-8.0 actually passes the testsuite! I knew
217 they could implement fork and semaphores one day! cheers!
218
2193.4 Sat Jan 2 15:13:04 CET 2010
220 - (libeio) max_poll_time was not properly converted to ticks.
221 - clarify cancel_subs description.
222 - IO::AIO::sendfile did not actually return the return value
223 from the sendfile call.
224 - implement aio_msync, aio_mtouch.
225 - (libeio) tentatively support darwin in sendfile.
9 226
103.31 Thu Nov 12 02:14:29 CET 2009 2273.31 Thu Nov 12 02:14:29 CET 2009
11 - fix result status documentation of aio_copy, aio_move. 228 - fix result status documentation of aio_copy, aio_move.
12 - speed up object creation considerably by avoiding 229 - speed up object creation considerably by avoiding
13 hash lookups. 230 hash lookups.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines