From: chrubis@suse.cz
To: Nitin Yadav <Nitin.Yadav@mphasis.com>
Cc: ltp-list@lists.sourceforge.net
Subject: Re: [LTP] [PATCH] io_submit: uninitialized iocb may notreturn-EINVAL
Date: Wed, 17 Oct 2012 14:44:46 +0200 [thread overview]
Message-ID: <20121017124445.GA27890@rei> (raw)
In-Reply-To: <E351E450E8B9F54684A699D42DC5ADF22640E162@MPBAGVEX02.corp.mphasis.com>
Hi!
> When the test fails, the return value from io_submit() is 1. This means
> that io_submit successfully submitted one I/O request block for
> processing.
> Could you please let me know is it correct behavior to
> successfully submit io request for uninitialized iocb with return value
> 1 (-EPERM).
As far as I understand io_submit() return value 1 is success i.e. 1 io
request queued. So I think that in your case the uninitialized structure
contains data valid enough for the operation to be actually queued.
--
Cyril Hrubis
chrubis@suse.cz
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
next prev parent reply other threads:[~2012-10-17 12:47 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-27 9:52 [LTP] crashme:fork12 test may kill other process that is not forked child 羅秉鈞
2012-06-29 7:45 ` Wanlong Gao
2012-10-09 6:08 ` [LTP] [PATCH] io_submit: uninitialized iocb may not return -EINVAL Nitin Yadav
2012-10-16 2:31 ` Wanlong Gao
2012-10-16 6:53 ` Jan Stancek
2012-10-16 10:11 ` chrubis
[not found] ` <E351E450E8B9F54684A699D42DC5ADF2263AF477@MPBAGVEX02.corp.mphasis.com>
[not found] ` <E351E450E8B9F54684A699D42DC5ADF22640E162@MPBAGVEX02.corp.mphasis.com>
2012-10-17 12:44 ` chrubis [this message]
2012-06-29 16:22 ` [LTP] crashme:fork12 test may kill other process that is not forked child chrubis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20121017124445.GA27890@rei \
--to=chrubis@suse.cz \
--cc=Nitin.Yadav@mphasis.com \
--cc=ltp-list@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox