Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Sep 2023 22:37:29 +0900
From:      Tomoaki AOKI <junchoon@dec.sakura.ne.jp>
To:        FreeBSD-STABLE Mailing List <freebsd-stable@freebsd.org>
Cc:        Warner Losh <imp@bsdimp.com>, Jake Freeland <jake@technologyfriends.net>
Subject:   Re: Is there any plan for ZFS and timerfd updates on stable/14?
Message-ID:  <20230903223729.f97f8f9aebe4db561b1c63bc@dec.sakura.ne.jp>
In-Reply-To: <20230903133328.54577b85b097da319ecde4ba@dec.sakura.ne.jp>
References:  <20230903123028.4ffceb705824f86d2efc21e3@dec.sakura.ne.jp> <CAOgZAGbOGs8-iW7sAPBboO2OM_FNR2TrSpGH3qd1Rf9_qfhMwg@mail.gmail.com> <CANCZdfr61v7Po28f9mJ-a3ZVnQRArcSdfHw_1tuB3L7iCm04Dw@mail.gmail.com> <CAOgZAGaY=NAn9zSWEW4K_mm1z6J0MKKF3McKzsDZEUCgs3gVjA@mail.gmail.com> <20230903133328.54577b85b097da319ecde4ba@dec.sakura.ne.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 3 Sep 2023 13:33:28 +0900
Tomoaki AOKI <junchoon@dec.sakura.ne.jp> wrote:

> On Sat, 2 Sep 2023 22:47:53 -0500
> Jake Freeland <jake@technologyfriends.net> wrote:
> 
> > On Sat, Sep 2, 2023 at 10:40 PM Warner Losh <imp@bsdimp.com> wrote:
> > 
> > >
> > >
> > > On Sat, Sep 2, 2023, 9:36 PM Jake Freeland <jake@technologyfriends.net>
> > > wrote:
> > >
> > >> On Sat, Sep 2, 2023 at 10:31 PM Tomoaki AOKI <junchoon@dec.sakura.ne.jp>
> > >> wrote:
> > >>
> > >>> Hi.
> > >>>
> > >>> There are discussions about deadlocks issue of ZFS on freebsd-current
> > >>> ML, starting from [1] last month.
> > >>> IIRC, at least some fixes (candidates?) are merged to main, but not yet
> > >>> to stable/14.
> > >>>
> > >>> Upcoming (aleready released? or still rc3?) OpenZFS 2.2-release seems
> > >>> to have most of them. So my 1st question is "Is there any plan to
> > >>> import vendor/openzfs/zfs-2.2-release into stable/14 BEFORE BRANCHING
> > >>> releng/14?
> > >>>
> > >>> And one more. timerfd is added at last-minutes BEFORE stable/14 is
> > >>> branched, and already have not-yet-MFC'ed fixes [2], [3], [4] and
> > >>> Differential revision D41600 on Phablicator [5] related to memory leaks
> > >>> and locks.
> > >>> Additionally, splitting out lib32 part to proper place is proposed
> > >>> as D41640 [6].  Both [5] and [6] are accepted but not yet landed.
> > >>> Also, D41641 [7] proposes namespace pollution adjustments. This can be
> > >>> optional?
> > >>>
> > >>> Memory leaks and improper locks can lead system to security issues or
> > >>> deadlocks, so it would be benefical if landed and MFC'ed BEFORE
> > >>> releng/14 branches.
> > >>>
> > >>> Is there any plan to do so? At least, existing deadlocks should be
> > >>> considered as SHOW-STOPPER and resolved.
> > >>>
> > >>
> > >> The plan is to get all of those patches in before releng/14.0, I believe.
> > >>
> > >> What are your thoughts, Warner?
> > >>
> > >
> > > Sounds like the reviews are done or nearly so. I've not had time to look
> > > closely to be sure... I'd planned on making time Tuesday morning.
> > >
> > 
> > Yes. All reviews are good to go.
> > 
> > Jake Freeland
> 
> Glad to know. Thanks!
> Looking forward to see them landed / MFC'ed before releng/14 branches.
> 
> Regards.

And glad to see OpenZFS 2.2-release is imported to stable/14 today
as commit f789381671a3f97496d496d8f996a67eaa8b1a33 by mm@. :-)


> 
> > 
> > 
> > >
> > > Warner
> > >
> > >
> > >> Thanks,
> > >> Jake Freeland
> > >>
> > >>
> > >>>
> > >>> I myself am bitten by several deadlocks on poudriere full builds after
> > >>> upgrading base from stable/13 to stable/14, finally finished with
> > >>> increasing kern.maxvnodes after powercycle on each deadlock and
> > >>> continue.
> > >>>
> > >>>
> > >>> Thanks in advance!
> > >>>
> > >>> [1]
> > >>>
> > >>> https://lists.freebsd.org/archives/freebsd-current/2023-August/004162.html
> > >>>
> > >>> [2]
> > >>>
> > >>> https://cgit.freebsd.org/src/commit/?id=02f534b57f84d6f4f97c337b05b383c8b3aaf18c
> > >>>
> > >>> [3]
> > >>>
> > >>> https://cgit.freebsd.org/src/commit/?id=5eab523053db79b4bd4f926c7d7ac04444d9c1da
> > >>>
> > >>> [4]
> > >>>
> > >>> https://cgit.freebsd.org/src/commit/?id=f4296cfb409a48de00bfa60e76f686c2b031876f
> > >>>
> > >>> [5] https://reviews.freebsd.org/D41600
> > >>>
> > >>> [6] https://reviews.freebsd.org/D41640
> > >>>
> > >>> [7] https://reviews.freebsd.org/D41641
> > >>>
> > >>> --
> > >>> Tomoaki AOKI    <junchoon@dec.sakura.ne.jp>
> 
> -- 
> Tomoaki AOKI    <junchoon@dec.sakura.ne.jp>


-- 
Tomoaki AOKI    <junchoon@dec.sakura.ne.jp>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20230903223729.f97f8f9aebe4db561b1c63bc>