From nobody Sun Sep 3 03:36:18 2023 X-Original-To: freebsd-stable@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RdcrL40jgz4s1Gn for ; Sun, 3 Sep 2023 03:36:34 +0000 (UTC) (envelope-from jake@technologyfriends.net) Received: from mail-lj1-x22e.google.com (mail-lj1-x22e.google.com [IPv6:2a00:1450:4864:20::22e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RdcrL20Nwz3dbm for ; Sun, 3 Sep 2023 03:36:34 +0000 (UTC) (envelope-from jake@technologyfriends.net) Authentication-Results: mx1.freebsd.org; none Received: by mail-lj1-x22e.google.com with SMTP id 38308e7fff4ca-2b9d07a8d84so4126921fa.3 for ; Sat, 02 Sep 2023 20:36:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=technologyfriends.net; s=google; t=1693712190; x=1694316990; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=AhUGtu6gQyKXTX1Y/hISoFlcp8IUC44H2u2XRVhQRvs=; b=MJMeGF5OOmQ2+ZFtpZIP+I6Pw2IxzOIqjNmuR0xBpGJZIdlj/vJNWIdjcMPDHhGS39 YGV3F1q4QYpYasJUxJ31/Qdx36oFJKzH8GReva8+76yYOnv//APmDWsa48rQo59/B6ZX /e7KxADAOajxEz2Yubp7V4kt1l0XsbAX5vdUzrNxmBZJuhEJR8zGbznFlPIDbGIZ3CHG A4qCSIvTzml7zdULW2sAmWaKzPcBQPS3Rkcde7ZI3H9v2pZPFKtlzNi+XYgkaFGz/uIe GZ8ZpoMtLW6vkm+dLTgljWZjH8ljoQ7IjvK6nO/b1Y7i5S24/VI1QXH+HC9g1aIVZPRc hqhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693712190; x=1694316990; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=AhUGtu6gQyKXTX1Y/hISoFlcp8IUC44H2u2XRVhQRvs=; b=NKzv8tOll0mWI6NWIyh+W6kauRLsF8D2kMuh6oBeSw6HCj5WADcUHJsARjknmsXAP/ pJIzkvlAu+jfaL3JkDUp2EjCkXb80ba01vOP87OuJn3Lt0Bw84YMz2gVXQNS3d9SgGA4 K4CXxRXvd+WLzprTTKyQQOtL8KHP3MD0tnJAgtIP27eI3ye87IHRCyz/G3BigL4iUgVn xkm5y1HI+mSe6W81BCx0nGbEbz4YRx2VAs4MVyl6eOW3AxPrwpSl/mTsEKMPW2S3EZwG MUaimpFFPaY+0OcTiRxjsZrwvSiywmRkjHMmcztqBtg0KiCZowU+0ak2mekXFtfKQKrn onzw== X-Gm-Message-State: AOJu0YxtYItXmqfXL77bxmsfxdic9fsqU6UvVPYeZuHzD4d261csWQpW kO4oJ3lu0MKzLGVj4j8gT1CWKG1nrxJHPWMdKaqaSbJZQAz4ghQbzY0= X-Google-Smtp-Source: AGHT+IFe+yGUEWOET+xe4BoV24Rvv9cLCBooCdulvDFAnRESYIL/fxgQwT52yxomQbZUVaOc61bR5BTaaj/MbiTKA2Y= X-Received: by 2002:a2e:9b5a:0:b0:2bd:1fee:aacf with SMTP id o26-20020a2e9b5a000000b002bd1feeaacfmr4804552ljj.24.1693712189994; Sat, 02 Sep 2023 20:36:29 -0700 (PDT) List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org MIME-Version: 1.0 References: <20230903123028.4ffceb705824f86d2efc21e3@dec.sakura.ne.jp> In-Reply-To: <20230903123028.4ffceb705824f86d2efc21e3@dec.sakura.ne.jp> From: Jake Freeland Date: Sat, 2 Sep 2023 22:36:18 -0500 Message-ID: Subject: Re: Is there any plan for ZFS and timerfd updates on stable/14? To: Tomoaki AOKI , Warner Losh Cc: freebsd-stable@freebsd.org Content-Type: multipart/alternative; boundary="0000000000006fd1bd06046c19c6" X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] X-Rspamd-Queue-Id: 4RdcrL20Nwz3dbm --0000000000006fd1bd06046c19c6 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, Sep 2, 2023 at 10:31=E2=80=AFPM Tomoaki AOKI 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? 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.htm= l > > [2] > > https://cgit.freebsd.org/src/commit/?id=3D02f534b57f84d6f4f97c337b05b383c= 8b3aaf18c > > [3] > > https://cgit.freebsd.org/src/commit/?id=3D5eab523053db79b4bd4f926c7d7ac04= 444d9c1da > > [4] > > https://cgit.freebsd.org/src/commit/?id=3Df4296cfb409a48de00bfa60e76f686c= 2b031876f > > [5] https://reviews.freebsd.org/D41600 > > [6] https://reviews.freebsd.org/D41640 > > [7] https://reviews.freebsd.org/D41641 > > -- > Tomoaki AOKI > > --0000000000006fd1bd06046c19c6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sat, Sep 2, 2023 at 10:31=E2=80=AFPM T= omoaki AOKI <junchoon@dec.s= akura.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].=C2=A0 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=C2=A0thoughts, Warner?
Thanks,
Jake Freeland
=C2=A0

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.freeb= sd.org/src/commit/?id=3D02f534b57f84d6f4f97c337b05b383c8b3aaf18c

[3]
https://cgit.freeb= sd.org/src/commit/?id=3D5eab523053db79b4bd4f926c7d7ac04444d9c1da

[4]
https://cgit.freeb= sd.org/src/commit/?id=3Df4296cfb409a48de00bfa60e76f686c2b031876f

[5] https://reviews.freebsd.org/D41600

[6] https://reviews.freebsd.org/D41640

[7] https://reviews.freebsd.org/D41641

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

--0000000000006fd1bd06046c19c6--