Show netlink-revived devices in vitastor-nbd ls #209

Open
koolkhel wants to merge 1 commits from koolkhel/vitastor:nbd-ls-revive into master

1 Commits

Author SHA1 Message Date
391cc394d3 Show netlink-revived devices in vitastor-nbd ls
ls listed a device only when /sys/block/nbdN/pid was a running map or
netlink-map process. The kernel sets that pid on CONNECT and keeps it on
RECONFIGURE, so after netlink-revive it names the dead process, and the
netlink-revive command wasn't accepted anyway: ls showed nothing for a
working device. Look such a device up among the running netlink-revive
processes in /proc.

The help and docs said netlink devices never show up in ls; say instead
that the sysfs pid of a revived device stays the old one.
2026-11-29 22:11:52 +03:00