AIO_RETURN(2) BSD System Calls Manual AIO_RETURN(2)NAME
aio_return -- retrieve return status of asynchronous I/O operation (REALTIME)
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <aio.h>
ssize_t
aio_return(struct aiocb *aiocbp);
DESCRIPTION
The aio_return() system call returns the final status of the asynchronous I/O request associated with the structure pointed to by aiocbp.
The aio_return() system call should only be called once, to obtain the final status of an asynchronous I/O operation (once aio_error(2)
returns something other than EINPROGRESS) and to clean up system resources. However, if aio_return() is not called at all, aio(4) will leak
resources.
RETURN VALUES
If the asynchronous I/O request has completed, the status is returned as described in read(2), write(2), or fsync(2). On failure,
aio_return() returns -1 and sets errno to indicate the error condition.
ERRORS
The aio_return() system call will fail if:
[EINVAL] The aiocbp argument does not reference an outstanding asynchronous I/O request.
[EINPROGRESS] The asynchronous I/O request is still in progress.
LEGACY SYNOPSIS
#include <aio.h>
int
aio_return(struct aiocb *aiocbp);
The type of the return value has changed.
SEE ALSO aio_cancel(2), aio_error(2), aio_suspend(2), aio_write(2), fsync(2), read(2), write(2), aio(4), compat(5)STANDARDS
The aio_return() system call is expected to conform to the IEEE Std 1003.1 (``POSIX.1'') standard.
HISTORY
The aio_return() system call first appeared in FreeBSD 3.0.
AUTHORS
This manual page was written by Wes Peters <wes@softweyr.com>.
BSD September 26, 2008 BSD
Hello,
How to execute a call back function after aio_write() or aio_read() in Sun Solaris 5.7?
I have filled the control block struct aiocb as follows:
aio_sigevent.sigev_signo = SIGEV
aio_sigevent.sigev_notify = SIGEV_THREAD
Then I have filled the call back function in ... (0 Replies)
Hi, sorry for my english.
Can somebody help me?.
I want to run this command on my system and :
aioo -o fsfastpath=1
exec(): 0509-036 Cannot load program aioo because of the following errors:
0509-130 Symbol resolution failed for aioo because:
0509-136 Symbol aio_cntl... (2 Replies)
Hi,
I have x86 machine with P4, 512 MB with 17" ViewSonic TFT screen. I installed Solaris 10 and i am geeting the error messages like "Notice: failed to initialize inband hot plug controllers." while booting. Later am getting the shrinked window in single line.
I thought itd because of video... (4 Replies)
The same cpio script has been working for years without modifications, until the last couple of nights when we get the error
Segmentation Fault - core dumped and the cpio aborts. It appears to abort in relatively the same place every time and on multiple tapes.
Do I have a bad tape drive,... (8 Replies)
Hi,
Any one can help me in this below mentioned issue I am facing in my solaris server?
here the scenario goes....
i have multiple segments in my LAN like remote csr, database, production etc. and all the segments are configured in Windows/CISCo network.
from my all system in remote... (1 Reply)
Hi everyone:
I've a server running AIX 6.1 which had initialy technology level =0, after an upgrade oslevel -s reports that it was increased to 6100-04-02, however after doing this the aioo command seems to be not present, what did I do wrong?
edit: lslpp shows bos.rte.aio was installed:
... (1 Reply)
I understand that AIO is not something that you turn on in AIX 6.1 but I am getting a request to turn on posix aio. I am guessing a value of 0 means it's off but not sure.
root@foobar:/> ioo -a | grep active
aio_active = 1
posix_aio_active = 0
When I... (1 Reply)
Hello guys, help me out on this..
I am not so well versed in this AIO.
How do tell if AIO is running for /usr2 ? From what i see / usr2 is JFS2.
Here some information:
Name Nodename Mount Pt VFS Size Options Auto Accounting
/dev/hd4 -- / jfs 1835008 -- yes no
/dev/hd1 -- /home jfs... (3 Replies)
Hi Gurus,
What is the recommended value for aioserver in aix 5.3
current value is 16384
And used is ps -k|wc -l 4768
We usauslly get issues like slow server performance and query waiting time more etc.
Regards
newaix (2 Replies)
When shutdown an oracle server i see this error message
at exit
umount /oracle/
umount: error unmounting /dev/oracle: Device busy
lsof and fuser report nothing
but
ps aux|grep oracle
report this
oracle 5964026 0,0 0,0 448 448 - A apr 21 0:00 aioserver
oracle ... (16 Replies)
A very basic thing but quite strange to me.
There is not corresponding header file (fastq.h) for the implementation fastq.cpp which has the line: #include "fastq.h", in a package source code, but at compiling of the whole pkg I did not get any error.
There is no #indef/#endif condition.... (2 Replies)