public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Cedric Hnyda <chnyda@suse.com>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH] cgroup_fj/cgroup_fj_stress.sh: Fix failures on cgroup unmounted case
Date: Mon, 14 Dec 2015 11:07:20 +0100	[thread overview]
Message-ID: <566E94D8.9060807@suse.com> (raw)
In-Reply-To: <1450079865-4596-1-git-send-email-fenggw-fnst@cn.fujitsu.com>

Hi!

On 12/14/2015 08:57 AM, Guangwen Feng wrote:
> Test fails when cgroup subsystem is not mounted beforehand because of
> the misused "mounted" in setup(), which doesn't represent the current
> mount status exactly but the mount status before the test, so fix this.

Thank you, you are right.
In previous kernel versions, it was possible to mount cgroups several times.
So actually the best solution would be to remove the option to mount them
several times.
I will send a patch to correct this.

Best,
Cedric

-- 
Cedric Hnyda


      reply	other threads:[~2015-12-14 10:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-14  7:57 [LTP] [PATCH] cgroup_fj/cgroup_fj_stress.sh: Fix failures on cgroup unmounted case Guangwen Feng
2015-12-14 10:07 ` Cedric Hnyda [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=566E94D8.9060807@suse.com \
    --to=chnyda@suse.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