[Devel] [PATCH] target: add an user-mode helper to handle changes of a group state

2018-01-16 Thread Andrei Vagin
An user-mode helper is a user command, which is executed before changing a group state. It allows userspace to run required actions to handle a new state. For example, our storage doesn't allow to open one file from a few nodes, so when a target is switched from standby to active, we have to get

Re: [Devel] [PATCH] files-reg: Prepare for sysfs entries mode change

2018-01-16 Thread Cyrill Gorcunov
On Tue, Jan 16, 2018 at 11:03:26AM +0300, grem...@gremlin.ru wrote: > On 2018-01-16 01:51:31 +0300, Cyrill Gorcunov wrote: > > > The kernel virtualize access to proc/sys/ entries in lightweight > > way -- if entry is opened from inside of veX then it's not allowed > > to be written. > > In