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: 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 |
7 | TODO: aio_fcntl, at least for file-locking |
|
|
8 | TODO: fallocate, if it wouldn't be so useless. |
8 | |
9 | |
|
|
10 | - (libeio) replaced quicksort+insertion sort by a tuned radix |
|
|
11 | sort + insertion sort, resulting in comparable runtime (usually |
|
|
12 | faster) to the old version, but without any ill side effects on |
|
|
13 | degenerated (for quicksort) data. |
|
|
14 | - (libeio) correctly sort dirs by inodes if we have perfect type |
|
|
15 | knowledge and DIRS_FIRST is used. |
|
|
16 | - (libeio) internally the wrong DT_* constants were used, but no |
|
|
17 | known system has differing EIO_DT_*/DT_* values, so not an issue. |
|
|
18 | - removed a (harmless) assert that was left over on the code |
|
|
19 | but should not have been. |
|
|
20 | - added IO::AIO::fadvise and IO::AIO::sendfile. |
|
|
21 | - use more correct types (change IO length from IV to VAL64, |
|
|
22 | which makes a difference on systems without 64 bit perls). |
|
|
23 | |
|
|
24 | 3.23 Sat Jun 13 16:57:58 CEST 2009 |
|
|
25 | - fix off-by-one bug in aio_readdir that was introduced in the |
|
|
26 | rushed 3.22 release. |
|
|
27 | |
|
|
28 | 3.22 Sat Jun 13 15:32:40 CEST 2009 |
|
|
29 | - speed up readdirx sort algorithm slightly. |
|
|
30 | - bin/treescan was missing from distro tarball. |
|
|
31 | |
|
|
32 | 3.21 Fri Jun 12 18:45:53 CEST 2009 |
|
|
33 | - new options --dirs and --files for treescan. |
|
|
34 | - install bin/treescan by default. |
|
|
35 | - (libeio) aio_readdir can now be cancelled while executing. |
|
|
36 | - fix a printf format string for 64 bit systems (could lead |
|
|
37 | to problems on big endian 64 bit systems). |
|
|
38 | - do not use qsort() but our own algorithm: glibc initialises |
|
|
39 | the whole locale and I/O subsystem inside qsort, causing |
|
|
40 | a stack overflow on 32 bit machines. The new sort uses much less |
|
|
41 | stack and is more than twice as fast in typical situations. |
|
|
42 | |
|
|
43 | 3.2 Sun Jun 7 20:30:05 CEST 2009 |
|
|
44 | - (libeio) pwrite emulation was even more flawed than intended and did |
|
|
45 | not restore the file offset. |
|
|
46 | - add aio_readdirx, which can return inode and filetype and sort |
|
|
47 | the names in various ways. |
|
|
48 | - unfortunately, utime, chmod, chown on an open file that has just |
|
|
49 | been written can easily block, which caused aio_copy to block the |
|
|
50 | process. no more! |
|
|
51 | - no longer rely on dst path in aio_copy when futime is available. |
|
|
52 | |
|
|
53 | 3.19 Tue Apr 21 22:05:21 CEST 2009 |
|
|
54 | - more perl 5.10 workarounds for aio_read and write. |
|
|
55 | - aio_write no longer modifies the sv (if possible). |
|
|
56 | - aio_read now works correctly with magic values. |
|
|
57 | |
|
|
58 | 3.18 Sun Apr 19 21:17:32 CEST 2009 |
|
|
59 | - better diagnostics when some aio_* functions get passed an illegal fh. |
|
|
60 | - try to avoid crashes due to incompatible 5.10 API changes. grmbl. |
|
|
61 | |
|
|
62 | 3.17 Thu Nov 20 08:45:36 CET 2008 |
|
|
63 | - (libeio) added aio_sync_file_range (untested). |
|
|
64 | - add aio_busy to @IO::AIO::AIO_REQ. |
|
|
65 | |
|
|
66 | 3.16 Wed Oct 22 18:28:01 CEST 2008 |
|
|
67 | - use SvREFCNT_inc instead of SvREFCNT_inc_NN in a non-speed critical |
|
|
68 | part to improve portability to perl 5.8 (reported by szymon). |
|
|
69 | |
|
|
70 | 3.15 Mon Oct 13 00:39:55 CEST 2008 |
|
|
71 | - automatic removal of feeders was broken. |
|
|
72 | - (libeio) use a more robust method to detect whether a feeder |
|
|
73 | has added something to the group or not. |
|
|
74 | |
|
|
75 | 3.1 Thu Oct 2 13:34:40 CEST 2008 |
|
|
76 | - pre-deref the passed callback object, for increased speed |
|
|
77 | and decreased memory usage. |
|
|
78 | - call on_next_submit callback even for aio_group - impact unknown, |
|
|
79 | but seems more correct. |
|
|
80 | - $req->cb now returns the original callback. |
|
|
81 | - (libeio) pass EIO_GROUP/aio_group requests through the queue without |
|
|
82 | requiring a thread switch. |
|
|
83 | - (libeio) status code of aio_futime and aio_utime was always passed 0. |
|
|
84 | - do some other ยต-optimisations. |
|
|
85 | |
|
|
86 | 3.07 Sat Aug 2 16:06:13 CEST 2008 |
|
|
87 | - do not include LIBS in autoconf tests. |
|
|
88 | |
|
|
89 | 3.06 Tue Jul 15 12:41:32 CEST 2008 |
9 | - move preadwritelock definition before it's first reference, |
90 | - move preadwritelock definition before it's first reference, |
10 | to make it compile again on broken platforms (they still exist). |
91 | to make it compile again on broken platforms (they still exist) |
11 | reported by Rob Bloodgood. |
92 | or badly cofngiured perls (redhat...), reported by Rob Bloodgood. |
12 | |
93 | |
13 | 3.05 Thu Jun 19 23:23:52 CEST 2008 |
94 | 3.05 Thu Jun 19 23:23:52 CEST 2008 |
14 | - work around perl overriding readdir etc. with thread-unsafe |
95 | - work around perl overriding readdir etc. with thread-unsafe |
15 | (sic!) versions. |
96 | (sic!) versions. |
16 | |
97 | |