nvme-cli connect regression

Daniel Wagner dwagner at suse.de
Wed Apr 16 05:26:23 PDT 2025


On Tue, Apr 15, 2025 at 02:26:40PM -0700, Caleb Sander Mateos wrote:
> On Tue, Apr 15, 2025 at 2:14 PM Sagi Grimberg <sagi at grimberg.me> wrote:
> > Its not great that we now get sporadic EINTR errors. I am wandering what
> > is triggering this?
> >
> > Caleb, did you see this?
> 
> Yes, I did see it. I don't understand where EINTR could come from
> aside from the userspace process receiving a signal while waiting for
> the ICResp (or hitting the 10 second timeout waiting to receive the
> PDU). I don't understand how the switch to MSG_WAITALL would affect
> this. A tcpdump might be helpful to understand whether the controller
> is actually sending the full ICResp timely.

I think I can reproduce it. I have two connections and do a

   while nvme read ....; do yes; done

and block one of the connections, when the error handler kicks in the id
ns command fails with EINTR.



More information about the Linux-nvme mailing list