Skip to contentSkip to conversation

nvme/039 intermittent failure

DISCUSSION John Garry 3 participants 4 messages Jun 29 – Jun 30 NVMe

lore
Share & tools
lore

John Garry

author
#0 lore raw

I have noticed nvme/039 for passthru error logging intermittently failing on v7.2-rc1

For failures, passthrough kernel logs are missing sometimes.

I had not noticed this on older kernels.

I do note that the passthru error logging kernel code uses pr_err_ratelimited(), so this can hardly ever be a reliable test.

Is this a known issue?

#1 lore raw

CC+ Alan,

Quoted 6 lines · John Garry

I have noticed nvme/039 for passthru error logging intermittently failing on v7.2-rc1

For failures, passthrough kernel logs are missing sometimes.

I had not noticed this on older kernels.

So far I do not observe the failure with v7.2-rc1 kernel.

Quoted 5 lines

I do note that the passthru error logging kernel code uses pr_err_ratelimited(), so this can hardly ever be a reliable test.

Is this a known issue?

I wasn't aware of it. Do you observe any kernel message that indicate that the error message, like "X: Y callbacks suppressed"? If so, the test case maybe able to check the message to see if the test result is reliable or not.

Alan, may I ask you to share your thoughts about the comment?

author
#2 lore raw
Quoted 2 lines · Shin'ichiro Kawasaki

CC+ Alan,

- alan, who is no longer with Oracle

Quoted 11 lines · John Garry
Quoted 6 lines

I have noticed nvme/039 for passthru error logging intermittently failing on v7.2-rc1

For failures, passthrough kernel logs are missing sometimes.

I had not noticed this on older kernels.

So far I do not observe the failure with v7.2-rc1 kernel.

Quoted 1 line
Quoted 7 lines
Quoted 4 lines

I do note that the passthru error logging kernel code uses pr_err_ratelimited(), so this can hardly ever be a reliable test.

Is this a known issue?

I wasn't aware of it. Do you observe any kernel message that indicate that the error message, like "X: Y callbacks suppressed"?

No, but now I find that the missing log is not occurring, but I always get the log with the unexpected cdw10 value

Quoted 5 lines

If so, the
test case maybe able to check the message to see if the test result is reliable or not.

Alan, may I ask you to share your thoughts about the comment?

I'll check it further

Thanks!

#3 lore raw
In reply to John Garry
Quoted 9 lines · John Garry

I have noticed nvme/039 for passthru error logging intermittently failing on v7.2-rc1

For failures, passthrough kernel logs are missing sometimes.

I had not noticed this on older kernels.

I do note that the passthru error logging kernel code uses pr_err_ratelimited(), so this can hardly ever be a reliable test.

Is this a known issue?

Hard to tell without failing logs but nvme/039 is quite unstable on my setup.
I've proposed a fix: https://lore.kernel.org/linux-block/[email protected]/T/#u

Can you give it a try?