--- IO-AIO/Changes 2018/08/14 09:29:50 1.364 +++ IO-AIO/Changes 2020/12/29 15:25:26 1.394 @@ -16,17 +16,15 @@ http://msdn.microsoft.com/en-us/library/windows/desktop/aa364996%28v=vs.85%29.aspx http://msdn.microsoft.com/en-us/library/windows/desktop/aa364994%28v=vs.85%29.aspx TODO: extra socket/tcp constants &c? -TODO: http://lwn.net/Articles/593918/ SHMEM_SET_SEALS, SHMEM_GET_SEALS, SEAL_SHRINK, SEAL_GROW, SEAL_WRITE, int memfd_create(const char *name, u64 size, u64 flags);, MFD_CLOEXEC, int fd = open("/tmp", O_RDWR | O_TMPFILE | O_EXCL, S_IRWXU); TODO: name_to_handle_At + open_by_handle_at = clone fds TODO: lchown TODO: mount/umount2/MS_* flags +TODO: fsmount/fspick/fsconfig/fsmount et al. https://lwn.net/Articles/759499/ TODO: rewrite rmtree et al. to support working directories (also speed them up) TODO: maybe IO::AIO leaks fds when requests are cancelled? maybe initialise result to -1? TODO: aio_wd should use O_PATH on linux, due to lacking O_SEARCH (http://comments.gmane.org/gmane.linux.file-systems/33611) http://www.openwall.com/lists/musl/2013/02/23/4 -TODO: maybe copy some hacks from PerlIOStdio_invalidate_fileno for faster close on certain platforms -TODO: copy_file_range, copy_file_range TODO: FIDEDUPERANGE, file_ioctl.c TODO: mincore TODO: SOCK_CLOEXEc etc. @@ -36,6 +34,85 @@ TODO: https://github.com/coreutils/coreutils/blob/master/src/stat.c maybe IO::AIO::FSID TODO: mlock2, MLOCK_ONFAULT TODO: dup3, pipe2, accept4 +TODO: dump config.log when automated testign and configure fails +TODO: ns time resolution in utime +TODO: statx +TODO: pidfd_open/pidfd_send_signal (open/poll /proc?) +TODO: aio_fchdir/chdir? emulate chdirat? +TODO: rt-4.0.18-20109-1573826674-1229.126277-5-0@rt.cpan.org +TODO: aio_splice, aio_tee +TODO: copy_file_range +TODO: write more abpout the thread model, maybe bump some defaults? +TODO: io_uring, but it's so broken :/ +TODO: allow import of fds as aio_wd +TODO: close_range +TODO: move_mount, open_tree + + - added (but not documented) FSPICK_* and FSOPEN_* constants. + +4.74 Tue Dec 29 16:19:28 CET 2020 + - added pidfd_open, pidfd_getfd and pidfd_send_signal functions. + - rework bin/treescan to avoid recursion. This fixes two bugs + where a deep directory traversal or a lot of command line + arguments could cause it to crash. + - added (but not documented) open_tree, AT_* and move_mount flags. + - support defining syscall numbers in gendef0. + +4.73 Fri Dec 4 02:08:37 CET 2020 + - def0.h was not uptodate, running into musl problems + (reported by B Fraser). + - IO::AIO::splice and IO::AIO::tee didn't properly return + 64 bit values. + - added IO::AIO::accept4. + - add various F_SEAL related fcntl constants. + - removed experimental marker for fdlimit functions. + - fiemap now includes the last segment even if it overflows + the end offset, which is arguably the correct behaviour. + +4.72 Wed Apr 3 04:56:03 CEST 2019 + - (libeio) if fd 0 is available do not use it for aio_wd, as it + collides with IO::AIO::CWD. + - added IO::AIO::memfd_create. + - correctly include in the vmsplice test. + - reduce codesize by ~7% on amd64 by declaring more functions + as noinline. + - documentation fixes and updates. + - experimental and undocumented preliminary support for synchronous statx. + +4.71 Sun Mar 10 13:09:26 CET 2019 + - due to an error in the linux manpages, the configure tests + for readahead, sync_file_range, splice etc. failed. This has been fixed. + +4.7 Mon Mar 4 11:28:13 CET 2019 + - majorly speed up scandir for the very special case of a non-POSIX + filesystem that nevertheless reports valid dt_type information. + The only known filesystem of this type is currently btrfs, which + didn't get it's act together to implement POSIX semantics in all + these years, and I am tired of waiting. + - add IO::AIO::MCL_ONFAULT for mlockall, add IO::AIO::mlockall. + - neither sys/mkdev.h nor sys/sysmacros.h were included, even when they + were detected by autoconf. + +4.6 Sat Aug 25 21:58:36 CEST 2018 + - add st_btime, st_btimesec, st_btimensec and st_gen accessors, + mostly for bsds which expose birthtime and st_gen members (netbsd, freebsd + but only st_gen on openbsd because they compiled their perl without support + for birthtimes). + - fix madvise and munlock to properly support negative offsets. + - allocate fd for the aio_close at boot time, to guarantee it working + later, rather than calling abort when it fails. also avoids + close-on-exec race issues after module load. + - #undef utime on win32, maybe this helps some reports of utime hangs. + - minor doc improvements. + - minor configure cleanups. + - use $Config{perllibs} instead of libs for configure. might help people + who didn't install all perl dependencies (might break things as well). + +4.54 Tue Aug 14 13:54:48 CEST 2018 + - include sys/mkdev.h or sys/sysmacros.h if available. + - further tweaks to configure invocation for systems requiring --rpath. + - no longer rely on custom paths on win32 platforms. + - try to work around buggy PAGESIZE macro on solaris. 4.53 Tue Aug 14 11:27:50 CEST 2018 - add $Config{libs} to LIBS for configure, to work around systems