1 |
Revision history for libeio |
2 |
|
3 |
TODO: maybe add mincore support? available on at least darwin, solaris, linux, freebsd |
4 |
TODO: openbsd requires stdint.h for intptr_t - why posix? |
5 |
|
6 |
TODO: make mtouch/readdir maybe others cancellable in-request |
7 |
TODO: fadvise request |
8 |
TODO: fdopendir/utimensat |
9 |
TODO: maybe work around 3.996gb barrier in pread/pwrite as well, maybe readahead etc.? |
10 |
1.0 |
11 |
- for simple request api, initialise result/errorno to -1/ECANCELED. |
12 |
- fix a deadlock where a wakeup signal could be missed when |
13 |
a timeout occured at the same time. |
14 |
- use nonstandard but maybe-working-on-bsd fork technique. |
15 |
- use fewer time() syscalls when waiting for new requests. |
16 |
- fix a path-memory-leak in readdir when using the wrappers |
17 |
(reported by Thomas L. Shinnick). |
18 |
- support a max_idle value of 0. |
19 |
- support setting of idle timeout value (eio_set_idle_timeout). |
20 |
- readdir: correctly handle malloc failures. |
21 |
- readdir: new flags argument, can return inode |
22 |
and possibly filetype, can sort in various ways. |
23 |
- readdir: stop immediately when cancelled, do |
24 |
not continue reading the directory. |
25 |
- fix return value of eio_sendfile_sync. |
26 |
- include sys/mman.h for msync. |
27 |
- added EIO_STACKSIZE. |
28 |
- added msync, mtouch support (untested). |
29 |
- added sync_file_range (untested). |
30 |
- fixed custom support. |
31 |
- use a more robust feed-add detection method. |
32 |
- "outbundled" from IO::AIO. |
33 |
- eio_set_max_polltime did not properly convert time to ticks. |
34 |
- tentatively support darwin in sendfile. |
35 |
- fix freebsd/darwin sendfile. |
36 |
- also use sendfile emulation for ENOTSUP and EOPNOTSUPP |
37 |
error codes. |
38 |
- add OS-independent EIO_MT_* and EIO_MS_* flag enums. |
39 |
- add eio_statvfs/eio_fstatvfs. |
40 |
- add eio_mlock/eio_mlockall and OS-independent MCL_* flag enums. |
41 |
- no longer set errno to 0 before making syscalls, this only lures |
42 |
people into the trap of believing errno shows success or failure. |
43 |
- "fix" demo.c so that it works as non-root. |
44 |
- suppoert utimes seperately from futimes, as some systems have |
45 |
utimes but not futimes. |
46 |
- use _POSIX_MEMLOCK_RANGE for mlock. |
47 |
- do not (errornously) overwrite CFLAGS in configure.ac. |
48 |
- mknod used int3 for dev_t (ยง2 bit), not offs (64 bit). |
49 |
- fix memory corruption in eio_readdirx for the flags |
50 |
combination EIO_READDIR_STAT_ORDER | EIO_READDIR_DIRS_FIRST. |
51 |
- port to openbsd (another blatantly broken non-UNIX/POSIX platform). |
52 |
- fix eio_custom prototype. |
53 |
- work around a Linux (and likely FreeBSD and other kernels) bug |
54 |
where sendfile would not transfer all the requested bytes on |
55 |
large transfers, using a heuristic. |
56 |
- use libecb, and apply lots of minor space optimisations. |
57 |
- disable sendfile on darwin, broken as everything else. |
58 |
- add realpath request and implementation. |
59 |
- cancelled requests will still invoke their request callbacks. |
60 |
- add fallocate. |
61 |
- do not acquire any locks when forking. |
62 |
- incorporated some mingw32 changes by traviscline. |
63 |
- added syncfs support, using direct syscall. |
64 |
- set thread name on linux (ps -L/Hcx, top, gdb). |
65 |
- remove useless use of volatile variables. |
66 |
- fix memory leak when reaping threads. |
67 |
- use utime now uses nanosecond resolution on posix 2008 systems. |
68 |
- allow taking advantage of posix 2008 xxxat functions and fdopendir |
69 |
by implementing a working directory abstraction. |
70 |
- make readahead emulation behave more like actual readahead by never failing. |
71 |
- added EIO_LSEEK (untested). |
72 |
- added EIO_FALLOC_FL_PUNCH_HOLE. |
73 |
- wtf. etp_proc returned 0, and no compiler ever complained. |
74 |
- remove pread/pwrite emulation, as the only system that lacked them |
75 |
(cygwin) provides them for a while now. |
76 |
- provide pread/pwrite implementations for win32. |
77 |
- implement aio_realpath for windows. |
78 |
- add EIO_FALLOC_FL_COLLAPSE_RANGE and EIO_FALLOC_FL_ZERO_RANGE. |
79 |
- add EIO_FCNTL, EIO_IOCTL. |
80 |
|