From: Alexander Ahring Oder Aring <aahringo@redhat.com>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] [PATCHv4 dlm/next 4/8] fs: dlm: add functionality to re-transmit a message
Date: Wed, 21 Apr 2021 10:45:32 -0400 [thread overview]
Message-ID: <CAK-6q+htp6o-vnukUu7nu9uXF93zA9TZ0EhQwYrsCzV1rrcLqw@mail.gmail.com> (raw)
In-Reply-To: <20210409144859.48385-5-aahringo@redhat.com>
Hi,
On Fri, Apr 9, 2021 at 10:49 AM Alexander Aring <aahringo@redhat.com> wrote:
...
> }
>
> +void dlm_lowcomms_resend_buffer(void *mh)
> +{
> + struct dlm_msg *msg = mh;
> + void *mh_new;
> + char *ppc;
> +
> + mh_new = dlm_lowcomms_new_buffer_con(msg->entry->con, msg->len,
> + GFP_NOFS, &ppc, NULL, NULL);
This should be GFP_ATOMIC, because we later call this function while
rcu lock is held.
I am worried about the con lookup here, but I think it's fine so far
we call this function inside some workqueue which should synchronize
the free of "con" here. However I will fix that srcu usage later to be
more correct...
- Alex
next prev parent reply other threads:[~2021-04-21 14:45 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-09 14:48 [Cluster-devel] [PATCHv4 dlm/next 0/8] fs: dlm: introduce dlm re-transmission layer Alexander Aring
2021-04-09 14:48 ` [Cluster-devel] [PATCHv4 dlm/next 1/8] fs: dlm: public header in out utility Alexander Aring
2021-04-09 14:48 ` [Cluster-devel] [PATCHv4 dlm/next 2/8] fs: dlm: add more midcomms hooks Alexander Aring
2021-04-09 14:48 ` [Cluster-devel] [PATCHv4 dlm/next 3/8] fs: dlm: make buffer handling per msg Alexander Aring
2021-04-09 14:48 ` [Cluster-devel] [PATCHv4 dlm/next 4/8] fs: dlm: add functionality to re-transmit a message Alexander Aring
2021-04-21 14:45 ` Alexander Ahring Oder Aring [this message]
2021-04-22 21:11 ` Alexander Ahring Oder Aring
2021-04-09 14:48 ` [Cluster-devel] [PATCHv4 dlm/next 5/8] fs: dlm: move out some hash functionality Alexander Aring
2021-04-09 14:48 ` [Cluster-devel] [PATCHv4 dlm/next 6/8] fs: dlm: add union in dlm header for lockspace id Alexander Aring
2021-04-09 14:48 ` [Cluster-devel] [PATCHv4 dlm/next 7/8] fs: dlm: add reliable connection if reconnect Alexander Aring
2021-04-09 14:48 ` [Cluster-devel] [PATCHv4 dlm/next 8/8] fs: dlm: don't allow half transmitted messages Alexander Aring
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=CAK-6q+htp6o-vnukUu7nu9uXF93zA9TZ0EhQwYrsCzV1rrcLqw@mail.gmail.com \
--to=aahringo@redhat.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.