Re: [PATCHv3] tcmu: allow userspace to reset netlink

2018-04-17 Thread Xiubo Li
On 2018/4/18 0:40, Mike Christie wrote: Nick, Ignore this v3 too. It will not work for deletion. Yeah, for deletion the vfs will lock the file, so there is no any new access could in, will redesign and make it module wide. On 04/16/2018 07:43 AM, xiu...@redhat.com wrote: From: Xiubo Li Th

Re: [PATCHv3] tcmu: allow userspace to reset netlink

2018-04-17 Thread Mike Christie
Nick, Ignore this v3 too. It will not work for deletion. On 04/16/2018 07:43 AM, xiu...@redhat.com wrote: > From: Xiubo Li > > This patch adds 1 tcmu attr to reset and complete all the blocked > netlink waiting threads. It's used when the userspace daemon like > tcmu-runner has crashed or force

[PATCHv3] tcmu: allow userspace to reset netlink

2018-04-16 Thread xiubli
From: Xiubo Li This patch adds 1 tcmu attr to reset and complete all the blocked netlink waiting threads. It's used when the userspace daemon like tcmu-runner has crashed or forced to shutdown just before the netlink requests be replied to the kernel, then the netlink requeting threads will get s