Re: [Suggestion] kernel: cgroup: mount failure in LTP cgroup_regression_test.sh

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello, Jan.

On Thu, Nov 21, 2013 at 03:04:54AM -0500, Jan Stancek wrote:
> it looks like those 2 subsystems are already mounted by systemd,
> each in different hierarchy:
> 
> >   cpuacct	4	35	1
> >   freezer	5	4	1
> 
> from Documentation/cgroups/cgroups.txt:
> "If an active hierarchy with exactly the same set of subsystems already
> exists, it will be reused for the new mount. If no existing hierarchy
> matches, and any of the requested subsystems are in use in an existing
> hierarchy, the mount will fail with -EBUSY. Otherwise, a new hierarchy
> is activated, associated with the requested subsystems."

Ah, cgroup now requires that those recycled mounts to have matching
options.  This is an intended behavior change because previously we
could end up with mounts which have actual options which differ from
what was specified by mount, which can be misleading at the very
least.  Would it be possible to update LTP accordingly?

Thanks.

-- 
tejun
--
To unsubscribe from this list: send the line "unsubscribe cgroups" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [Monitors]

  Powered by Linux