lkml.org 
[lkml]   [2012]   [Oct]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 11/16] f2fs: add inode operations for special inodes
Date
On Tuesday 16 October 2012, Jaegeuk Kim wrote:
> >
> > > > An xattr on the root inode that holds a list like this is something
> > > > that could be set at mkfs time, but then also updated easily by new
> > > > software packages that are installed...
> >
> > Yes, good idea.
>
> Likewise many file systems, f2fs also supports xattr as a configurable
> Kconfig option.
> If user disables the xattr feature, how can we do this?

I can see three options here:

* make the extension list feature dependent on xattr, and treat all files
the same if it's disabled.

* put the list into the superblock instead.

* fall back on a hardcoded list of extensions when the extended attribute
is not present or the feature is disabled.

Arnd


\
 
 \ /
  Last update: 2012-10-17 15:01    [W:0.152 / U:0.744 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site