pingqiuandClaude Opus 5.5 ae5f774b72 ublk: refuse any pre-existing device id; idempotent Target.Close; surface queue thread errors
- No automatic reclaim: Start refuses a /dev/ublkcN already present at
  the requested id, with an error naming it, before sending any command
  (the device-info read, pid probe and pid-namespace questions are gone).
  A device created by another starter between the check and ADD_DEV makes
  ADD_DEV itself fail (EEXIST); nothing is deleted. Removing a leftover
  device is a documented operator step (package doc).
- Target.Close runs the device close once; every caller, concurrent or
  later, gets that result.
- A queue thread's abnormal error, including a failed ring close, is kept
  and returned through the shutdown (settleQueues joins it).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 14:22:33 -08:00
Languages
Go 84.5%
Rust 7.9%
Shell 2.7%
templ 1.6%
Java 1%
Other 2%