]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] nbd: show nbd client pid in sysfs
authorPaul Clements <paul.clements@steeleye.com>
Thu, 7 Dec 2006 04:40:53 +0000 (20:40 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Thu, 7 Dec 2006 16:39:47 +0000 (08:39 -0800)
commit6b39bb6548d60b9a18826134b5ccd5c3cef85fe2
tree8521d13c8518d4baa0ecfe2f1031524edb47d4d9
parent792908225064b1d841a8990b9d1d1cfc4e0e5bb2
[PATCH] nbd: show nbd client pid in sysfs

Allow nbd to expose the nbd-client daemon's PID in /sys/block/nbd<x>/pid.

This is helpful for tracking connection status of a device and for
determining which nbd devices are currently in use.

Signed-off-by: Paul Clements <paul.clements@steeleye.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/block/nbd.c
include/linux/nbd.h