* tcmu: fix hung netlink requests and nl related cleanup V2
@ 2018-06-22 21:40 Mike Christie
2018-06-25 2:16 ` Xiubo Li
2018-06-26 16:27 ` Martin K. Petersen
0 siblings, 2 replies; 3+ messages in thread
From: Mike Christie @ 2018-06-22 21:40 UTC (permalink / raw)
To: target-devel
The following patches fix the issues where the userspace daemon
has crashed and left netlink requests dangling. The daemon
can now block the interface, kill outstanding requests, reopen
the netlink socket and then unblock and execute new requests.
The patches were made over Martin's for-next branch.
v2:
- Return BUSY error immediately when there is a running command.
- Fix nl skb leak when device is blocked.
- Fix check for valid block_netlink input.
- Break out nl code cleanup into separate patch.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: tcmu: fix hung netlink requests and nl related cleanup V2
2018-06-22 21:40 tcmu: fix hung netlink requests and nl related cleanup V2 Mike Christie
@ 2018-06-25 2:16 ` Xiubo Li
2018-06-26 16:27 ` Martin K. Petersen
1 sibling, 0 replies; 3+ messages in thread
From: Xiubo Li @ 2018-06-25 2:16 UTC (permalink / raw)
To: target-devel
On 2018/6/23 5:40, Mike Christie wrote:
> The following patches fix the issues where the userspace daemon
> has crashed and left netlink requests dangling. The daemon
> can now block the interface, kill outstanding requests, reopen
> the netlink socket and then unblock and execute new requests.
>
> The patches were made over Martin's for-next branch.
>
> v2:
> - Return BUSY error immediately when there is a running command.
> - Fix nl skb leak when device is blocked.
> - Fix check for valid block_netlink input.
> - Break out nl code cleanup into separate patch.
Tested it with the corner cases, which are mainly for adding and
removing cases.
Tested-by: Xiubo Li <xiubli@redhat.com>
BRs
Xiubo
> --
> To unsubscribe from this list: send the line "unsubscribe target-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: tcmu: fix hung netlink requests and nl related cleanup V2
2018-06-22 21:40 tcmu: fix hung netlink requests and nl related cleanup V2 Mike Christie
2018-06-25 2:16 ` Xiubo Li
@ 2018-06-26 16:27 ` Martin K. Petersen
1 sibling, 0 replies; 3+ messages in thread
From: Martin K. Petersen @ 2018-06-26 16:27 UTC (permalink / raw)
To: target-devel
Mike,
> The following patches fix the issues where the userspace daemon has
> crashed and left netlink requests dangling. The daemon can now block
> the interface, kill outstanding requests, reopen the netlink socket
> and then unblock and execute new requests.
Applied to 4.19/scsi-queue, thanks!
--
Martin K. Petersen Oracle Linux Engineering
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-06-26 16:27 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-22 21:40 tcmu: fix hung netlink requests and nl related cleanup V2 Mike Christie
2018-06-25 2:16 ` Xiubo Li
2018-06-26 16:27 ` Martin K. Petersen
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.