Skip to content

Commit

Permalink
CVS Tag 'rel-4_0'
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean Cunningham committed Aug 3, 2011
1 parent 020f123 commit da3faea
Show file tree
Hide file tree
Showing 12 changed files with 2,009 additions and 7,849 deletions.
28 changes: 27 additions & 1 deletion Changes
Original file line number Diff line number Diff line change
@@ -1,9 +1,19 @@
Revision history for libeio

TODO: maybe add mincore support? available on at least darwin, solaris, linux, freebsd
TODO: openbsd requites stdint.h for intptr_t - why posix?
TODO: openbsd requires stdint.h for intptr_t - why posix?

TODO: make mtouch/readdir maybe others cancellable in-request
TODO: fadvise request
1.0
- fix a deadlock where a wakeup signal could be missed when
a timeout occured at the same time.
- use nonstandard but maybe-working-on-bsd fork technique.
- use fewer time() syscalls when waiting for new requests.
- fix a path-memory-leak in readdir when using the wrappers
(reported by Thomas L. Shinnick).
- support a max_idle value of 0.
- support setting of idle timeout value (eio_set_idle_timeout).
- readdir: correctly handle malloc failures.
- readdir: new flags argument, can return inode
and possibly filetype, can sort in various ways.
Expand All @@ -30,4 +40,20 @@ TODO: openbsd requites stdint.h for intptr_t - why posix?
- "fix" demo.c so that it works as non-root.
- suppoert utimes seperately from futimes, as some systems have
utimes but not futimes.
- use _POSIX_MEMLOCK_RANGE for mlock.
- do not (errornously) overwrite CFLAGS in configure.ac.
- mknod used int3 for dev_t (§2 bit), not offs (64 bit).
- fix memory corruption in eio_readdirx for the flags
combination EIO_READDIR_STAT_ORDER | EIO_READDIR_DIRS_FIRST.
- port to openbsd (another blatantly broken non-UNIX/POSIX platform).
- fix eio_custom prototype.
- work around a Linux (and likely FreeBSD and other kernels) bug
where sendfile would not transfer all the requested bytes on
large transfers, using a heuristic.
- use libecb, and apply lots of minor space optimisations.
- disable sendfile on darwin, broken as everything else.
- add realpath request and implementation.
- cancelled requests will still invoke their request callbacks.
- add fallocate.
- do not acquire any locks when forking.

2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ include_HEADERS = eio.h

lib_LTLIBRARIES = libeio.la

libeio_la_SOURCES = eio.c xthread.h config.h
libeio_la_SOURCES = eio.c ecb.h xthread.h config.h
libeio_la_LDFLAGS = -version-info $(VERSION_INFO)

Loading

0 comments on commit da3faea

Please sign in to comment.