1 | Revision history for IO::AIO |
1 | Revision history for IO::AIO |
2 | |
2 | |
3 | TODO: better autoconf.pm that can return LIBS etc. |
3 | TODO: better autoconf.pm that can return LIBS etc. |
4 | TODO: aio_cptree/mvtree |
4 | TODO: aio_cptree/mvtree |
5 | TODO: reduce condvar fairness: schedule hot-cache-threads first? |
5 | TODO: reduce condvar fairness: schedule hot-cache-threads first? |
6 | TODO: fix setsig |
|
|
7 | TODO: splice/tee/vmsplice/sync_file_range? (http://kerneltrap.org/node/6505 http://lwn.net/Articles/178199/) |
6 | TODO: splice/tee/vmsplice/sync_file_range? (http://kerneltrap.org/node/6505 http://lwn.net/Articles/178199/) |
|
|
7 | TODO: aio_fcntl, at least for file-locking |
8 | |
8 | |
9 | 2.4 |
9 | 3.0 |
10 | - fix aio_busy w.r.t. fractional delays. |
10 | - added bin/treescan to the distribution. |
11 | - add aio_chmod, aio_chown, aio_utime (linux successfully demonstrated |
11 | - switched to using libeio. |
|
|
12 | - LOTS OF INCOMPATIBLE CHANGES: |
|
|
13 | - remove signal functionality, it is not worth the effort. |
|
|
14 | - max_outstanding no longer returns the previous number of requests. |
|
|
15 | - poll_cb no longer returns number of requests. |
|
|
16 | |
|
|
17 | 2.62 Sat Apr 26 13:59:33 CEST 2008 |
|
|
18 | - port to solaris perls configured for old posix |
|
|
19 | (analysed by Jost Krieger). |
|
|
20 | - keep a reference to the perl filehandle object in aio_close, |
|
|
21 | so it doesn't get closed prematurely, leading to ugly races. |
|
|
22 | |
|
|
23 | 2.61 Wed Apr 16 18:45:02 CEST 2008 |
|
|
24 | - fix treescan output duplication and improve output ordering. |
|
|
25 | also display files given on the commandline. |
|
|
26 | - use a different algorithm for aio_close that is faster |
|
|
27 | and probably has even lower chances of blocking. |
|
|
28 | - do our own stack memory management for threads - linux |
|
|
29 | allocates outrageous amounts of VM (not so bad unless you |
|
|
30 | use mlockall...), which severely limits the number of threads |
|
|
31 | on 32-bit arches: stack size is the larger of PTHREAD_STACK_MIN |
|
|
32 | and 4096 * sizeof (long) (usually this is 16..64k). |
|
|
33 | |
|
|
34 | 2.6 Sun Mar 30 08:28:11 CEST 2008 |
|
|
35 | - added aio_sync. |
|
|
36 | - added aio_pathsync. |
|
|
37 | - fix prototypes of (void) functions. |
|
|
38 | |
|
|
39 | 2.51 Sat Oct 6 16:04:54 CEST 2007 |
|
|
40 | - perlio isn't generally threadsafe, so aio_close could not work reliably. |
|
|
41 | aio_close now tries a safe hack that might not be that asynchronous |
|
|
42 | (see the manpage for details). |
|
|
43 | - discard callback return values as to not grow the stack endlessly |
|
|
44 | when poll_cb handles many requests without returning. |
|
|
45 | - minor code cleanups. |
|
|
46 | |
|
|
47 | 2.5 Thu Oct 4 14:49:08 CEST 2007 |
|
|
48 | - replaced _fd2fh with faster xs code. |
|
|
49 | - aio_close will now try to do "the right thing" and thus might |
|
|
50 | work sensibly for the very first time. |
|
|
51 | |
|
|
52 | 2.41 Mon Sep 24 21:28:21 CEST 2007 |
|
|
53 | - after fork, invest some work to make sure that the poll_fileno |
|
|
54 | stays stable (by dup2'ing the new fd over the old one), to make |
|
|
55 | it easier for programs/libs that don't control their forking |
|
|
56 | behaviour and cannot recreate their watchers. |
|
|
57 | |
|
|
58 | 2.4 Sun Aug 5 18:44:22 CEST 2007 |
|
|
59 | - add aio_truncate, aio_chmod, aio_chown, aio_utime (linux |
12 | that you can block on futimes...). |
60 | successfully demonstrated that you can block on futimes...). |
13 | - allow undef as fileoffset for aio_read/write and use read/write(2) |
61 | - allow undef as fileoffset for aio_read/write and use read/write(2) |
14 | internally (useful for sockets or O_APPEND handles). |
62 | internally (useful for sockets or O_APPEND handles). |
|
|
63 | - allow undef for length in aio_write. |
|
|
64 | - 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 |
65 | - use NV instead of UV for 32 bit perls and file offsets, as NVs |
16 | have a larger range then. |
66 | have a larger range then. |
17 | - shared code between BDB and IO::AIO. |
67 | - shared code between BDB and IO::AIO. |
|
|
68 | - aio_busy was completely broken. now fixed. |
|
|
69 | - readahead emulation now returns something. |
18 | - correctly set errno to ENOSYS on unimplemented functions |
70 | - correctly set errno to ENOSYS on unimplemented functions |
19 | (should never happen, though). |
71 | (should never happen, though). |
|
|
72 | - large changes to make it partially compile and run on win32, |
|
|
73 | but win32 lacks too much functionality, and perl overrides way |
|
|
74 | too many functions with crashing versions. |
20 | |
75 | |
21 | 2.33 Tue Jan 23 23:55:41 CET 2007 |
76 | 2.33 Tue Jan 23 23:55:41 CET 2007 |
22 | - fix install path (Andreas J. Koenig). |
77 | - fix install path (Andreas J. Koenig). |
23 | |
78 | |
24 | 2.32 Mon Jan 22 16:56:23 CET 2007 |
79 | 2.32 Mon Jan 22 16:56:23 CET 2007 |