All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Wilck <mwilck@suse.com>
To: Benjamin Marzinski <bmarzins@redhat.com>
Cc: lixiaokeng@huawei.com, dm-devel@redhat.com,
	Chongyun Wu <wu.chongyun@h3c.com>
Subject: Re: [dm-devel] [PATCH v2 32/48] multipathd: uxlsnr: use poll loop for sending, too
Date: Mon, 29 Nov 2021 20:01:51 +0100	[thread overview]
Message-ID: <325aa9852beba3896ec173496d21f705ee4efaf6.camel@suse.com> (raw)
In-Reply-To: <20211125014310.GW19591@octiron.msp.redhat.com>

Hello Ben,

On Wed, 2021-11-24 at 19:43 -0600, Benjamin Marzinski wrote:
> On Thu, Nov 18, 2021 at 11:58:24PM +0100, mwilck@suse.com wrote:
> > From: Martin Wilck <mwilck@suse.com>
> > 
> > send_packet() may busy-loop. By polling for POLLOUT, we can
> > avoid that, even if it's very unlikely in practice.
> > 
> 
> The last time I reviewed this, I mentioned that when we fall through
> from CLT_WORK to CLT_SEND, the client hasn't checked for a POLLOUT
> revent, so it's possible to block here. I'm not sure that we care.
> If not
> 
> Reviewed-by: Benjamin Marzinski <bmarzins@redhat.com>

Unlike the other patches, I did remove your "Reviewed-by:" on this
patch in the v3 series, because I made a non-trivial change in order
to fix the issue you mentioned. Now it's the only patch in the v3
series that doesn't have your Reviewed-by: tag.

Will you review this patch again? 

If you're fine with the patch, and you have no other objections,
I'll push the v4 of the series (with the whitespace issues fixed)
to my "queue2 branch and start preparing a submission for Christophe.

Regards
Martin


--
dm-devel mailing list
dm-devel@redhat.com
https://listman.redhat.com/mailman/listinfo/dm-devel


  parent reply	other threads:[~2021-11-29 19:02 UTC|newest]

Thread overview: 76+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-18 22:57 [dm-devel] [PATCH v2 00/47] multipathd: uxlsnr overhaul mwilck
2021-11-18 22:57 ` [dm-devel] [PATCH v2 01/48] libmultipath: add timespeccmp() utility function mwilck
2021-11-18 22:57 ` [dm-devel] [PATCH v2 02/48] libmultipath: add trylock() helper mwilck
2021-11-18 22:57 ` [dm-devel] [PATCH v2 03/48] libmultipath: add optional wakeup functionality to lock.c mwilck
2021-11-24 20:41   ` Benjamin Marzinski
2021-11-24 21:20     ` Martin Wilck
2021-11-29 19:27       ` Benjamin Marzinski
2021-11-29 20:52         ` Martin Wilck
2021-11-30 16:52           ` Benjamin Marzinski
2021-11-30 20:28             ` Martin Wilck
2021-12-01 12:06               ` Martin Wilck
2021-12-14 23:25                 ` Benjamin Marzinski
2021-12-15  7:33                   ` Martin Wilck
2021-12-15 21:01                     ` Martin Wilck
2021-12-16 15:34                       ` Benjamin Marzinski
2021-11-18 22:57 ` [dm-devel] [PATCH v2 04/48] libmultipath: print: add __snprint_config() mwilck
2021-11-18 22:57 ` [dm-devel] [PATCH v2 05/48] libmultipath: improve cleanup of uevent queues on exit mwilck
2021-11-18 22:57 ` [dm-devel] [PATCH v2 06/48] multipathd: fix systemd notification when stopping while reloading mwilck
2021-11-18 22:57 ` [dm-devel] [PATCH v2 07/48] multipathd: improve delayed reconfigure mwilck
2021-11-24 21:18   ` Benjamin Marzinski
2021-11-18 22:58 ` [dm-devel] [PATCH v2 08/48] multipathd: cli.h: formatting improvements mwilck
2021-11-18 22:58 ` [dm-devel] [PATCH v2 09/48] multipathd: cli_del_map: fix reply for delayed action mwilck
2021-11-18 22:58 ` [dm-devel] [PATCH v2 10/48] multipathd: add prototype for cli_handler functions mwilck
2021-11-18 22:58 ` [dm-devel] [PATCH v2 11/48] multipathd: make all cli_handlers static mwilck
2021-11-18 22:58 ` [dm-devel] [PATCH v2 12/48] multipathd: add and set cli_handlers in a single step mwilck
2021-11-24 21:41   ` Benjamin Marzinski
2021-11-18 22:58 ` [dm-devel] [PATCH v2 13/48] multipathd: cli.c: use ESRCH for "command not found" mwilck
2021-11-18 22:58 ` [dm-devel] [PATCH v2 14/48] multipathd: uxlsnr: avoid stalled clients during reconfigure mwilck
2021-11-18 22:58 ` [dm-devel] [PATCH v2 15/48] multipathd: uxlsnr: handle client HUP mwilck
2021-11-18 22:58 ` [dm-devel] [PATCH v2 16/48] multipathd: uxlsnr: use symbolic values for pollfd indices mwilck
2021-11-18 22:58 ` [dm-devel] [PATCH v2 17/48] multipathd: uxlsnr: avoid using fd -1 in ppoll() mwilck
2021-11-18 22:58 ` [dm-devel] [PATCH v2 18/48] multipathd: uxlsnr: data structure for stateful client connection mwilck
2021-11-18 22:58 ` [dm-devel] [PATCH v2 19/48] multipathd: move uxsock_trigger() to uxlsnr.c mwilck
2021-11-18 22:58 ` [dm-devel] [PATCH v2 20/48] multipathd: move parse_cmd() " mwilck
2021-11-18 22:58 ` [dm-devel] [PATCH v2 21/48] multipathd: uxlsnr: remove check_timeout() mwilck
2021-11-18 22:58 ` [dm-devel] [PATCH v2 22/48] multipathd: uxlsnr: move client handling to separate function mwilck
2021-11-18 22:58 ` [dm-devel] [PATCH v2 23/48] multipathd: uxlsnr: use main poll loop for receiving mwilck
2021-11-18 22:58 ` [dm-devel] [PATCH v2 24/48] multipathd: use strbuf in cli_handler functions mwilck
2021-11-18 22:58 ` [dm-devel] [PATCH v2 25/48] multipathd: uxlsnr: check root on connection startup mwilck
2021-11-18 22:58 ` [dm-devel] [PATCH v2 26/48] multipathd: uxlsnr: pass struct client to uxsock_trigger() and parse_cmd() mwilck
2021-11-18 22:58 ` [dm-devel] [PATCH v2 27/48] multipathd: uxlsnr: move handler execution to separate function mwilck
2021-11-18 22:58 ` [dm-devel] [PATCH v2 28/48] multipathd: uxlsnr: use parser to determine non-root commands mwilck
2021-11-18 22:58 ` [dm-devel] [PATCH v2 29/48] multipathd: uxlsnr: merge uxsock_trigger() into state machine mwilck
2021-11-24 23:48   ` Benjamin Marzinski
2021-11-25  0:38   ` Benjamin Marzinski
2021-11-26 14:34     ` Martin Wilck
2021-11-29 16:19       ` Benjamin Marzinski
2021-11-29 17:00         ` Martin Wilck
2021-11-18 22:58 ` [dm-devel] [PATCH v2 30/48] multipathd: uxlsnr: add idle notification mwilck
2021-11-25  1:08   ` Benjamin Marzinski
2021-11-26 14:23     ` Martin Wilck
2021-11-29 16:26       ` Benjamin Marzinski
2021-11-18 22:58 ` [dm-devel] [PATCH v2 31/48] multipathd: uxlsnr: add timeout handling mwilck
2021-11-25  1:23   ` Benjamin Marzinski
2021-11-18 22:58 ` [dm-devel] [PATCH v2 32/48] multipathd: uxlsnr: use poll loop for sending, too mwilck
2021-11-25  1:43   ` Benjamin Marzinski
2021-11-26 14:06     ` Martin Wilck
2021-11-29 19:01     ` Martin Wilck [this message]
2021-11-18 22:58 ` [dm-devel] [PATCH v2 33/48] multipathd: uxlsnr: drop client_lock mwilck
2021-11-25  1:45   ` Benjamin Marzinski
2021-11-18 22:58 ` [dm-devel] [PATCH v2 34/48] multipathd: uxclt: allow client mode for non-root, too mwilck
2021-11-18 22:58 ` [dm-devel] [PATCH v2 35/48] multipathd: uxlsnr: use recv() for command length mwilck
2021-11-25  1:54   ` Benjamin Marzinski
2021-11-18 22:58 ` [dm-devel] [PATCH v2 36/48] multipathd: move delayed_reconfig out of struct config mwilck
2021-11-18 22:58 ` [dm-devel] [PATCH v2 37/48] multipathd: remove reconfigure from header file mwilck
2021-11-18 22:58 ` [dm-devel] [PATCH v2 38/48] multipathd: pass in the type of reconfigure mwilck
2021-11-18 22:58 ` [dm-devel] [PATCH v2 39/48] multipathd: add "reconfigure all" command mwilck
2021-11-18 22:58 ` [dm-devel] [PATCH v2 40/48] multipathd: remove missing paths on startup mwilck
2021-11-18 22:58 ` [dm-devel] [PATCH v2 41/48] libmultipath: skip unneeded steps to get path name mwilck
2021-11-18 22:58 ` [dm-devel] [PATCH v2 42/48] libmultipath: don't use fallback wwid in update_pathvec_from_dm mwilck
2021-11-18 22:58 ` [dm-devel] [PATCH v2 43/48] libmultipath: always set INIT_REMOVED in set_path_removed mwilck
2021-11-18 22:58 ` [dm-devel] [PATCH v2 44/48] multipathd: fully initialize paths added by update_pathvec_from_dm mwilck
2021-11-18 22:58 ` [dm-devel] [PATCH v2 45/48] multipathd: retrigger uevent for partial paths mwilck
2021-11-18 22:58 ` [dm-devel] [PATCH v2 46/48] multipathd: remove INIT_PARTIAL paths that aren't in a multipath device mwilck
2021-11-18 22:58 ` [dm-devel] [PATCH v2 47/48] multipathd: Remove dependency on systemd-udev-settle.service mwilck
2021-11-18 22:58 ` [dm-devel] [PATCH v2 48/48] libmultipath: add path wildcard "%I" for init state mwilck

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=325aa9852beba3896ec173496d21f705ee4efaf6.camel@suse.com \
    --to=mwilck@suse.com \
    --cc=bmarzins@redhat.com \
    --cc=dm-devel@redhat.com \
    --cc=lixiaokeng@huawei.com \
    --cc=wu.chongyun@h3c.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.