[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [PATCH v1 02/18] block/pcache: empty pcache driver filt
From: |
Kevin Wolf |
Subject: |
Re: [Qemu-block] [PATCH v1 02/18] block/pcache: empty pcache driver filter |
Date: |
Thu, 24 Nov 2016 17:39:50 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Am 24.11.2016 um 16:48 hat Pavel Butsykin geschrieben:
> On 23.11.2016 18:15, Kevin Wolf wrote:
> >Am 15.11.2016 um 07:36 hat Pavel Butsykin geschrieben:
> >>+static QemuOptsList runtime_opts = {
> >>+ .name = "pcache",
> >>+ .head = QTAILQ_HEAD_INITIALIZER(runtime_opts.head),
> >>+ .desc = {
> >>+ {
> >>+ .name = "x-image",
> >>+ .type = QEMU_OPT_STRING,
> >>+ .help = "[internal use only, will be removed]",
> >>+ },
> >
> >blkdebug/blkverify have this because they have to support legacy syntax
> >like -drive file=blkdebug:blkdebug.conf:test.img, i.e. it has to deal
> >with filenames.q
> >
> >Here we don't have to support a legacy syntax, so I would completely
> >avoid this from the beginning. You already support the "image" option,
> >which should be good enough.
>
> Then the command line would look like this:
>
> -drive
> file=/img/harddisk.hdd,if=none,id=drive-scsi0-0-0-0,cache=none,aio=native
> -drive driver=pcache,image=scsi0-0-0-0,if=virtio
Yes, either that or with an inline block node definition, the block
layer supports both:
-drive
driver=pcache,image.drive=file,image.filename=/img/harddisk.hdd,if=virtio,cache=none,image.aio=native
Kevin
- Re: [Qemu-block] [PATCH v1 05/18] tests/test-rbcache: add test cases, (continued)
[Qemu-block] [PATCH v1 14/18] backup/pcache: pick up parts of the cache, Pavel Butsykin, 2016/11/15
[Qemu-block] [PATCH v1 08/18] block/pcache: updating statistics for overlapping requests, Pavel Butsykin, 2016/11/15
[Qemu-block] [PATCH v1 12/18] block/pcache: add reading data from the cache, Pavel Butsykin, 2016/11/15
[Qemu-block] [PATCH v1 03/18] util/rbtree: add rbtree from linux kernel, Pavel Butsykin, 2016/11/15
[Qemu-block] [PATCH v1 06/18] block/pcache: statistics collection read requests, Pavel Butsykin, 2016/11/15
[Qemu-block] [PATCH v1 02/18] block/pcache: empty pcache driver filter, Pavel Butsykin, 2016/11/15
[Qemu-block] [PATCH v1 11/18] block/pcache: cache invalidation on AIO write requests, Pavel Butsykin, 2016/11/15
[Qemu-block] [PATCH v1 15/18] block/pcache: drop used pcache nodes, Pavel Butsykin, 2016/11/15
[Qemu-block] [PATCH v1 17/18] block/pcache: add tracepoints, Pavel Butsykin, 2016/11/15
[Qemu-block] [PATCH v1 18/18] block/pcache: debug build, Pavel Butsykin, 2016/11/15
[Qemu-block] [PATCH v1 01/18] block/io: add bdrv_aio_{preadv, pwritev}, Pavel Butsykin, 2016/11/15
[Qemu-block] [PATCH v1 09/18] block/pcache: add AIO readahead, Pavel Butsykin, 2016/11/15