From: Jerry Jiang <kj2864@nyu.edu>
To: Alex Markuze <amarkuze@redhat.com>
Cc: Ilya Dryomov <idryomov@gmail.com>, Xiubo Li <xiubo.li@clyso.com>,
Viacheslav Dubeyko <slava@dubeyko.com>,
ceph-devel@vger.kernel.org, linux-kernel@vger.kernel.org,
stable@vger.kernel.org, co+408fcc361565713f@bugs.sh
Subject: Re: [PATCH v3] ceph: Use unsigned types for snapshot split counts
Date: Wed, 25 Nov 2026 22:30:49 -0500 [thread overview]
Message-ID: <CAPqbLS0EbbsQ6Z8P_vep-nMfDKbe8S9cKiOS5fWp8qQdFTp_eA@mail.gmail.com> (raw)
In-Reply-To: <20261124113412.2078323-1-amarkuze@redhat.com>
Hi Alex,
I've looked through your request and created a new patch for it.
Please tell me if any issues arise or any other changes I need to
make.
v4 has been proposed:
https://lore.kernel.org/all/20261126032756.265377-2-kj2864@nyu.edu/
On Tue, Nov 24, 2026 at 6:34 AM Alex Markuze <amarkuze@redhat.com> wrote:
>
> Hi Kaho,
>
> On a malformed SPLIT, the failure path calls ceph_monc_blocklist_add()
> with snap_rwsem held. If the blocklist command succeeds but the subsequent
> OSD map version or map does not arrive, cached snapshot lookups can remain
> blocked on that lock.
>
> After the blocklist call returns, ceph_mdsc_close_sessions() can queue a
> close request and wait for it from the MDS connection worker that is
> running this handler. The worker cannot send the request or process its
> reply until the handler returns, so with mount_timeout=0 the wait can be
> indefinite.
>
> Please move the blocklist/map and session-close waits out of the MDS
> connection worker, and avoid holding snap_rwsem while waiting. Keep the
> client fenced, prevent further stale-context submissions and account for
> writes already on the wire before releasing session authority; retain the
> required references until the deferred cleanup finishes.
>
> Thanks,
> Alex
>
prev parent reply other threads:[~2026-11-26 3:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-23 5:04 Kaho Jiang
2026-11-24 11:34 ` Alex Markuze
2026-11-26 3:30 ` Jerry Jiang [this message]
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=CAPqbLS0EbbsQ6Z8P_vep-nMfDKbe8S9cKiOS5fWp8qQdFTp_eA@mail.gmail.com \
--to=kj2864@nyu.edu \
--cc=amarkuze@redhat.com \
--cc=ceph-devel@vger.kernel.org \
--cc=co+408fcc361565713f@bugs.sh \
--cc=idryomov@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=slava@dubeyko.com \
--cc=stable@vger.kernel.org \
--cc=xiubo.li@clyso.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®