Messages in this thread | | | Date | Sat, 28 May 2011 07:43:31 -0700 | From | Andi Kleen <> | Subject | Re: [PATCH 2/4] EXT4: Set NOSEC flag early when there are no xattrs |
| |
On Sat, May 28, 2011 at 11:08:01AM +0200, Marco Stornelli wrote: > Il 28/05/2011 00:54, Andi Kleen ha scritto: > >From: Andi Kleen<ak@linux.intel.com> > > > >This avoids a xattr lookup on every write. > > > >Cc: tytso@mit.edu > >Signed-off-by: Andi Kleen<ak@linux.intel.com> > > Are ext2/3 affected too? It seems to me that more or less the xattr > management for the extN series is the same, isn't it?
Yes, they could be changed the same way.
Note however that the file system specific change is only a relatively minor optimization (avoids the first lookup). The important one is the cache which every file system get's automatically without changes.
-Andi
| |