From nobody Fri Oct 24 15:50:47 2025 X-Original-To: dev-commits-src-main@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 4ctS6f6JZMz6DlFZ; Fri, 24 Oct 2025 15:50:50 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) (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 4ctS6f2Mx4z3SL1; Fri, 24 Oct 2025 15:50:50 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Authentication-Results: mx1.freebsd.org; none Received: from critter.freebsd.dk (unknown [192.168.55.3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by phk.freebsd.dk (Postfix) with ESMTPS id 0F598C3F3D; Fri, 24 Oct 2025 15:50:48 +0000 (UTC) Received: (from phk@localhost) by critter.freebsd.dk (8.18.1/8.16.1/Submit) id 59OFolH7062303; Fri, 24 Oct 2025 15:50:47 GMT (envelope-from phk) Message-Id: <202510241550.59OFolH7062303@critter.freebsd.dk> To: Warner Losh cc: Konstantin Belousov , src-committers , "" , "" Subject: Re: git: 2612f1b8649b - main - deadfs: Return ENXIO instead of EIO when the device is gone. In-reply-to: From: "Poul-Henning Kamp" References: <202510240741.59O7fBAe041995@gitrepo.freebsd.org> <202510241012.59OACUDA002781@critter.freebsd.dk> <202510241116.59OBG1ii003074@critter.freebsd.dk> <202510241314.59ODEq5a035616@critter.freebsd.dk> <202510241450.59OEo3Vp043004@critter.freebsd.dk> List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <62301.1761321047.1@critter.freebsd.dk> Date: Fri, 24 Oct 2025 15:50:47 +0000 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:1835, ipnet:130.225.0.0/16, country:EU] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Rspamd-Queue-Id: 4ctS6f2Mx4z3SL1 -------- Warner Losh writes: > --000000000000d0eb540641e8d38b > Content-Type: text/plain; charset="UTF-8" > Content-Transfer-Encoding: quoted-printable > > On Fri, Oct 24, 2025, 10:50=E2=80=AFAM Poul-Henning Kamp k> wrote: > > > I updated the "ThinkCenter" to 15-BETA2-p1 and made some experiments > > and I get different results no than before. > > > > This is obviously without the fix. > > > > > > Now I see 25 read(2)'s return EIO before ENXIO arrives. > > > > Each of those 25 read(2)'s do: > > > > read(2) syscall > > all the way down to CAM > > for 4(?) retries: > > CAM sends CCB down > > CAM gets CCB back with error > > CAM printf's two lines to console > > CAM returns EIO > > userland gets EIO > > userland printf's to stdout (=3Dconsole) > > > > What are the cam messages? https://phk.freebsd.dk/misc/IMG_20251024_174810.jpg -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.