From nobody Sun Sep 03 13:37:29 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 4Rdt9v1NtKz4rWrj for ; Sun, 3 Sep 2023 13:37:39 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Received: from www121.sakura.ne.jp (www121.sakura.ne.jp [153.125.133.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Rdt9s07DHz3c9j for ; Sun, 3 Sep 2023 13:37:36 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Authentication-Results: mx1.freebsd.org; dkim=none; spf=none (mx1.freebsd.org: domain of junchoon@dec.sakura.ne.jp has no SPF policy when checking 153.125.133.21) smtp.mailfrom=junchoon@dec.sakura.ne.jp; dmarc=none Received: from kalamity.joker.local (123-1-88-210.area1b.commufa.jp [123.1.88.210]) (authenticated bits=0) by www121.sakura.ne.jp (8.16.1/8.16.1/[SAKURA-WEB]/20201212) with ESMTPA id 383DbTpA033190; Sun, 3 Sep 2023 22:37:30 +0900 (JST) (envelope-from junchoon@dec.sakura.ne.jp) Date: Sun, 3 Sep 2023 22:37:29 +0900 From: Tomoaki AOKI To: FreeBSD-STABLE Mailing List Cc: Warner Losh , Jake Freeland 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> <20230903133328.54577b85b097da319ecde4ba@dec.sakura.ne.jp> Organization: Junchoon corps X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd14.0) 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spamd-Bar: / X-Spamd-Result: default: False [-0.49 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; AUTH_NA(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.993]; MV_CASE(0.50)[]; ONCE_RECEIVED(0.10)[]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_THREE(0.00)[3]; FROM_HAS_DN(0.00)[]; DMARC_NA(0.00)[sakura.ne.jp]; BLOCKLISTDE_FAIL(0.00)[153.125.133.21:server fail,123.1.88.210:server fail]; TO_MATCH_ENVRCPT_SOME(0.00)[]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_NA(0.00)[no SPF record]; RCVD_COUNT_ONE(0.00)[1]; TO_DN_ALL(0.00)[]; HAS_ORG_HEADER(0.00)[]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:7684, ipnet:153.125.128.0/18, country:JP]; RCVD_TLS_LAST(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-stable@freebsd.org] X-Rspamd-Queue-Id: 4Rdt9s07DHz3c9j On Sun, 3 Sep 2023 13:33:28 +0900 Tomoaki AOKI wrote: > On Sat, 2 Sep 2023 22:47:53 -0500 > Jake Freeland wrote: > > > On Sat, Sep 2, 2023 at 10:40 PM Warner Losh wrote: > > > > > > > > > > > On Sat, Sep 2, 2023, 9:36 PM Jake Freeland > > > wrote: > > > > > >> On Sat, Sep 2, 2023 at 10:31 PM 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? > > >> > > > > > > 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 > > -- > Tomoaki AOKI -- Tomoaki AOKI