All of lore.kernel.org
 help / color / mirror / Atom feed
From: Cyril Hrubis <chrubis@suse.cz>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH] syscalls/preadv203: Add basic RWF_NOWAIT test
Date: Wed, 6 Feb 2019 13:10:29 +0100	[thread overview]
Message-ID: <20190206121028.GC13516@rei> (raw)
In-Reply-To: <20190206080400.GB13396@x230>

Hi!
> > +static void *nowait_reader(void *unused LTP_ATTRIBUTE_UNUSED)
> ...
> > +		TEST(preadv2(fd, rd_iovec, 2, off, RWF_NOWAIT));
> RWF_NOWAIT needs to be declared in lapi for old distros.

Right and we should as well return TCONF on older kernels, I haven't
tested that properly yet but I guess that we should check for EOPNOTSUPP
and EINVAL. I will do that later on, I just didn't want to delay the
initial test patch because it seem that kernel developers wanted to
have it ASAP.

-- 
Cyril Hrubis
chrubis@suse.cz

  reply	other threads:[~2019-02-06 12:10 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-28 13:46 [PATCH] syscalls/preadv203: Add basic RWF_NOWAIT test Cyril Hrubis
2019-01-28 13:46 ` [LTP] " Cyril Hrubis
2019-02-06  7:52 ` Petr Vorel
2019-02-06 12:07   ` Cyril Hrubis
2019-02-07 11:47     ` Petr Vorel
2019-02-06  8:04 ` Petr Vorel
2019-02-06 12:10   ` Cyril Hrubis [this message]
2019-02-21 17:57     ` Naresh Kamboju
2019-02-06  8:36 ` Vijay Kumar

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=20190206121028.GC13516@rei \
    --to=chrubis@suse.cz \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.