« Previous | Next » 

Revision 3f5075ae

ID3f5075ae63b6dc1de9428d028a4d28fc98e7fdff

Added by Christoph Hellwig over 14 years ago

block: flush backing_hd in the right place

The backing device is only modified from bdrv_commit. So instead of
flushing it every time bdrv_flush is called for the front-end device
only flush it after we're written data to it in bdrv_commit.

Signed-off-by: Christoph Hellwig <>
Signed-off-by: Anthony Liguori <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences