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? (http://kerneltrap.org/node/6505 http://lwn.net/Articles/178199/) |
|
|
7 | TODO: aio_fcntl, at least for file-locking |
|
|
8 | |
|
|
9 | 3.19 Tue Apr 21 22:05:21 CEST 2009 |
|
|
10 | - more perl 5.10 workarounds for aio_read and write. |
|
|
11 | - aio_write no longer modifies the sv (if possible). |
|
|
12 | - aio_read now works correctly with magic values. |
|
|
13 | |
|
|
14 | 3.18 Sun Apr 19 21:17:32 CEST 2009 |
|
|
15 | - better diagnostics when some aio_* functions get passed an illegal fh. |
|
|
16 | - try to avoid crashes due to incompatible 5.10 API changes. grmbl. |
|
|
17 | |
|
|
18 | 3.17 Thu Nov 20 08:45:36 CET 2008 |
|
|
19 | - (libeio) added aio_sync_file_range (untested). |
|
|
20 | - add aio_busy to @IO::AIO::AIO_REQ. |
|
|
21 | |
|
|
22 | 3.16 Wed Oct 22 18:28:01 CEST 2008 |
|
|
23 | - use SvREFCNT_inc instead of SvREFCNT_inc_NN in a non-speed critical |
|
|
24 | part to improve portability to perl 5.8 (reported by szymon). |
|
|
25 | |
|
|
26 | 3.15 Mon Oct 13 00:39:55 CEST 2008 |
|
|
27 | - automatic removal of feeders was broken. |
|
|
28 | - (libeio) use a more robust method to detect whether a feeder |
|
|
29 | has added something to the group or not. |
|
|
30 | |
|
|
31 | 3.1 Thu Oct 2 13:34:40 CEST 2008 |
|
|
32 | - pre-deref the passed callback object, for increased speed |
|
|
33 | and decreased memory usage. |
|
|
34 | - call on_next_submit callback even for aio_group - impact unknown, |
|
|
35 | but seems more correct. |
|
|
36 | - $req->cb now returns the original callback. |
|
|
37 | - (libeio) pass EIO_GROUP/aio_group requests through the queue without |
|
|
38 | requiring a thread switch. |
|
|
39 | - (libeio) status code of aio_futime and aio_utime was always passed 0. |
|
|
40 | - do some other ยต-optimisations. |
|
|
41 | |
|
|
42 | 3.07 Sat Aug 2 16:06:13 CEST 2008 |
|
|
43 | - do not include LIBS in autoconf tests. |
|
|
44 | |
|
|
45 | 3.06 Tue Jul 15 12:41:32 CEST 2008 |
|
|
46 | - move preadwritelock definition before it's first reference, |
|
|
47 | to make it compile again on broken platforms (they still exist) |
|
|
48 | or badly cofngiured perls (redhat...), reported by Rob Bloodgood. |
|
|
49 | |
|
|
50 | 3.05 Thu Jun 19 23:23:52 CEST 2008 |
|
|
51 | - work around perl overriding readdir etc. with thread-unsafe |
|
|
52 | (sic!) versions. |
|
|
53 | |
|
|
54 | 3.04 Wed Jun 18 01:35:38 CEST 2008 |
|
|
55 | - (libeio) fix eio_mknod, which confused it's arguments. |
|
|
56 | - (libeio) do not use readdir_r, as Ulrich Drepper pointed out that this |
|
|
57 | is stupid. |
|
|
58 | - (libeio) fix eio__readahead prototype, patch by Jost Krieger. |
|
|
59 | - (libeio) fix a bug that could potentially cause IO::AIO |
|
|
60 | not to get initialised properly. |
|
|
61 | |
|
|
62 | 3.03 Thu May 29 05:33:30 CEST 2008 |
|
|
63 | - (libeio) correctly call pthread_attr_destroy (). |
|
|
64 | - (libeio) work around broken bsd headers once more. |
|
|
65 | - reduce shared library size again by not including wrappers. |
|
|
66 | - max_outstanding could cause poll to enter a busy-waiting loop. |
|
|
67 | - document the new IO::AIO::poll_cb result value. |
|
|
68 | |
|
|
69 | 3.02 Mon May 12 02:32:02 CEST 2008 |
|
|
70 | - fix a memory leak on aio_readlink. |
|
|
71 | - bring back working fchmod. |
|
|
72 | - nop and busy now set result to 0. |
|
|
73 | - set errno to ENOMEM when allocation fails. |
|
|
74 | |
|
|
75 | 3.01 Sun May 11 03:07:03 CEST 2008 |
|
|
76 | - (libeio) make it compile on systems without readahead or readdir_r. |
|
|
77 | - (libeio) improve configure check for readahead availability. |
|
|
78 | - do not try to link against -lrt. |
|
|
79 | - use a separate configure script for IO::AIO (not the libeio one). |
|
|
80 | |
|
|
81 | 3.0 Sun May 11 00:57:14 CEST 2008 |
|
|
82 | - added bin/treescan to the distribution. |
|
|
83 | - switched to using libeio. |
|
|
84 | - LOTS OF INCOMPATIBLE CHANGES: |
|
|
85 | - remove signal functionality, it is not worth the effort. |
|
|
86 | - max_outstanding no longer returns the previous number of requests. |
|
|
87 | - poll_cb no longer returns number of requests. |
|
|
88 | |
|
|
89 | 2.62 Sat Apr 26 13:59:33 CEST 2008 |
|
|
90 | - port to solaris perls configured for old posix |
|
|
91 | (analysed by Jost Krieger). |
|
|
92 | - keep a reference to the perl filehandle object in aio_close, |
|
|
93 | so it doesn't get closed prematurely, leading to ugly races. |
|
|
94 | |
|
|
95 | 2.61 Wed Apr 16 18:45:02 CEST 2008 |
|
|
96 | - fix treescan output duplication and improve output ordering. |
|
|
97 | also display files given on the commandline. |
|
|
98 | - use a different algorithm for aio_close that is faster |
|
|
99 | and probably has even lower chances of blocking. |
|
|
100 | - do our own stack memory management for threads - linux |
|
|
101 | allocates outrageous amounts of VM (not so bad unless you |
|
|
102 | use mlockall...), which severely limits the number of threads |
|
|
103 | on 32-bit arches: stack size is the larger of PTHREAD_STACK_MIN |
|
|
104 | and 4096 * sizeof (long) (usually this is 16..64k). |
|
|
105 | |
|
|
106 | 2.6 Sun Mar 30 08:28:11 CEST 2008 |
|
|
107 | - added aio_sync. |
|
|
108 | - added aio_pathsync. |
|
|
109 | - fix prototypes of (void) functions. |
|
|
110 | |
|
|
111 | 2.51 Sat Oct 6 16:04:54 CEST 2007 |
|
|
112 | - perlio isn't generally threadsafe, so aio_close could not work reliably. |
|
|
113 | aio_close now tries a safe hack that might not be that asynchronous |
|
|
114 | (see the manpage for details). |
|
|
115 | - discard callback return values as to not grow the stack endlessly |
|
|
116 | when poll_cb handles many requests without returning. |
|
|
117 | - minor code cleanups. |
|
|
118 | |
|
|
119 | 2.5 Thu Oct 4 14:49:08 CEST 2007 |
|
|
120 | - replaced _fd2fh with faster xs code. |
|
|
121 | - aio_close will now try to do "the right thing" and thus might |
|
|
122 | work sensibly for the very first time. |
8 | |
123 | |
9 | 2.41 Mon Sep 24 21:28:21 CEST 2007 |
124 | 2.41 Mon Sep 24 21:28:21 CEST 2007 |
10 | - after fork, invest some work to make sure that the poll_fileno |
125 | - after fork, invest some work to make sure that the poll_fileno |
11 | stays stable (by dup2'ing the new fd over the old one), to make |
126 | stays stable (by dup2'ing the new fd over the old one), to make |
12 | it easier for programs/libs that don't control their forking |
127 | it easier for programs/libs that don't control their forking |