linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Miklos Szeredi <miklos@szeredi.hu>
To: fuse-devel <fuse-devel@lists.sourceforge.net>,
	linux-fsdevel <linux-fsdevel@vger.kernel.org>,
	Miklos Szeredi <mszeredi@redhat.com>
Subject: Re: [fuse] What happens with dirty pages on NOTIFY_INVAL_INODE?
Date: Mon, 24 Sep 2018 10:22:07 +0200	[thread overview]
Message-ID: <CAJfpegtXV62VBT4XjfrZ3NJnCpu3pkpirYw8D1obvjWssc7yZQ@mail.gmail.com> (raw)
In-Reply-To: <87worbs4ju.fsf@thinkpad.rath.org>

On Mon, Sep 24, 2018 at 10:06 AM, Nikolaus Rath <Nikolaus@rath.org> wrote:
> Hi,
>
> What happens with dirty pages when a (writeback-cache enabled) FUSE
> filesystem sends a NOTIFY_INVAL_INODE request? Are they dropped?
> flushed?

Haven't tried, but AFAICS it flushes dirty pages and waits on
writeback for these.  However, it doesn't wait on already queued
writes.  So it's a bit of a mess at the moment.

>
> To me neither behaviour seems correct...

What would be the correct operation be if neither flushing not
dropping them is correct?

Thanks,
Miklos

  reply	other threads:[~2018-09-24 14:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-24  8:06 [fuse] What happens with dirty pages on NOTIFY_INVAL_INODE? Nikolaus Rath
2018-09-24  8:22 ` Miklos Szeredi [this message]
2018-09-24  8:43   ` [fuse-devel] " Nikolaus Rath
2018-09-24 13:38     ` Miklos Szeredi

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=CAJfpegtXV62VBT4XjfrZ3NJnCpu3pkpirYw8D1obvjWssc7yZQ@mail.gmail.com \
    --to=miklos@szeredi.hu \
    --cc=fuse-devel@lists.sourceforge.net \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=mszeredi@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 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).