[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 1/2] block: set cache mode flags in a single
From: |
Christoph Hellwig |
Subject: |
Re: [Qemu-devel] [PATCH v2 1/2] block: set cache mode flags in a single place |
Date: |
Thu, 4 Aug 2011 13:14:14 +0200 |
User-agent: |
Mutt/1.5.17 (2007-11-01) |
On Thu, Aug 04, 2011 at 09:46:33AM +0100, Stefan Hajnoczi wrote:
> +/**
> + * Set open flags for a given cache mode
> + *
> + * Return 0 on success, -1 if the cache mode was invalid.
> + */
> +int bdrv_set_cache_flags(const char *mode, int *flags)
I would call this bdrv_parse_cache_flags.