--- IO-AIO/Changes 2014/01/24 23:46:17 1.314 +++ IO-AIO/Changes 2018/02/19 13:37:13 1.350 @@ -2,16 +2,11 @@ TODO: scandir - some dirs mostly contain subdirs - invert logic? TODO: aio_cptree/mvtree -TODO: reduce condvar fairness: schedule hot-cache-threads first? TODO: vmsplice? (http://kerneltrap.org/node/6505 http://lwn.net/Articles/178199/) -TODO: aio_fcntl, at least for file-locking -TODO: aio_mincore? -TODO: getxattr etc.? -TODO: F_DUPFD_CLOEXEC +TODO: getxattr, setxattr, listxattr, removexattr etc.? TODO: emulation for splice? -TODO: eio_mmap|mlock|munmap|splice... TODO: syncfs/sync windows: -TODO: F_SETPIPE_SZ, F_GETPIPE_SZ +TODO: posix_fallocate when flags=0 http://stackoverflow.com/questions/65170/how-to-get-name-associated-with-open-handle/5286888#5286888 http://blogs.msdn.com/b/adioltean/archive/2005/04/16/408947.aspx http://msdn.microsoft.com/en-us/library/aa366789%28v=vs.85%29.aspx @@ -20,11 +15,86 @@ http://msdn.microsoft.com/en-us/library/windows/desktop/aa364963%28v=vs.85%29.aspx 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: take permission denied into account in treescan +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: 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: copy_file_range, copy_file_range +TODO: FIDEDUPERANGE, file_ioctl.c +TODO: mincore +TODO: SOCK_CLOEXEc etc. +TODO: unlinkat flags, linkat flags, statat flags +TODO: https://kernelnewbies.org/Linux_4.11 +TODO: define useful rules for [[$wd, $path], $path] &c and implement them + +TODO: https://github.com/coreutils/coreutils/blob/master/src/stat.c maybe IO::AIO::FSID +TODO: mmap on $hash->{key} keeps PVLV + - new aio_slurp request. + - removed filesystem magic number table from aio_statvfs docs as + statvfs doesn't actually return this info at all (statfs does). + - add a bunch of (mostly linux-specific) constants for use in ioctls + (see aio_ioctl docs). + - treescan now has a proper manpage and useful --help output. + - new option --sync in treescan, to sync everything in a subtree. + - changed default for aio_msync flags to MSYNC_SYNC. + - document offset/length behaviour of mprotect/madvise. + - support linux's renameat2 (via aio_rename2). + - add aio_rename2, an aio_rename with flags. + - add F_DUPPFD_CLOEXEC, F_OFD_[SG]ETLKW? constants. + - add FALLOC_FL_INSERT_RANGE, FALLOC_FL_UNSHARE_RANGE. + - add (experimental) IO::AIO::get_fdlimit and IO::AIO::min_fdlimit. + - point out that aio_copy overwrites existing files. + - (libeio) use posix_close if available. + - (libeio) internal close() calls no longer disturb errno. + - add IO:AIO::FALLOC_FL_UNSHARE. + - update schmorp.h for removal of USE_SOCKETS_AS_HANDLES. + +4.34 Sun May 1 19:18:24 CEST 2016 + - def0.h was not properly generated during previous release, causing + compile errors on various platforms. + - major/minor were accidentally switched (reported by Alexander Lishenyuk). + - removed duplicate definition of MAP_HUGETLB, that was found due to + a bug in Perl::Tidy (testcase by alaska332@gmail.com). + - added (untested!) aio_fcntl, aio_ioctl requests. + - (libeio) names set via prctl are truncated to 15 chars + nul, not 16, + as manpages-dev originally claimed. + +4.33 Mon Jan 18 12:50:10 CET 2016 + - add IO::AIO::pipe2 function. + - added support for FALLOC_FL_COLLAPSE_RANGE and FALLOC_FL_ZERO_RANGE + constants. + - added support for O_TMPFILE and O_PATH constants. + - added support for MAP_FIXED, MAP_GROWSDOWN,MAP_32BIT, MAP_HUGETLB, MAP_STACK + consdtants, whether they can be sensibly used or not. + - use NO_INIT where applicable. + - update libecb. + - added stability canary support. + - updated linux super magic table to 4.3.3. + +4.32 Wed Feb 11 20:32:11 CET 2015 + - replace off_t by STRLEN where appropriate, should not result in + user-visible changes. + - update ecb.h for C11 compatibility. + +4.31 Tue Jun 3 03:29:27 CEST 2014 + - work around more 5.20 bugs. backwards compatibility my ass. + +4.3 Fri Apr 11 06:22:38 CEST 2014 + - perl5porters broke Async::Interrupt, BDB, EV, IO::AIO, OpenCL + without warning by switching the meaning of USE_SOCKETS_AS_HANDLES + in 5.18. What's so attractive about giving a shit about backwards + compatibility - I will never understand. + +4.2 Sat Jan 25 01:13:14 CET 2014 - aio_group could corrupt memory because it didn't restore the stack after req_submit. + - be more careful on (e.g. permission) errors in bin/treescan. - work around changes in ExtUtils::MakeMaker. - (libeio) implement aio_realpath for win32. - (xthread) work around compile time bugs in ptw32.