[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <45762745.7010202@steeleye.com>
Date: Tue, 05 Dec 2006 21:13:25 -0500
From: Paul Clements <paul.clements@...eleye.com>
To: akpm@...l.org
CC: linux-kernel@...r.kernel.org, wouter@...p.be
Subject: [PATCH] nbd: show nbd client pid in sysfs
This simple patch allows 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.
Tested against 2.6.19.
Thanks,
Paul
View attachment "nbd_pid_sysfs.diff" of type "text/plain" (1020 bytes)
Powered by blists - more mailing lists