From nobody Thu Aug 17 20:04:27 2023 X-Original-To: current@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 4RRbZc1gHHz4q52c for ; Thu, 17 Aug 2023 20:04:56 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-yw1-x112d.google.com (mail-yw1-x112d.google.com [IPv6:2607:f8b0:4864:20::112d]) (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 4RRbZb2fQSz4M9v; Thu, 17 Aug 2023 20:04:55 +0000 (UTC) (envelope-from mavbsd@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-yw1-x112d.google.com with SMTP id 00721157ae682-589a9fc7fc6so2166197b3.1; Thu, 17 Aug 2023 13:04:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692302694; x=1692907494; h=content-transfer-encoding:in-reply-to:subject:from:references:cc:to :content-language:user-agent:mime-version:date:message-id:sender :from:to:cc:subject:date:message-id:reply-to; bh=Vi2C5Caa7gnR6QXm4u2dAGQCI+z8aHVMMs62srK7EaE=; b=V1X5N01lhZDT6KbYKM8i3xH+KdPpMcrMOTrhtdXO96BUryTzR87oybvMaS0Ex5X+ud t0eYYuXwi31G+C8fuUlmBGvjKNhdRQvQPDHOFxORKsZP2KwRoSYtTY3Dj/GOvumnQxo9 kgGNukHSfD5b+V6U33lUwgZ/wC8doEKFoywkNzhTCm90g/yR3X9e5sLdfIYBZdE0RemK N9O75ipJdAlNmrjs3BY91svKfdPs+bfUwPyfKazy5P1p3QGEO3gx+jMor2T/YR8r4ZNI RAzKy7YVxWc+Yu1aF9Mu/mQQ7xK0QYJJjjASOxCICyFeUgwv0anhN9AX17cNnD0wHvaw rwMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692302694; x=1692907494; h=content-transfer-encoding:in-reply-to:subject:from:references:cc:to :content-language:user-agent:mime-version:date:message-id:sender :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Vi2C5Caa7gnR6QXm4u2dAGQCI+z8aHVMMs62srK7EaE=; b=SwlnUtgsYLk6bL4C/m6q3Jnutsll9Jn3xUkU0Nuyf9VS1o+/URUvDu4erjiIAVPUPP valWXG7/NiH26Uq0RnQAtfRHe9cjejAEDR901+S0jbmGL6Uj4agAGJPcykTW1meP9L93 0H1+gQIL4yvojY4UvU1eRve7HniZ8YI/6h4a/bMzNpkUixU2Q53ITQRUx2qCdaihirTK oumADbm+SzoykDlj6DuIg8w70cwo3Y81eWz+yg3Phwhj8/pBA2CK7sJh0yHsADrv0uRn YGo0khs+nJiuj7AFwzSI9e7IHJNRE6p7WgC5GupxgJERy4krrI6m510eeXIQM2cPQg4D vXtQ== X-Gm-Message-State: AOJu0YwjUtGprO5BkUtfkQZAk8lAgWC5WUOIS1FOITdLEO2pmfUhOUET OZfOLvg2sJLQ5gBXVU23JlQnetEFwlc= X-Google-Smtp-Source: AGHT+IGfVgu+qd6R0coGPHcX8+GmuiMTIwPYGTuSS/TQIQCyLREOlft1Og3OVIF9FkjBnMh/QdofFg== X-Received: by 2002:a81:6906:0:b0:589:e586:6f09 with SMTP id e6-20020a816906000000b00589e5866f09mr420992ywc.47.1692302693742; Thu, 17 Aug 2023 13:04:53 -0700 (PDT) Received: from [10.230.45.5] ([38.32.73.2]) by smtp.gmail.com with ESMTPSA id s4-20020a0de904000000b0056d31a089e9sm73011ywe.126.2023.08.17.13.04.52 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 17 Aug 2023 13:04:53 -0700 (PDT) Message-ID: <0fd64567-59cd-9276-cc0c-17a09611f11a@FreeBSD.org> Date: Thu, 17 Aug 2023 16:04:27 -0400 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Content-Language: en-US To: =?UTF-8?Q?Dag-Erling_Sm=c3=b8rgrav?= Cc: current@freebsd.org, Mateusz Guzik , Martin Matuska References: <86leeltqcb.fsf@ltc.des.no> <86h6p4s64h.fsf@ltc.des.no> <86a5utrafp.fsf@ltc.des.no> <86350kqokl.fsf@ltc.des.no> <86y1icp95t.fsf@ltc.des.no> <86ttt0p8wv.fsf@ltc.des.no> <197ead1e-210a-6be6-7e24-5c56b14bb777@FreeBSD.org> <86350hpiby.fsf@ltc.des.no> From: Alexander Motin Subject: Re: ZFS deadlock in 14 In-Reply-To: <86350hpiby.fsf@ltc.des.no> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4RRbZb2fQSz4M9v 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:2607:f8b0::/32, country:US] On 17.08.2023 15:41, Dag-Erling Smørgrav wrote: > Alexander Motin writes: >> Trying to run your test (so far without reproduction) I see it >> producing a substantial amount of ZIL writes. The range of commits >> you reduced the scope to so far includes my ZIL locking refactoring, >> where I know for sure are some deadlocks. I am already waiting for 3 >> weeks now for reviews and tests for PR that should fix it: >> https://github.com/openzfs/zfs/pull/15122 . It would be good if you >> could test it, though it seems to depend on few more earlier patches >> not merged to FreeBSD yet. > > Do you have a FreeBSD branch with your patch applied? I don't have a FreeBSD branch, but these two patches apply clean and build on top of today's FreeBSD main branch: https://github.com/openzfs/zfs/pull/15107 https://github.com/openzfs/zfs/pull/15122 And if you still experience the issue, please show all stacks, or at least include ZFS sync threads. -- Alexander Motin