[PATCH v3 22/33] block/nbd: pass monitor directly to connection thread

2021-04-16 Thread Vladimir Sementsov-Ogievskiy
monitor_cur() is used by socket_get_fd, but it doesn't work in connection thread. Let's monitor directly to cover this thing. We are going to unify connection establishing path in nbd_open and reconnect, so we should support fd-passing. Signed-off-by: Vladimir Sementsov-Ogievskiy --- include/blo

Re: [PATCH v3 22/33] block/nbd: pass monitor directly to connection thread

2021-06-03 Thread Eric Blake
On Fri, Apr 16, 2021 at 11:09:00AM +0300, Vladimir Sementsov-Ogievskiy wrote: > monitor_cur() is used by socket_get_fd, but it doesn't work in > connection thread. Let's monitor directly to cover this thing. We are > going to unify connection establishing path in nbd_open and reconnect, > so we sho

Re: [PATCH v3 22/33] block/nbd: pass monitor directly to connection thread

2021-06-03 Thread Vladimir Sementsov-Ogievskiy
03.06.2021 21:16, Eric Blake wrote: On Fri, Apr 16, 2021 at 11:09:00AM +0300, Vladimir Sementsov-Ogievskiy wrote: monitor_cur() is used by socket_get_fd, but it doesn't work in connection thread. Let's monitor directly to cover this thing. We are going to unify connection establishing path in nb