From: Vivek Goyal <vgoyal@redhat.com>
To: Liu Bo <bo.liu@linux.alibaba.com>
Cc: virtio-fs@redhat.com
Subject: Re: [Virtio-fs] [PATCH 1/2] virtio-fs: try hard to do inline reclaim
Date: Thu, 15 Aug 2019 08:45:24 -0400 [thread overview]
Message-ID: <20190815124524.GB4878@redhat.com> (raw)
In-Reply-To: <20190814205113.oy7ioyejl5ddktn7@US-160370MP2.local>
On Wed, Aug 14, 2019 at 01:51:14PM -0700, Liu Bo wrote:
[..]
> > Also, as of now inline reclaims are enabled only for writes. (no reads, no
> > mmap). So this should not help with the randread improvements you posted
> > in second patch.
> >
>
> I explained it in another email under the thread.
Going forward, can you please generate patches and test results on top of
latest virtio-fs code I am putting on github/gitlab. If you test it on
your internal kernels where you are carrying your own patches, these
results don't help.
>
> > Does this work without deadlocks with cache_size=2M.
>
> Well, with or without these 2 changes, on cache_size=2M kernel build end up with
> waiting for dmap "forever", at least lockdep didn't report deadlocks.
Have you tried the latest kernel and does that hang too? Or it is the
hang with your kernel?
https://github.com/rhvgoyal/linux/commits/vivek-5.3-aug-14-2019
With above kernel I tested with dmap=1 and it works for me. I ran
"blogbench -d /mnt/virtio-fs/test-dir/" and that works.
In last few weeks I have worked on sorting out various issues with
hangs/deadlocks with dmap=1.
Thanks
Vivek
prev parent reply other threads:[~2019-08-15 12:45 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-12 18:32 [Virtio-fs] [PATCH 1/2] virtio-fs: try hard to do inline reclaim Liu Bo
2019-08-12 18:32 ` [Virtio-fs] [PATCH 2/2] virtio-fs: do not removemapping if dmap will be used immediately Liu Bo
2019-08-13 1:40 ` piaojun
2019-08-13 18:29 ` Liu Bo
2019-08-14 0:45 ` piaojun
2019-08-14 17:38 ` Vivek Goyal
2019-08-14 19:57 ` Vivek Goyal
2019-08-14 20:30 ` Liu Bo
2019-08-15 12:39 ` Vivek Goyal
2019-08-13 1:32 ` [Virtio-fs] [PATCH 1/2] virtio-fs: try hard to do inline reclaim piaojun
2019-08-14 17:35 ` Vivek Goyal
2019-08-14 19:53 ` Vivek Goyal
2019-08-14 20:51 ` Liu Bo
2019-08-15 12:45 ` 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=20190815124524.GB4878@redhat.com \
--to=vgoyal@redhat.com \
--cc=bo.liu@linux.alibaba.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.