summaryrefslogtreecommitdiff
path: root/man
AgeCommit message (Collapse)Author
2019-09-28Update struct io_uring_sqe in the man file.James Rouzier
Signed-off-by: James Rouzier <rouzier@gmail.com>
2019-07-15man: add IOSQE_IO_DRAIN and IOSQE_IO_LINKJens Axboe
Add descriptions of these SQE flags. Signed-off-by: Jens Axboe <axboe@kernel.dk>
2019-07-02Fix the use of memory barriersBart Van Assche
Introduce the smp_load_acquire() and smp_store_release() macros. Fix synchronization in io_uring_cq_advance() and __io_uring_get_cqe(). Remove a superfluous local variable, if-test and write barrier from __io_uring_submit(). Remove a superfluous barrier from test/io_uring_enter.c. Cc: Stefan Hajnoczi <stefanha@redhat.com> Cc: Roman Penyaev <rpenyaev@suse.de> Signed-off-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>
2019-05-20io_uring_register.2: fix multiple formatting issuesDmitry V. Levin
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>
2019-05-20io_uring_enter.2: fix multiple formatting issuesDmitry V. Levin
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>
2019-05-20io_uring_setup.2: fix multiple formatting issuesDmitry V. Levin
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>
2019-05-18Fix manpage mmap() syntaxIan Gulliver
The examples in the io_uring_setup.2 man patch erroneously ORs the protection bits and mmap flags, fix it up. Signed-off-by: Ian Gulliver <git@flamingcow.io> Signed-off-by: Jens Axboe <axboe@kernel.dk>
2019-05-01man/io_uring_enter.2: clarify io_uring_enter(2) return valuesJens Axboe
With the recent change to ensure that submission side errors that happen on behalf of an sqe are returned in the form of a cqe rather than -1/errno from the system call, make sure that the man page reflects that. Signed-off-by: Jens Axboe <axboe@kernel.dk>
2019-04-23man/io_uring_enter.2: add another ENOTSUPP instanceJens Axboe
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2019-04-22man/io_uring_register.2: add another ENXIO caseJens Axboe
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2019-04-10man/io_uring_setup.2: add EPERM case for IORING_SETUP_SQPOLLJens Axboe
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2019-03-19Remove IOCQE_FLAG_CACHEHITJens Axboe
This cache hint has been removed from the io_uring series, as there's some hesitation to leak this information to userspace. Remove it from the header file and the man page. We can always re-introduce it later, if we get some variant of this included. Signed-off-by: Jens Axboe <axboe@kernel.dk>
2019-02-14io_uring_enter.2: clarify min_completeJeff Moyer
min_complete means slightly different things depending on how the ring was setup. Signed-off-by: Jeff Moyer <jmoyer@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
2019-02-12man/io_uring_enter.2: clarify -EMFILE per-user caseJens Axboe
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2019-02-12man/io_uring_enter.2: add mention of -EMFILE for fixed file setsJens Axboe
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2019-02-10man/io_uring_enter: mention that SQE entries are always fully consumedJens Axboe
With a recent change to the kernel side, we now fully guarantee that once io_uring_enter(2) returns that X entries have been submitted, it's completely safe to reuse tohse entries. This used to not always be the case, if an SQE had to be punted to async context for submission. This makes for a more reliable and nicer interface. Signed-off-by: Jens Axboe <axboe@kernel.dk>
2019-02-09man/io_uring_register: make note of huge page pinningJens Axboe
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2019-02-08remove sigsz from io_uring_enter.2Jeff Moyer
Users shouldn't be concerned with the size of the sigset. Signed-off-by: Jeff Moyer <jmoyer@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
2019-02-08Add sigmask parameter to io_uring_enterJeff Moyer
Update liburing and io_uring_enter.2 to match the kernel. Signed-off-by: Jeff Moyer <jmoyer@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
2019-02-08man/io_uring_register.2: add EMFILE errnoJens Axboe
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2019-02-05man/io_uring_setup: mention that IORING_SETUP_SQPOLL needs fixed filesJens Axboe
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2019-01-31man/io_uring_enter.2: we no longer EBUSY on mutex trylock failureJens Axboe
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2019-01-30man: add io_uring_setup.2 man pageJeff Moyer
Initial man page for io_uring_setup. Content was taken from the kernel commit logs and from an LWN article written by Jon Corbet. Signed-off-by: Jeff Moyer <jmoyer@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
2019-01-26man: fixup description of fixed files I/OJeff Moyer
The man page suggests that IOSQE_FIXED_FILE must be specified for all sqes when the io_uring instance has files registered. This is not the case, so clear that up. Also fix a typo (few->new) while we're in there. Signed-off-by: Jeff Moyer <jmoyer@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
2019-01-26man: io_uring_register: use a .TP list for flagsJeff Moyer
This seems to be the canonical way to do things. Signed-off-by: Jeff Moyer <jmoyer@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
2019-01-26man: alphabetize the error section for io_uring_registerJeff Moyer
This also includes a couple of whitespace cleanups. Most man pages don't leave spaces between directives. Signed-off-by: Jeff Moyer <jmoyer@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
2019-01-22io_uring_enter.2 man pageJeff Moyer
Initial man page for io_uring_enter. Signed-off-by: Jeff Moyer <jmoyer@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
2019-01-17man: add a man page for io_uring_registerJeff Moyer
Initial content was taken from the kernel commits (Jens Axboe). Signed-off-by: Jeff Moyer <jmoyer@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>