copy-on-read.c (5736527050cfcc5b92521d79fe87b4883059d864) copy-on-read.c (9a5a1c621ed72161abcf461d46c7b7b7f97938bf)
1/*
2 * Copy-on-read filter block driver
3 *
4 * Copyright (c) 2018 Red Hat, Inc.
5 *
6 * Author:
7 * Max Reitz <mreitz@redhat.com>
8 *

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

195static int coroutine_fn cor_co_pwrite_zeroes(BlockDriverState *bs,
196 int64_t offset, int64_t bytes,
197 BdrvRequestFlags flags)
198{
199 return bdrv_co_pwrite_zeroes(bs->file, offset, bytes, flags);
200}
201
202
1/*
2 * Copy-on-read filter block driver
3 *
4 * Copyright (c) 2018 Red Hat, Inc.
5 *
6 * Author:
7 * Max Reitz <mreitz@redhat.com>
8 *

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

195static int coroutine_fn cor_co_pwrite_zeroes(BlockDriverState *bs,
196 int64_t offset, int64_t bytes,
197 BdrvRequestFlags flags)
198{
199 return bdrv_co_pwrite_zeroes(bs->file, offset, bytes, flags);
200}
201
202
203static int coroutine_fn cor_co_pdiscard(BlockDriverState *bs,
204 int64_t offset, int64_t bytes)
203static int coroutine_fn GRAPH_RDLOCK
204cor_co_pdiscard(BlockDriverState *bs, int64_t offset, int64_t bytes)
205{
206 return bdrv_co_pdiscard(bs->file, offset, bytes);
207}
208
209
210static int coroutine_fn cor_co_pwritev_compressed(BlockDriverState *bs,
211 int64_t offset,
212 int64_t bytes,

--- 76 unchanged lines hidden ---
205{
206 return bdrv_co_pdiscard(bs->file, offset, bytes);
207}
208
209
210static int coroutine_fn cor_co_pwritev_compressed(BlockDriverState *bs,
211 int64_t offset,
212 int64_t bytes,

--- 76 unchanged lines hidden ---