linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Theodore Tso <tytso@mit.edu>
To: Phillip Susi <psusi@cfl.rr.com>
Cc: linux-fsdevel@vger.kernel.org
Subject: Re: Default ext inode size
Date: Thu, 13 Nov 2008 15:21:24 -0500	[thread overview]
Message-ID: <20081113202124.GC21652@mit.edu> (raw)
In-Reply-To: <491C8676.8000209@cfl.rr.com>

On Thu, Nov 13, 2008 at 02:56:38PM -0500, Phillip Susi wrote:
> I noticed that the default inode size for mkfs in e2fsprogs has been  
> changed to 256 bytes.  I noticed this because I am seeing users complain  
> that they can no longer access their ext partitions using the windows  
> driver, which only supports normal 128 byte inodes.  I'd like to know  
> why this default was changed.
>
> As I understand it, the larger inode size means that ea/acl can be  
> stored directly in the inode.  Are there any other benefits?  

That's the main one.  The other benefit is that ext4 uses a bigger
inode to store some extra fields such as the file creation time,
nanosecond timestamps, and the 64-bit version number neede which is
used for NFSv4's client-side caching.

> It seems  
> that using extended attributes is rather uncommon in the first place,  

The big user of extended attribute is SELinux, Samba, and Beagle.
Since a number of distributions are now starting to enable SELinux by
default (for better or for worse), it makes a big difference from a
performance perspective for those distributions.

I can't imagine that it would be that hard to fix the Windows driver
to be able to support 258 byte inodes.  It should be a one- or
two-line fix, for those people who care.

					- Ted

  parent reply	other threads:[~2008-11-13 20:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-13 19:56 Default ext inode size Phillip Susi
2008-11-13 20:14 ` Kalpak Shah
2008-11-13 20:21 ` Theodore Tso [this message]
2008-11-13 20:50   ` Phillip Susi
2008-11-13 21:35     ` Theodore Tso

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=20081113202124.GC21652@mit.edu \
    --to=tytso@mit.edu \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=psusi@cfl.rr.com \
    /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).