aboutsummaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorCorey Bryant <coreyb@linux.vnet.ibm.com>2012-08-14 16:43:48 -0400
committerKevin Wolf <kwolf@redhat.com>2012-08-15 13:16:22 +0200
commitefb87c169740e618ec548c45c819a43e0ade2bab (patch)
tree4c3e144c1214ac7b3914075811e846d4374e144b /block
parentadb696f3d8535119fe0f5363de79a29e6bda83ed (diff)
monitor: Clean up fd sets on monitor disconnect
Fd sets are shared by all monitor connections. Fd sets are considered to be in use while at least one monitor is connected. When the last monitor disconnects, all fds that are members of an fd set with no outstanding dup references are closed. This prevents any fd leakage associated with a client disconnect prior to using a passed fd. Signed-off-by: Corey Bryant <coreyb@linux.vnet.ibm.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions