Re: [PATCH 3/5] ext4: Implement project ID support for ext4 filesystem

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andreas Dilger
Date: Thursday, March 11, 2010 - 12:54 pm

On 2010-03-11, at 06:30, Dmitry Monakhov wrote:


I had written:

I don't know if I would classify this as "strongly against", but it is  
true that I'm hesitant to use up the last field in the inode for  
something that may be used so rarely.  There is also some desire to  
use this field for an extended i_links_hi field, and/or an inode  
checksum.

Part of my suggestion to use xattrs was that it would then be possible  
to allow hard links to have different project IDs on the same file,  
since the size of the xattr is flexible.  Since the xattr is stored  
inside the inode in ext3/ext4 if the inode was formatted with 256-byte  
inodes this is a minimal performance hit.

A second possibility (if there is really no desire to have more than a  
single project ID per inode) is to add a field to the "large" inode  
for ext4, though that doesn't help filesystems that were not formatted  
that way, and it also consumes space in all inodes even if this  
feature is not used.

Cheers, Andreas
--
Andreas Dilger
Sr. Staff Engineer, Lustre Group
Sun Microsystems of Canada, Inc.

--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 1/5] vfs: Add additional owner identifier, Dmitry Monakhov, (Thu Mar 4, 11:34 am)
[PATCH 4/5] ext4: add isolated project support, Dmitry Monakhov, (Thu Mar 4, 11:34 am)
[PATCH 5/5] ext4: add project quota support, Dmitry Monakhov, (Thu Mar 4, 11:34 am)
Re: [PATCH 4/5] ext4: add isolated project support, Dmitry Monakhov, (Thu Mar 4, 1:34 pm)
Re: [PATCH 1/5] vfs: Add additional owner identifier, Christoph Hellwig, (Thu Mar 11, 5:01 am)
Re: [PATCH 2/5] quota: Implement project id support for ge ..., Christoph Hellwig, (Thu Mar 11, 5:03 am)
Re: [PATCH 3/5] ext4: Implement project ID support for ext ..., Christoph Hellwig, (Thu Mar 11, 5:06 am)
Re: [PATCH 4/5] ext4: add isolated project support, Christoph Hellwig, (Thu Mar 11, 5:07 am)
Re: [PATCH 1/5] vfs: Add additional owner identifier, Dmitry Monakhov, (Thu Mar 11, 6:11 am)
Re: [PATCH 1/5] vfs: Add additional owner identifier, J. Bruce Fields, (Thu Mar 11, 11:51 am)
Re: [PATCH 1/5] vfs: Add additional owner identifier, Andreas Dilger, (Thu Mar 11, 12:40 pm)
Re: [PATCH 3/5] ext4: Implement project ID support for ext ..., Andreas Dilger, (Thu Mar 11, 12:54 pm)
Re: [PATCH 1/5] vfs: Add additional owner identifier, Dmitry Monakhov, (Fri Mar 12, 1:47 am)