Re: [Nbd] [RFC 4/4] nbd: Add support for nbd as root device

From: Andreas Klauer
Date: Sat Jan 31 2015 - 09:50:24 EST


On Sat, Jan 31, 2015 at 08:52:18AM -0500, Paul Clements wrote:
> The pid is also used to break a hung connection. See nbd_xmit_timeout.

I'm using the pid to find the first free NBD device...

If it's going away I guess I'll have to stick to /proc/partitions...?
Although last time I tried, it did not work too well.

(discussion on the NBD list, March 2014, "How to find a free NBD device")

Regards
Andreas
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/