block.h (b0165585900f050f403cecba9d89adeccf35dd6c) block.h (d736f119dae6d292e8d60f2e02fa51a79524113e)
1#ifndef BLOCK_H
2#define BLOCK_H
3
4#include "block/aio.h"
5#include "qemu/iov.h"
6#include "qemu/option.h"
7#include "qemu/coroutine.h"
8#include "block/accounting.h"

--- 596 unchanged lines hidden (view full) ---

605 *
606 * This function can be recursive.
607 */
608void bdrv_drained_begin(BlockDriverState *bs);
609
610/**
611 * Like bdrv_drained_begin, but recursively begins a quiesced section for
612 * exclusive access to all child nodes as well.
1#ifndef BLOCK_H
2#define BLOCK_H
3
4#include "block/aio.h"
5#include "qemu/iov.h"
6#include "qemu/option.h"
7#include "qemu/coroutine.h"
8#include "block/accounting.h"

--- 596 unchanged lines hidden (view full) ---

605 *
606 * This function can be recursive.
607 */
608void bdrv_drained_begin(BlockDriverState *bs);
609
610/**
611 * Like bdrv_drained_begin, but recursively begins a quiesced section for
612 * exclusive access to all child nodes as well.
613 *
614 * Graph changes are not allowed during a subtree drain section.
615 */
616void bdrv_subtree_drained_begin(BlockDriverState *bs);
617
618/**
619 * bdrv_drained_end:
620 *
621 * End a quiescent section started by bdrv_drained_begin().
622 */

--- 15 unchanged lines hidden ---
613 */
614void bdrv_subtree_drained_begin(BlockDriverState *bs);
615
616/**
617 * bdrv_drained_end:
618 *
619 * End a quiescent section started by bdrv_drained_begin().
620 */

--- 15 unchanged lines hidden ---