Thread (27 messages) 27 messages, 4 authors, 2017-05-31

Re: [PATCH 09/10] xfs: nowait aio support

From: Jan Kara <jack@suse.cz>
Date: 2017-05-31 08:51:42
Also in: linux-api, linux-btrfs, linux-ext4, linux-fsdevel, linux-xfs

On Tue 30-05-17 11:13:29, Goldwyn Rodrigues wrote:
quoted
Btw, can you write a small blurb up for the man page to document these
ѕemantics in man-page like language?
Yes, but which man page would it belong to?
Should it be a subsection of errors in io_getevents/io_submit. We don't
want to add ERRORS to io_getevents() because it would be the return
value of the io_getevents call, and not the ones in the iocb structure.
Should it be a new man page, say for iocb(7/8)?
I think you should extend the manpage for io_submit(8). There you can add
definition of struct iocb in 'DESCRIPTION' section explaining at least the
most common fields. You can also explain there which flags can be passed
and what are they intended to do.

You can also expand EAGAIN error description to specifically mention that
in case of NOWAIT aio EAGAIN can be returned if io submission would block.

								Honza
-- 
Jan Kara [off-list ref]
SUSE Labs, CR
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help