OSDN Git Service

sheepdog: switch to writethrough mode if cluster doesn't support flush
authorMORITA Kazutaka <morita.kazutaka@gmail.com>
Wed, 2 May 2012 20:26:07 +0000 (05:26 +0900)
committerKevin Wolf <kwolf@redhat.com>
Mon, 7 May 2012 17:33:18 +0000 (19:33 +0200)
commit115c2b5a6806615206dfa5518509911bfc7b1d07
treee79ec54d0bb3ef66e9da3708846d653291013cba
parent847c25d01cbe8e4fe457a7426f82daaaf3287aae
sheepdog: switch to writethrough mode if cluster doesn't support flush

This is necessary for qemu to work with the older version of Sheepdog
which doesn't support SD_OP_FLUSH_VDI.

Signed-off-by: MORITA Kazutaka <morita.kazutaka@gmail.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/sheepdog.c