Closed jluebbe closed 11 months ago
But it works a short moment later. Should we include some forced waiting time before reading the registers?
Hmm, that would make every call slower, even when not necessary to solve this corner case. Perhaps just retry and wait on error? Or check if a card is detected via /sys/class/block/<bdev>/size != 0
?
But it works a short moment later. Should we include some forced waiting time before reading the registers?
Hmm, that would make every call slower, even when not necessary to solve this corner case. Perhaps just retry and wait on error? Or check if a card is detected via
/sys/class/block/<bdev>/size != 0
?
For me wait and retry on error sounds like the sensible solution.
One more thing I found while using this tooling:
will fail while reading the info:
But it works a short moment later. Should we include some forced waiting time before reading the registers?