Displaying 1 result from an estimated 1 matches for "_aiodone".
2005 Sep 22
0
io provider and files in a forceddirectio mounted filesystem
The following script is used as a first attempt to discover IO patterns in a
dbase setup:
#------------------------------------------------------------------
#pragma D option dynvarsize=128m
dtrace:::BEGIN
{
}
pid$target::kaio:entry
{
self->doit = 1;
}
pid$target::_aiodone:return
{
self->doit = 0;
}
io:::start
/self->doit || execname == "oracle"/
{
block[args[2]->fi_pathname, args[0]->b_blkno ] = timestamp;
}
io:::done
/block[args[2]->fi_pathname, args[0]->b_blkno]/
{
self->action = (args[0]->b_flags &...