Re: [PATCH V2 0/7] Cleancache (was Transcendent Memory): overview

2010-06-02 Thread Minchan Kim
Hello. I think cleancache approach is cool. :) I have some suggestions and questions. On Sat, May 29, 2010 at 2:35 AM, Dan Magenheimer dan.magenhei...@oracle.com wrote: [PATCH V2 0/7] Cleancache (was Transcendent Memory): overview Changes since V1: - Rebased to 2.6.34 (no functional changes)

Quota Support

2010-06-02 Thread Stephen
Sorry about emailing the list about this but after doing some googling i can't seem to find the answer. Im just wondering if subvolumes or snap shot can have quotas imposed on them. The wiki says that: Subvolumes can be given a quota of blocks, and once this quota is reached no new writes are

Re: A couple of questions

2010-06-02 Thread Paul Millar
Hi Mike, On Monday 31 May 2010 22:33:23 Mike Fedyk wrote: On Mon, May 31, 2010 at 11:06 AM, Paul Millar paul.mil...@desy.de wrote: [...] My concern is that, if the server-software doesn't push the client-provided checksum then the FS checksum (plus T-10 DIF/DIX) would not provide a

Re: [PATCH V2 0/7] Cleancache (was Transcendent Memory): overview

2010-06-02 Thread Jamie Lokier
Dan Magenheimer wrote: Most important, cleancache is ephemeral. Pages which are copied into cleancache have an indefinite lifetime which is completely unknowable by the kernel and so may or may not still be in cleancache at any later time. Thus, as its name implies, cleancache is not suitable

Re: [PATCH V2 0/7] Cleancache (was Transcendent Memory): overview

2010-06-02 Thread Christoph Hellwig
Please give your patches some semi-resonable subject line. fs/btrfs/super.c |2 fs/buffer.c|5 + fs/ext3/super.c|2 fs/ext4/super.c|2 fs/mpage.c |7 + fs/ocfs2/super.c |3 fs/super.c

Re: A couple of questions

2010-06-02 Thread Paul Millar
On Tuesday 01 June 2010 15:39:52 Martin K. Petersen wrote: Paul == Paul Millar paul.mil...@desy.de writes: Paul My concern is that, if the server-software doesn't push the Paul client-provided checksum then the FS checksum (plus T-10 DIF/DIX) Paul would not provide a rigorous assurance that

RE: [PATCH V2 0/7] Cleancache (was Transcendent Memory): overview

2010-06-02 Thread Dan Magenheimer
Hi Minchan -- I think cleancache approach is cool. :) I have some suggestions and questions. Thanks for your interest! If a get_page is successful on a non-shared pool, the page is flushed (thus making cleancache an exclusive cache).  On a shared pool, the page Do you have any reason

RE: [PATCH V2 0/7] Cleancache (was Transcendent Memory): overview

2010-06-02 Thread Dan Magenheimer
From: Jamie Lokier [mailto:ja...@shareable.org] Subject: Re: [PATCH V2 0/7] Cleancache (was Transcendent Memory): overview Dan Magenheimer wrote: Most important, cleancache is ephemeral. Pages which are copied into cleancache have an indefinite lifetime which is completely unknowable

Re: Is there a more aggressive fixer than btrfsck?

2010-06-02 Thread Sean Bartell
On Tue, Jun 01, 2010 at 07:29:56PM -0700, u...@sonic.net wrote: Is there a more aggressive filesystem restorer than btrfsck? It simply gives up immediately with the following error: btrfsck: disk-io.c:739: open_ctree_fd: Assertion `!(!tree_root-node)' failed. btrfsck currently only checks

Re: Quota Support

2010-06-02 Thread Sean Bartell
On Wed, Jun 02, 2010 at 10:57:44AM +0200, Stephen wrote: Im just wondering if subvolumes or snap shot can have quotas imposed on them. Subvolume quotas are one of the many features that haven't yet been implemented. See https://btrfs.wiki.kernel.org/index.php/Development_timeline. -- To

Re: A couple of questions

2010-06-02 Thread Hubert Kario
On Monday 31 May 2010 19:59:46 Paul Millar wrote: Hi Hubert, On Thursday 27 May 2010 16:56:00 Hubert Kario wrote: Would [obtaining file checksum] be possible (without an awful lot of work)? [Calculating checksum in-memory] won't detect in-memory corruption though, but if you want

Re: [PATCH V2 0/7] Cleancache (was Transcendent Memory): overview

2010-06-02 Thread Minchan Kim
Hi, Dan. On Wed, Jun 02, 2010 at 08:27:48AM -0700, Dan Magenheimer wrote: Hi Minchan -- I think cleancache approach is cool. :) I have some suggestions and questions. Thanks for your interest! If a get_page is successful on a non-shared pool, the page is flushed (thus making

RE: [PATCH V2 2/7] Cleancache (was Transcendent Memory): core files

2010-06-02 Thread Dan Magenheimer
From: Andrew Morton [mailto:a...@linux-foundation.org] Thanks very much for taking the time for feedback! I hope I can answer all of your questions... bear with me if some of the answers are a bit long. +extern struct cleancache_ops *cleancache_ops; Why does this exist? If there's only

Re: [PATCH V2 2/7] Cleancache (was Transcendent Memory): core files

2010-06-02 Thread Jeremy Fitzhardinge
On 06/02/2010 05:06 PM, Dan Magenheimer wrote: It is intended that there be different flavours but only one can be used in any running kernel. A driver file/module claims the cleancache_ops pointer (and should check to ensure it is not already claimed). And if nobody claims cleancache_ops,

RE: [PATCH V2 2/7] Cleancache (was Transcendent Memory): core files

2010-06-02 Thread Dan Magenheimer
It is intended that there be different flavours but only one can be used in any running kernel. A driver file/module claims the cleancache_ops pointer (and should check to ensure it is not already claimed). And if nobody claims cleancache_ops, the hooks should be as non-intrusive as

Re: [PATCH V2 0/7] Cleancache (was Transcendent Memory): overview

2010-06-02 Thread Nitin Gupta
On 06/03/2010 04:32 AM, Dan Magenheimer wrote: From: Minchan Kim [mailto:minchan@gmail.com] I am also eagerly awaiting Nitin Gupta's cleancache backend and implementation to do in-kernel page cache compression. Do Nitin say he will make backend of cleancache for page cache compression?

Re: [PATCH V2 0/7] Cleancache (was Transcendent Memory): overview

2010-06-02 Thread Andreas Dilger
On 2010-06-02, at 20:46, Nitin Gupta wrote: On 06/03/2010 04:32 AM, Dan Magenheimer wrote: From: Minchan Kim [mailto:minchan@gmail.com] I am also eagerly awaiting Nitin Gupta's cleancache backend and implementation to do in-kernel page cache compression. Do Nitin say he will make