From: Jan Stancek <jstancek@redhat.com>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH v3 1/3] ltp-aiodio: report posix_memalign errors properly
Date: Fri, 15 Jul 2016 07:22:00 -0400 (EDT) [thread overview]
Message-ID: <547690085.5234079.1468581720944.JavaMail.zimbra@redhat.com> (raw)
In-Reply-To: <1468414742-29413-1-git-send-email-eguan@redhat.com>
----- Original Message -----
> From: "Eryu Guan" <eguan@redhat.com>
> To: ltp@lists.linux.it
> Sent: Wednesday, 13 July, 2016 2:59:00 PM
> Subject: [LTP] [PATCH v3 1/3] ltp-aiodio: report posix_memalign errors properly
>
> From posix_memalign(3) the value of errno is indeterminate after a call
> to posix_memalign(). So TERRNO doesn't work in this case.
> dio_sparse 1 TBROK : dio_sparse.c:75: posix_memalign():
> errno=SUCCESS(0): Success
>
> Report posix_memalign() errors by calling strerror on the return value.
> dio_sparse 1 TBROK : dio_sparse.c:74: posix_memalign(): EINVAL
>
> Signed-off-by: Eryu Guan <eguan@redhat.com>
Series pushed. I tested it on 4.7.0-rc7 (which contains your patch),
it completed OK. New cases are very fast, it added just couple ms on
my KVM guest.
Regards,
Jan
prev parent reply other threads:[~2016-07-15 11:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-13 12:59 [LTP] [PATCH v3 1/3] ltp-aiodio: report posix_memalign errors properly Eryu Guan
2016-07-13 12:59 ` [LTP] [PATCH v3 2/3] ltp-aiodio/dio_sparse: add offset support Eryu Guan
2016-07-13 12:59 ` [LTP] [PATCH v3 3/3] ltp-aiodio: new dio_sparse tests specifying offset Eryu Guan
2016-07-15 11:22 ` Jan Stancek [this message]
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=547690085.5234079.1468581720944.JavaMail.zimbra@redhat.com \
--to=jstancek@redhat.com \
--cc=ltp@lists.linux.it \
/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