--- IO-AIO/Changes 2017/05/30 22:45:52 1.335 +++ IO-AIO/Changes 2017/06/23 22:33:06 1.341 @@ -2,16 +2,10 @@ 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 @@ -22,10 +16,8 @@ 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: getrandom, GRND_NONBLOCK, GRND_NONBLOCK +TODO: execveat? really? 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: O_TMPFILE -TODO: renameat2 RENAME_EXCHANGE, RENAME_NOREPLACE, RENAME_EXCHANGE TODO: fcntl F_GETLKP/F_SETLKP/F_SETLKPW, http://lwn.net/Articles/586904/ TODO: linkat + AT_EMPTY_PATH TODO: name_to_handle_At + open_by_handle_at = clone fds @@ -36,18 +28,23 @@ 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: aio_fcntl/ioctl test. TODO: copy_file_range, copy_file_range TODO: FIDEDUPERANGE, file_ioctl.c TODO: mincore TODO: SOCK_CLOEXEc etc. +TODO: unlinkat flags, linkat flags +TODO: 4.6 - - add MADV_FREE constant. - 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. 4.34 Sun May 1 19:18:24 CEST 2016 - def0.h was not properly generated during previous release, causing