Re: [PATCH] tcmu: wait for nl reply only if there are listeners or during an add

2019-03-06 Thread Martin K. Petersen
Cathy, > genlmsg_multicast_allns now returns the correct statuses when a > message is sent to a listener. However in the case of adding a > device we want to wait for the listener otherwise we may miss the > the device during startup. Applied to 5.1/scsi-queue, thanks! -- Martin K. Petersen

Re: [PATCH] tcmu: wait for nl reply only if there are listeners or during an add

2019-03-01 Thread Mike Christie
On 02/28/2019 01:28 PM, Cathy Avery wrote: > genlmsg_multicast_allns now returns the correct statuses when a > message is sent to a listener. However in the case of adding a > device we want to wait for the listener otherwise we may miss the > the device during startup. > > Signed-off-by: Cathy Av

[PATCH] tcmu: wait for nl reply only if there are listeners or during an add

2019-02-28 Thread Cathy Avery
genlmsg_multicast_allns now returns the correct statuses when a message is sent to a listener. However in the case of adding a device we want to wait for the listener otherwise we may miss the the device during startup. Signed-off-by: Cathy Avery --- drivers/target/target_core_user.c | 11 ++

Re: [PATCH] tcmu: wait for nl reply only if there are listeners

2019-02-05 Thread Mike Christie
Martin, I am self nacking this patch for now. On 02/01/2019 09:01 PM, Mike Christie wrote: > genlmsg_multicast_allns used to return -ESRCH even if the message was > successfully sent to a listener. With commit: > > commit cb9f7a9a5c96a773bbc9c70660dc600cfff82f82 > Author: Nicolas Dichtel > Date

[PATCH] tcmu: wait for nl reply only if there are listeners

2019-02-01 Thread Mike Christie
genlmsg_multicast_allns used to return -ESRCH even if the message was successfully sent to a listener. With commit: commit cb9f7a9a5c96a773bbc9c70660dc600cfff82f82 Author: Nicolas Dichtel Date: Tue Feb 6 14:48:32 2018 +0100 netlink: ensure to loop over all netns in genlmsg_multicast_allns(