[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] qemu-iotests: Honor ${CACHEMODE} in 091
From: |
Kevin Wolf |
Subject: |
Re: [Qemu-devel] [PATCH] qemu-iotests: Honor ${CACHEMODE} in 091 |
Date: |
Tue, 20 May 2014 10:52:11 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Am 20.05.2014 um 03:03 hat Fam Zheng geschrieben:
> On Mon, 05/19 16:40, Kevin Wolf wrote:
> > Am 19.05.2014 um 14:24 hat Fam Zheng geschrieben:
> > > We should allow testing this on tmpfs. Any cache setting in iotests
> > > should try to obey $CACHEMODE.
> > >
> > > Signed-off-by: Fam Zheng <address@hidden>
> >
> > Should we set _default_cache_mode=none then at least?
>
> Yes we should set a default. We use _default_cache_mode=writethrough
> elsewhere,
> why use none over writethrough here?
I think the test case set cache=none originally because it's a migration
test and this is the recommended setting for migration. As long as we're
on localhost, writethrough should be fine, though, so it's probably not
strictly necessary.
> > We should probably
> > also refuse to run with unsafe.
>
> OK, I'll add _supported_cache_modes.
Thanks.
Kevin