From: Nikita Danilov <Nikita@Namesys.COM>
To: Christoph Hellwig <hch@infradead.org>
Cc: Linus Torvalds <Torvalds@Transmeta.COM>,
Linux Kernel Mailing List <Linux-Kernel@Vger.Kernel.ORG>
Subject: Re: [PATCH]: reiser4 [5/8] export remove_from_page_cache()
Date: Thu, 31 Oct 2002 20:04:40 +0300 [thread overview]
Message-ID: <15809.25256.143498.726816@laputa.namesys.com> (raw)
In-Reply-To: <20021031165819.A11604@infradead.org>
Christoph Hellwig writes:
> On Thu, Oct 31, 2002 at 07:45:39PM +0300, Nikita Danilov wrote:
> > Interesting. Then, XFS and JFS meta data in the page cache probably
> > are linearly ordered, and there it is never necessary to remove meta
> > data page from the middle of the mapping, right?
>
> The issue is rather different for XFS and JFS. in JFS most metadata
> (actually all metadata but the small superblock) is stored in inodes,
> and it's accessed through the pagecache mapping for those inodes.
>
> All access to those pages doesn't go directly through the pagecache
> interface but a small metapage wrapper. When the page is removed it's synced
> to disk and removed from the metapage hash, so that you can't acess it
> anymore. It might still be on the VM lists for a while.
Interesting. But things like ->vm_writeback() and friends will go
directly to the page bypassing metapage wrapper, right? JFS checks that
page is still "live" on each low-level VM call?
>
> XFS on the other hand only uses the blockdevice mapping to acess it's
> metadata so it doesn't have to remove the page explicitly from the
> cache ever.
>
Nikita.
next prev parent reply other threads:[~2002-10-31 16:59 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-31 16:03 Nikita Danilov
2002-10-31 16:18 ` Christoph Hellwig
2002-10-31 16:24 ` Nikita Danilov
2002-10-31 16:31 ` Christoph Hellwig
2002-10-31 16:45 ` Nikita Danilov
2002-10-31 16:58 ` Christoph Hellwig
2002-10-31 17:04 ` Nikita Danilov [this message]
2002-10-31 17:12 ` Christoph Hellwig
2002-10-31 17:33 ` Andreas Dilger
2002-10-31 18:25 ` Nikita Danilov
2002-10-31 20:17 ` Ragnar Kjørstad
2002-10-31 18:57 ` Linus Torvalds
2002-11-01 21:56 ` Andreas Dilger
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=15809.25256.143498.726816@laputa.namesys.com \
--to=nikita@namesys.com \
--cc=Linux-Kernel@Vger.Kernel.ORG \
--cc=Torvalds@Transmeta.COM \
--cc=hch@infradead.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
all inboxes | Powered by JetHome®