All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vivek Goyal <vgoyal@redhat.com>
To: "Harry G. Coin" <hgcoin@gmail.com>
Cc: virtio-fs@redhat.com
Subject: Re: [Virtio-fs] Min host / vm kernel rev for basic DAX ops?
Date: Thu, 29 Apr 2021 08:53:05 -0400	[thread overview]
Message-ID: <20210429125305.GA1883535@redhat.com> (raw)
In-Reply-To: <afb9df25-cf79-19d1-0085-fd72c6225013@gmail.com>

On Wed, Apr 28, 2021 at 04:00:40PM -0500, Harry G. Coin wrote:
> 
> On 4/28/21 3:15 AM, Dr. David Alan Gilbert wrote:
> > * Harry G. Coin (hgcoin@gmail.com) wrote:
> >> Kindly answer a couple 'basic' virtiofs questions:
> >>
> >> 1) Which mainline kernel version is necessary for the host, and for the
> >> vm to enable reliable DAX operations -- supposing no shared host
> >> activity on the underlying fs.
> > I don't think there's any host kernel dependency for DAX
> > currently.
> > (You do need a guest with the DAX support)
> 
> At least the version of the 'virt-manager' on fedora 33 doesn't support
> the 'cache-size' host option, which as I understand from a post a few
> days ago should be around 4G.  That's why I asked about the host
> requirements.

Generally there are no specifix host requirements. Guest kernel should
have virtiofs DAX support. Also qemu needs dax support (option
cache-size). That's not usptream yet. David has been posting patches
for review. Hopefully it will be merged soon.

W.r.t how big cache-size should be. I would say ideally it needs to
be atleast as big as size of filesystem you are exporting into the
guest. If filesystem is too small, I would think atleast 4G as minimum
dax window size.

Thanks
Vivek


      reply	other threads:[~2021-04-29 12:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-27 21:59 [Virtio-fs] Min host / vm kernel rev for basic DAX ops? Harry G. Coin
2021-04-28  8:15 ` Dr. David Alan Gilbert
2021-04-28 21:00   ` Harry G. Coin
2021-04-29 12:53     ` Vivek Goyal [this message]

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=20210429125305.GA1883535@redhat.com \
    --to=vgoyal@redhat.com \
    --cc=hgcoin@gmail.com \
    --cc=virtio-fs@redhat.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.