linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: tytso@mit.edu
To: Ron Johnson <ron.l.johnson@cox.net>
Cc: linux-ext4@vger.kernel.org
Subject: Re: ext5
Date: Thu, 11 Feb 2010 01:44:33 -0500	[thread overview]
Message-ID: <20100211064433.GF739@thunk.org> (raw)
In-Reply-To: <4B73931D.5000302@cox.net>

On Wed, Feb 10, 2010 at 11:18:21PM -0600, Ron Johnson wrote:
> >We currently don't have any plans for an "ext5".  There might be some
> >new features that might gradually trickle into ext4; for example
> >there's someone who I may be mentoring who is interested in working on
> >an idea I've had to add read-only compression to ext4.  (Actually, the
> >design I've sketched out makes 90% of the work be file system
> >independent, so it's something that could be retrofitted into other
> >filesystems: xfs, btrfs, etc.)
> 
> I guess that means every file on the fs?

No, I mean per-file compression, but a compressed file is immutable.
This is basically what Mac OS X has recently added, and while I
haven't looked at their implementation, Apple being one of those
closed source companies and all, I wouldn't be surprised if they did
things the same way.

> Windows-like per-file compression would be darned useful in certain
> circumstances.  Big mbox files, for example.

The problem with mbox files is that some mail readers try to smart
about how they modify them to avoid needing to rewrite the whole mbox
file; mutt will seak to the middle of the file, write to the end of
the file, and then trim off any excess space by using the truncate
system call.  This is *hard* to support if the mbox file is
compressed; you can do it using a stacker-style compression technique,
but it's not as efficient, and it has a lot of complexity in the
kernel.

The idea with read-only compressed files is that they are useful for
large executables or large static files, where compressing them means
that it takes less time to read them off of an HDD.

     	      	   	   	     	    - Ted

  reply	other threads:[~2010-02-11  6:44 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-09 23:40 ext5 Anonymous Remailer (austria)
2010-02-10 21:50 ` ext5 tytso
2010-02-11  3:38   ` ext5 Manish Katiyar
2010-02-11  4:30     ` ext5 tytso
2010-02-11 17:55       ` ext5 Jan Kara
2010-02-11 19:31         ` ext5 tytso
2010-02-11  5:18   ` ext5 Ron Johnson
2010-02-11  6:44     ` tytso [this message]
2010-02-11 16:49       ` ext5 Ron Johnson
2010-02-11 21:41       ` ext5 Goswin von Brederlow
2010-02-12  4:47         ` ext5 Ron Johnson
2010-02-12 16:02           ` ext5 tytso

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=20100211064433.GF739@thunk.org \
    --to=tytso@mit.edu \
    --cc=linux-ext4@vger.kernel.org \
    --cc=ron.l.johnson@cox.net \
    /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).