linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Bjørnar Ness" <bjornar.ness@gmail.com>
To: linux-nfs@vger.kernel.org
Subject: Re: caching issue with nocto
Date: Thu, 13 Jun 2013 09:47:43 +0200	[thread overview]
Message-ID: <CAJO99T=ugw6bk_jvv8dEbBiRLCccRXQ+TjFVnZTPhOc8p=KuGw@mail.gmail.com> (raw)
In-Reply-To: <CAJO99TmfCTYgyrwgUWUmFNGjhQhtHzA7+YDby_MNH2Bjt5tk2g@mail.gmail.com>

I have not yet received any feedback on this issue. Can someone please take
a look into this?

Seems like updating mtime on the folder from different client is causes nocto to
stop working on a mount (or a subfolder of the mount)

client1:

mount -t nfs -o
vers=3,noatime,nodiratime,noacl,ac,sharecache,lookupcache=all,nocto
10.30.0.11/foo /mnt
while true; do time cat /mnt/linux-headers/*.h >/dev/null ; done

real 0m1.037s
user 0m0.008s
sys 0m0.088s

real 0m0.021s
user 0m0.008s
sys 0m0.008s

[...]

client2:

same mount,

touch /mnt/linux-headers


What happends (after few secs) is client1 times goes to over a sec and
stays there for infinity.

a -o remount (run a few times) solves problem (until client2 touches a
folder again..)

--
Bj(/)rnar

      reply	other threads:[~2013-06-13  7:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-10  8:37 caching issue with nocto Bjørnar Ness
2013-06-13  7:47 ` Bjørnar Ness [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='CAJO99T=ugw6bk_jvv8dEbBiRLCccRXQ+TjFVnZTPhOc8p=KuGw@mail.gmail.com' \
    --to=bjornar.ness@gmail.com \
    --cc=linux-nfs@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).