linux-nilfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Cleancache
@ 2011-06-08 13:14 dexen deVries
       [not found] ` <201106081514.59693.dexen.devries-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 11+ messages in thread
From: dexen deVries @ 2011-06-08 13:14 UTC (permalink / raw)
  To: linux-nilfs-u79uwXL29TY76Z2rM5mHXA

Hi list,


there's that recent interesting addition to linux: `cleancache' (and 
`zcache').
I've enabled it for NILFS2 yesterday (in 3.0-rc2).
It seemed to work for a while -- sensible numbers in 
/sys/kernel/mm/cleancache/* 
But it broke terribly after performing
echo 3 > /proc/sys/vm/drop_caches
kernel reported NULL pointer dereference, IIRC. Ext4 works a-OK with that, so 
my first guess waws NILFS2 is doing something funky with page allocation or 
mapping.

Cleancache has own hooks into VFS, and for `normal' filesystem that's enough; 
at least enough for ext3 and ext4 drivers to work reliably. On the other hand, 
btrfs does something unusual with pages and they used extra cleancache hooks 
for btrfs, IIRC.

Should I dig further, post backtraces or something?

I believe using cleancache + zcache could be beneficial, especially for NILFS2 
metadata like the DAT file; what are your thoughts on it?


Regards,
-- 
dexen deVries

[[[↓][→]]]

For example, if the first thing in the file is:
   <?kzy irefvba="1.0" rapbqvat="ebg13"?>
an XML parser will recognize that the document is stored in the traditional 
ROT13 encoding.

(( Joe English, http://www.flightlab.com/~joe/sgml/faq-not.txt ))
--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2011-06-20 18:16 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-08 13:14 Cleancache dexen deVries
     [not found] ` <201106081514.59693.dexen.devries-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2011-06-08 14:02   ` Cleancache Ryusuke Konishi
     [not found]     ` <20110608.230231.65968027.ryusuke-sG5X7nlA6pw@public.gmane.org>
2011-06-13 13:15       ` Cleancache Ryusuke Konishi
     [not found]         ` <20110613.221503.212701772.ryusuke-sG5X7nlA6pw@public.gmane.org>
2011-06-13 13:21           ` Cleancache dexen deVries
     [not found]             ` <201106131521.15372.dexen.devries-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2011-06-13 14:40               ` Cleancache Ryusuke Konishi
     [not found]                 ` <20110613.234048.21322431.ryusuke-sG5X7nlA6pw@public.gmane.org>
2011-06-13 17:54                   ` Cleancache dexen deVries
2011-06-13 18:04                   ` Cleancache [2] dexen deVries
     [not found]                     ` <201106132004.41118.dexen.devries-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2011-06-14 16:17                       ` Ryusuke Konishi
     [not found]                         ` <BANLkTikdQLrp3EMGq=BV83BQKKkN1Emdcw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-06-20 18:16                           ` Ryusuke Konishi
2011-06-13 18:08                   ` Cleancache [3/3] dexen deVries
2011-06-13 22:38                   ` Cleancache [kernel config] dexen deVries

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).