From nobody Sun Jul 14 03:50:55 2024 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 4WMBFn1bDcz5Q4LP for ; Sun, 14 Jul 2024 03:51:09 +0000 (UTC) (envelope-from rick.macklem@gmail.com) Received: from mail-pg1-x535.google.com (mail-pg1-x535.google.com [IPv6:2607:f8b0:4864:20::535]) (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 "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WMBFm74Tyz3xFr for ; Sun, 14 Jul 2024 03:51:08 +0000 (UTC) (envelope-from rick.macklem@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-pg1-x535.google.com with SMTP id 41be03b00d2f7-656d8b346d2so1945774a12.2 for ; Sat, 13 Jul 2024 20:51:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720929067; x=1721533867; darn=freebsd.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=GMALvBdxy4CDLqz+e70twUUwjinKEpbs2V5jQybaiJk=; b=dhUfLm47RfJATvXhweJhI6lf0y9UWR6q7JHxDcHlF72tGjW1G3y9DqcmE6VOiMNNGw M1IqIFUpGy0ew5k5VKSS5aDdU0oMK0S0mnfPh7r0VpnXcrXHL/Bel1YtJoxEsDHnM7hA zk5PQbgzaWE4OmfEdHc2mztWMrr5AtcaUHuBb3MfyRXYtYS/t5J0obHhDA5yBKgiTS8i 1Qj0r7KU/z1S8nA/GXanr/GgJ/tYMSSGxy0FcNEMYYV2xNcgpfhBdPdsKVG3P8xpkeox d4FpVz1Hb2HGuhDKvcnrnmmLsr80xRd5LMFwULj5caRi1+rQT3xdv6CF8KfTGsCTUaTt Gf4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720929067; x=1721533867; h=content-transfer-encoding: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=GMALvBdxy4CDLqz+e70twUUwjinKEpbs2V5jQybaiJk=; b=qIGTUYE7l930DytcQnfGmYSkLptr9qG/BvpOGox6gpjd3GYvRcLLfXoQ9n/BL4xjo1 ZC9jYBwHDPMZxEKGbRueSMroWlviXZyRsDowt961I3bIeVeq+uG4gBeAJ5sbrnLgiBwg NmXHsGKXbVv7ZnqEylqjZAcWrfcCQpznijnp5aZiWwcbWpeiZ/wmoIak3JwxC9MN1Rrq zSUeCVvHkh2IMvNN+b5crPBl3EmZDrKQVhZPpUF3ziwPvfR+ZGTNNlxiJ72P+2Tza/1N uNQEn9tW0hLTXMtfYPmOeg25mWlxjo8NJJQsSieJrV6l2tOO8BDvfldUb3b6TgR2UIqk CHBw== X-Gm-Message-State: AOJu0YzZz1ISxcOYFwr2eHGhUqKeCibVwNCn+Iz93PJK9w105127kTzD 01swCjd3I5xY5oYl8iOxf+5b6WwdiqTHtVgXvMea9gP1022mgVU0WyGSTsFcsSGeebK7iSVciiH 8l0lZPrPL/j/RShv34pDzTqjTcbj0 X-Google-Smtp-Source: AGHT+IHWTZiSMRPYY3hwKrHP+tTGAF6p5oc9YE8L8WROUPRZQG2BzoOdOfouA5+7eccQXyrmQqFUeVd5LhANIyF5R08= X-Received: by 2002:a05:6a20:2588:b0:1c0:f193:8387 with SMTP id adf61e73a8af0-1c2981fbf26mr18806427637.11.1720929066876; Sat, 13 Jul 2024 20:51:06 -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: X-BeenThere: freebsd-stable@freebsd.org Sender: owner-freebsd-stable@FreeBSD.org MIME-Version: 1.0 References: <26259.12713.114036.564205@hergotha.csail.mit.edu> <26259.17366.276955.824313@hergotha.csail.mit.edu> In-Reply-To: <26259.17366.276955.824313@hergotha.csail.mit.edu> From: Rick Macklem Date: Sat, 13 Jul 2024 20:50:55 -0700 Message-ID: Subject: Re: Possible bug in zfs send or pipe implementation? To: Garrett Wollman Cc: freebsd-stable@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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)[]; TAGGED_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Queue-Id: 4WMBFm74Tyz3xFr On Sat, Jul 13, 2024 at 8:19=E2=80=AFPM Garrett Wollman wrote: > > < said: > > > # ps axHl > > should show you what wchan's the processes are waiting on and that migh= t > > give you a clue w.r.t. what is happening? > > zfs is waiting to write into the pipe and pv (the progress meter) is > waiting in select. Just to clarify it, are you saying zfs is sleeping on "pipewr"? (There is also a msleep() for "pipbww" in pipe_write().) rick > > > If is easy to build a kernel from sources and boot that, you could try = defining > > PIPE_NODIRECT in sys/kern/sys_pipe.c and see if that avoids the hangs? > > It's easy to build a kernel from sources, but not easy to reboot the > server -- it's being retired shortly, and because of time constraints > I need to get it drained before the next scheduled outage. > > -GAWollman >