On Sat, Oct 25, 2014 at 06:55:48PM +0200, Peter Lieven wrote:
> diff --git a/block/accounting.c b/block/accounting.c
> index edbb1cc..f3162d1 100644
> --- a/block/accounting.c
> +++ b/block/accounting.c
> @@ -52,3 +52,10 @@ void block_acct_highest_sector(BlockAcctStats *stats, 
> int64_t sector_num,
>          stats->wr_highest_sector = sector_num + nb_sectors - 1;
>      }
>  }
> +
> +void block_merge_done(BlockAcctStats *stats, enum BlockAcctType type,
> +                      int num_requests)
> +{
> +    assert(type < BLOCK_MAX_IOTYPE);
> +    stats->merged[type] += num_requests;
> +}

Please keep the function name consistent with other functions in this
file: block_acct_merge_done().

Stefan

Attachment: pgpIez0fjbSqt.pgp
Description: PGP signature

Reply via email to