linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Nikolaus Rath <Nikolaus@rath.org>
To: Miklos Szeredi <miklos@szeredi.hu>
Cc: linux-mm@kvack.org
Subject: Re: [fuse-devel] fuse: trying to steal weird page
Date: Fri, 01 Mar 2019 20:40:32 +0000	[thread overview]
Message-ID: <87woliwcov.fsf@vostro.rath.org> (raw)
In-Reply-To: <CAJfpegu+_Qc1LRJgBAU=4jHPkUGPdYnJBxvSvQ6Lx+1_Dj2R=g@mail.gmail.com> (Miklos Szeredi's message of "Tue, 26 Feb 2019 21:56:48 +0100")

On Feb 26 2019, Miklos Szeredi <miklos@szeredi.hu> wrote:
> On Tue, Feb 26, 2019 at 9:35 PM Nikolaus Rath <Nikolaus@rath.org> wrote:
>>
>> [ Moving fuse-devel and linux-fsdevel to Bcc ]
>>
>> Hello linux-mm people,
>>
>> I am posting this here as advised by Miklos (see below). In short, I
>> have a workload that reliably produces kernel messages of the form:
>>
>> [ 2562.773181] fuse: trying to steal weird page
>> [ 2562.773187] page=<something> index=<something> flags=17ffffc00000ad, count=1, mapcount=0, mapping= (null)
>>
>> What are the implications of this message? Is something activelly going
>> wrong (aka do I need to worry about data integrity)?
>
> Fuse is careful and basically just falls back on page copy, so it
> definitely shouldn't affect data integrity.
>
> The more interesting question is: how can page_cache_pipe_buf_steal()
> return a dirty page?  The logic in remove_mapping() should prevent
> that, but something is apparently slipping through...
>
>>
>> Is there something I can do to help debugging (and hopefully fixing)
>> this?
>>
>> This is with kernel 4.18 (from Ubuntu cosmic).
>
> One thought: have you tried reproducing with a recent vanilla
> (non-ubuntu) kernel?

Yes, I can reproduce with e.g. 5.0.0-050000rc8 (from
https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0-rc8/). However, here
the flag value is different:

[  278.183571] fuse: trying to steal weird page
[  278.183576]   page=000000000aab208c index=14944 flags=17ffffc0000097, count=1, mapcount=0, mapping=          (null)

(but still the same across all messages observed with this kernel so
far).


Best,
-Nikolaus


-- 
GPG Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F

             »Time flies like an arrow, fruit flies like a Banana.«


  reply	other threads:[~2019-03-01 20:40 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87o998m0a7.fsf@vostro.rath.org>
     [not found] ` <CAJfpegtQic0v+9G7ODXEzgUPAGOz+3Ay28uxqbafZGMJdqL-zQ@mail.gmail.com>
     [not found]   ` <87ef9omb5f.fsf@vostro.rath.org>
     [not found]     ` <CAJfpegu_qxcaQToDpSmcW_ncLb_mBX6f75RTEn6zbsihqcg=Rw@mail.gmail.com>
     [not found]       ` <87ef9nighv.fsf@thinkpad.rath.org>
     [not found]         ` <CAJfpegtiXDgSBWN8MRubpAdJFxy95X21nO_yycCZhpvKLVePRA@mail.gmail.com>
     [not found]           ` <87zhs7fbkg.fsf@thinkpad.rath.org>
     [not found]             ` <8736ovcn9q.fsf@vostro.rath.org>
     [not found]               ` <CAJfpegvjntcpwDYf3z_3Z1D5Aq=isB3ByP3_QSoG6zx-sxB84w@mail.gmail.com>
     [not found]                 ` <877ee4vgr4.fsf@vostro.rath.org>
     [not found]                   ` <878sy3h7gr.fsf@vostro.rath.org>
     [not found]                     ` <CAJfpeguCJnGrzCtHREq9d5uV-=g9JBmrX_c===giZB7FxWCcgw@mail.gmail.com>
     [not found]                       ` <CAJfpegu-QU-A0HORYjcrx3fM5FKGUop0x6k10A526ZV=p0CEuw@mail.gmail.com>
2019-02-26 20:35                         ` [fuse-devel] fuse: trying to steal weird page Nikolaus Rath
2019-02-26 20:56                           ` Miklos Szeredi
2019-03-01 20:40                             ` Nikolaus Rath [this message]
2019-03-18 11:27                               ` Miklos Szeredi
2020-05-02 19:09 Nikolaus Rath
2020-05-02 19:52 ` Nikolaus Rath
2020-05-03  3:26   ` Matthew Wilcox
2020-05-03  8:43     ` [fuse-devel] " Nikolaus Rath
2020-05-03 10:27       ` Matthew Wilcox
2020-05-03 18:28         ` Gabriel Krisman Bertazi
2020-05-03 20:06           ` Matthew Wilcox
2020-05-03 20:25           ` Nikolaus Rath
2020-05-06 13:57             ` Vlastimil Babka
2020-05-03 21:34         ` Hugh Dickins
2020-05-18 12:45         ` Miklos Szeredi
2020-05-18 14:48           ` Matthew Wilcox
2020-05-18 14:58             ` Miklos Szeredi
2020-05-18 15:26               ` Matthew Wilcox

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=87woliwcov.fsf@vostro.rath.org \
    --to=nikolaus@rath.org \
    --cc=linux-mm@kvack.org \
    --cc=miklos@szeredi.hu \
    /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).