From: Cornelia Huck <cohuck@redhat.com>
To: Stefan Hajnoczi <stefanha@redhat.com>
Cc: virtio-dev@lists.oasis-open.org,
"Michael S. Tsirkin" <mst@redhat.com>,
Sage Weil <sweil@redhat.com>,
"Dr. David Alan Gilbert" <dgilbert@redhat.com>,
Vivek Goyal <vgoyal@redhat.com>,
Steven Whitehouse <swhiteho@redhat.com>,
Miklos Szeredi <mszeredi@redhat.com>
Subject: Re: [virtio-dev] [PATCH v7 2/2] virtio-fs: add DAX window
Date: Mon, 26 Aug 2019 15:28:52 +0200 [thread overview]
Message-ID: <20190826152852.02d00c3e.cohuck@redhat.com> (raw)
In-Reply-To: <20190823153940.28795-3-stefanha@redhat.com>
On Fri, 23 Aug 2019 16:39:40 +0100
Stefan Hajnoczi <stefanha@redhat.com> wrote:
> Describe how shared memory region ID 0 is the DAX window and how
> FUSE_SETUPMAPPING maps file ranges into the window.
>
> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
> ---
> The FUSE_SETUPMAPPING message is part of the virtio-fs Linux patches:
> https://gitlab.com/virtio-fs/linux/blob/virtio-fs/include/uapi/linux/fuse.h
>
> v7:
> * Clarify that the DAX Window is optional and can be used together with
> FUSE_READ/FUSE_WRITE requests [Cornelia]
> v6:
> * Document timing side-channel attacks [Michael]
> ---
> virtio-fs.tex | 66 +++++++++++++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 66 insertions(+)
(...)
> +\drivernormative{\paragraph}{Device Operation: DAX Window}{Device Types / File System Device / Device Operation / Device Operation: DAX Window}
> +
> +The driver SHOULD be prepared to find shared memory region ID 0 absent and fall back to FUSE\_READ and FUSE\_WRITE requests.
> +
> +The driver MAY use FUSE\_READ and FUSE\_WRITE requests and also access file contents through the DAX Window.
"The driver MAY both use FUSE_READ and FUSE_WRITE requests and access
file contents through the DAX Window." ?
Not sure whether that makes it clearer that it is fine to use a
combination of both methods.
> +
> +The driver MUST NOT access DAX window areas that have not been mapped.
> +
Otherwise, looks good.
---------------------------------------------------------------------
To unsubscribe, e-mail: virtio-dev-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: virtio-dev-help@lists.oasis-open.org
next prev parent reply other threads:[~2019-08-26 13:29 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-23 15:39 [virtio-dev] [PATCH v7 0/2] virtio-fs: add virtio file system device Stefan Hajnoczi
2019-08-23 15:39 ` [virtio-dev] [PATCH v7 1/2] content: " Stefan Hajnoczi
2019-08-26 13:19 ` Cornelia Huck
2019-08-23 15:39 ` [virtio-dev] [PATCH v7 2/2] virtio-fs: add DAX window Stefan Hajnoczi
2019-08-26 13:28 ` Cornelia Huck [this message]
2019-08-29 13:50 ` Stefan Hajnoczi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190826152852.02d00c3e.cohuck@redhat.com \
--to=cohuck@redhat.com \
--cc=dgilbert@redhat.com \
--cc=mst@redhat.com \
--cc=mszeredi@redhat.com \
--cc=stefanha@redhat.com \
--cc=sweil@redhat.com \
--cc=swhiteho@redhat.com \
--cc=vgoyal@redhat.com \
--cc=virtio-dev@lists.oasis-open.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox