[Devel] [PATCH v2 0/7] spfs: duplicate socket before sending it from usernsd

2017-12-21 Thread Stanislav Kinsburskiy
Usernds closes socket once it was sent.
So, id should be duplicated before sending, if the socket is expected to be
send multiple times.

https://jira.sw.ru/browse/PSBM-79462

The following series implements...

---

Stanislav Kinsburskiy (7):
  spfs: introduce request_spfs_mngr_sock)() helper
  spfs: improve error and debug output for spfs_mount()
  spfs: remove redundant spfs_service_fd() helper
  spfs: improve SPFS manager start debug and error output
  spfs: improve prints in spfs_set_mode() and spfs_release_replace()
  spfs: return duplicated socket from usernsd
  spfs: switch mounts mode to STUB after root yard depopulation


 criu/cr-restore.c |   12 +++
 criu/spfs.c   |   92 +++--
 2 files changed, 59 insertions(+), 45 deletions(-)
___
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel


Re: [Devel] [PATCH v2 0/7] spfs: duplicate socket before sending it from usernsd

2017-12-21 Thread Andrei Vagin
Reviewed-by: Andrei Vagin 

On Thu, Dec 21, 2017 at 02:06:53PM +0300, Stanislav Kinsburskiy wrote:
> Usernds closes socket once it was sent.
> So, id should be duplicated before sending, if the socket is expected to be
> send multiple times.
> 
> https://jira.sw.ru/browse/PSBM-79462
> 
> The following series implements...
> 
> ---
> 
> Stanislav Kinsburskiy (7):
>   spfs: introduce request_spfs_mngr_sock)() helper
>   spfs: improve error and debug output for spfs_mount()
>   spfs: remove redundant spfs_service_fd() helper
>   spfs: improve SPFS manager start debug and error output
>   spfs: improve prints in spfs_set_mode() and spfs_release_replace()
>   spfs: return duplicated socket from usernsd
>   spfs: switch mounts mode to STUB after root yard depopulation
> 
> 
>  criu/cr-restore.c |   12 +++
>  criu/spfs.c   |   92 
> +++--
>  2 files changed, 59 insertions(+), 45 deletions(-)
___
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel