io_submit with silly values/pointers

Dr. David Alan Gilbert dave at treblig.org
Wed Nov 6 19:55:33 UTC 2013


Hi,
  'trinity' generated an io_submit call with a ludicrous large
'nr' of requests, the result being strace sat there just printing out
{...}, for nearly ever since the data didn't exist.

  Is the right thing to 'break' rather than 'continue' if either
of the umove calls fail?     The alternative way is to break 
if the iocbs read fails but allow individualy broken iocb reads.
I'm not sure which is more sane - you could have a real call
that fails for another reason before hitting the bad iocb.

Dave
-- 
 -----Open up your eyes, open up your mind, open up your code -------   
/ Dr. David Alan Gilbert    |       Running GNU/Linux       | Happy  \ 
\ gro.gilbert @ treblig.org |                               | In Hex /
 \ _________________________|_____ http://www.treblig.org   |_______/




More information about the Strace-devel mailing list