On 07/20/2015 10:05 PM, Maxim Patlasov wrote:
On 07/14/2015 01:27 AM, Kirill Tkhai wrote:
В Пн, 13/07/2015 в 12:38 -0700, Maxim Patlasov пишет:
On 07/08/2015 04:50 AM, Kirill Tkhai wrote:
...
Why do we need to show hidden options to CT' user? He/she doesn't
see

".balloon" file, so it doesn't seem consistent to show
"balloon_ino=N".
But this way "read" won't show all written using "write". It may
confuse users or vzctl developers.

I think more debug info won't be worse.
Sorry for delay, I somehow missed your reply in my inbox folder. Are
these 'read' and 'write' allowed only from host system (ve0) or
inside
CT as well?
It's allowed from inside a CT like other ve cgroup files.
But it's not a problem of this patch, it's a generic problem,
because mounting of ve cgroup from CT is not prohibited for now.
Please, see cgroup_mount() for the details.

OK.

So, let's continue here:
* by default ve cgroup is not visible from inside a CT

* currently it's possible to mount ve cgroup inside a CT, but this is 
temporarily, we'll disable this
  https://jira.sw.ru/browse/PSBM-34291

* this patch allows to see mount options via ve cgroup =>
  after PSBM-34291 is fixed, mount options will be visible only from ve0 (host)

* for host it's OK to see all hidden options

Kirill, Maxim, please ack that i understand the situation correctly here,
and i'll apply the patch.
_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to