public inbox for linux-ext4@vger.kernel.org
 help / color / mirror / Atom feed
From: Andreas Dilger <adilger@clusterfs.com>
To: "Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com>
Cc: Theodore Tso <tytso@mit.edu>,
	linux-ext4 <linux-ext4@vger.kernel.org>,
	Mingming Cao <cmm@us.ibm.com>
Subject: Re: ext4_inode difference between e2fsprogs and ext4
Date: Thu, 11 Oct 2007 03:19:48 -0600	[thread overview]
Message-ID: <20071011091948.GQ8122@schatzie.adilger.int> (raw)
In-Reply-To: <470DE640.3040101@linux.vnet.ibm.com>

On Oct 11, 2007  14:30 +0530, Aneesh Kumar K.V wrote:
> In ext4 we have
> 
>  union { 
>                struct {
>                        __le16  l_i_reserved1;  /* Obsoleted fragment 
>                        number/size which are removed in ext4 */
>                        __le16  l_i_file_acl_high;
>                        __le16  l_i_uid_high;   /* these 2 fields */
>                        __le16  l_i_gid_high;   /* were reserved2[0] */
>                        __u32   l_i_reserved2;
>                } linux2;
> 
> 
> Last week we were discussing about taking that l_i_reserved1 and using that 
> for making file_acl 64 bit and using the lower l_i_reserved2 for 64 bit dir_acl. 

We have l_i_file_acl_high already to give us 48-bit i_file_acl, which is
sufficient, IMHO.  There is no need to have a larger i_dir_acl since this
field is only really used for i_size_high and should be renamed as such
instead of just being a macro.

> Now where will i put l_i_blocks_hi ?

Just where it is now - in l_i_reserved1...

Cheers, Andreas
--
Andreas Dilger
Principal Software Engineer
Cluster File Systems, Inc.

      reply	other threads:[~2007-10-11  9:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-11  9:00 ext4_inode difference between e2fsprogs and ext4 Aneesh Kumar K.V
2007-10-11  9:19 ` Andreas Dilger [this message]

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=20071011091948.GQ8122@schatzie.adilger.int \
    --to=adilger@clusterfs.com \
    --cc=aneesh.kumar@linux.vnet.ibm.com \
    --cc=cmm@us.ibm.com \
    --cc=linux-ext4@vger.kernel.org \
    --cc=tytso@mit.edu \
    /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