linux/include/uapi
Jens Axboe ba04291eb6 io_uring: allow use of offset == -1 to mean file position
This behaves like preadv2/pwritev2 with offset == -1, it'll use (and
update) the current file position. This obviously comes with the caveat
that if the application has multiple read/writes in flight, then the
end result will not be as expected. This is similar to threads sharing
a file descriptor and doing IO using the current file position.

Since this feature isn't easily detectable by doing a read or write,
add a feature flags, IORING_FEAT_RW_CUR_POS, to allow applications to
detect presence of this feature.

Reported-by: 李通洲 <carter.li@eoitek.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2020-01-20 17:03:59 -07:00
..
asm-generic open: introduce openat2(2) syscall 2020-01-18 09:19:18 -05:00
drm drm/vmwgfx: Add surface dirty-tracking callbacks 2019-11-06 15:45:32 +01:00
linux io_uring: allow use of offset == -1 to mean file position 2020-01-20 17:03:59 -07:00
misc habanalabs: expose reset counters via existing INFO IOCTL 2019-11-21 11:35:47 +02:00
mtd
rdma RDMA/efa: Expose RDMA read related attributes 2019-11-25 10:31:48 -04:00
scsi
sound ALSA: compress: add flac decoder params 2019-11-18 13:02:25 +00:00
video
xen
Kbuild