Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Oct 2025 15:50:47 +0000
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Warner Losh <imp@bsdimp.com>
Cc:        Konstantin Belousov <kostikbel@gmail.com>, src-committers <src-committers@freebsd.org>, "<dev-commits-src-all@freebsd.org>" <dev-commits-src-all@freebsd.org>, "<dev-commits-src-main@freebsd.org>" <dev-commits-src-main@freebsd.org>
Subject:   Re: git: 2612f1b8649b - main - deadfs: Return ENXIO instead of EIO when the device is gone.
Message-ID:  <202510241550.59OFolH7062303@critter.freebsd.dk>
In-Reply-To: <CANCZdfrTZCCFqeMmLNVfm_R9uUfOrOgnT9m5nABOPWvAdwnKjg@mail.gmail.com>
References:  <202510240741.59O7fBAe041995@gitrepo.freebsd.org> <aPs27Dc_w10t3ENH@kib.kiev.ua> <202510241012.59OACUDA002781@critter.freebsd.dk> <aPtWo1UP-UpPdsVf@kib.kiev.ua> <202510241116.59OBG1ii003074@critter.freebsd.dk> <aPtnt9siqT5R_32l@kib.kiev.ua> <CANCZdfrCa7PXtXEPU-O5Lgn3CkY86u-%2BP=pxVz%2BszAVxij9Hgw@mail.gmail.com> <202510241314.59ODEq5a035616@critter.freebsd.dk> <202510241450.59OEo3Vp043004@critter.freebsd.dk> <CANCZdfrTZCCFqeMmLNVfm_R9uUfOrOgnT9m5nABOPWvAdwnKjg@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

--------
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 <phk@phk.freebsd.d=
> 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.


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202510241550.59OFolH7062303>