block: more read-only changes, related to backing files
authorNaphtali Sprei <nsprei@redhat.com>
Sun, 14 Feb 2010 11:39:18 +0000 (13:39 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 19 Feb 2010 21:32:15 +0000 (15:32 -0600)
commitfff5265531fe1e38d0748adb5da1ed540105567a
tree4cdcfc8a46c1a041c53c5d590fefe71179101b76
parenta76eb799f3dc2d71c3f00b0bc3929ecd4134f6e8
block: more read-only changes, related to backing files

Open backing file read-only where possible
Upgrade backing file to read-write during commit, back to read-only after commit
  If upgrade fail, back to read-only. If also fail, "disconnect" the drive.

Signed-off-by: Naphtali Sprei <nsprei@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
block.c
block_int.h