OSDN Git Service

sheepdog: multiplex the rw FD to flush cache
authorLiu Yuan <tailai.ly@taobao.com>
Tue, 15 Jan 2013 08:28:55 +0000 (16:28 +0800)
committerStefan Hajnoczi <stefanha@redhat.com>
Tue, 15 Jan 2013 10:18:49 +0000 (11:18 +0100)
commit477830727821e4bc337f4ac1fd222ffe0b900e1a
treea47227c50f710f32ac30ccaf3cd19909e4ec4886
parentdf702c9b4c1d049b12d7cf2f2ee607ff32f766cb
sheepdog: multiplex the rw FD to flush cache

This will reduce sockfds connected to the sheep server to one, which simply the
future hacks.

Cc: MORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp>
Cc: Kevin Wolf <kwolf@redhat.com>
Cc: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Liu Yuan <tailai.ly@taobao.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
block/sheepdog.c