Hello,

here are two patches that implement extended attribute readahead for those
cases where the extended attribute block is allocated immediately upon
inode creation (i.e., with SELinux or inherited permissions).  The first
patch submits a READA request for the extended attributes after submitting
a READ request for the inode.

The second patch submits both requests in a single bio instead.  As you can
see, this is somewhat messy.  I'm not convinced that this optimization buys
us anything, so I will not recommend merging this patch.

Git tree:

 git://git.kernel.org/pub/scm/linux/kernel/git/agruen/linux.git gfs2-wip

Could you please review?

Thanks,
Andreas

Andreas Gruenbacher (2):
  gfs2: Extended attribute readahead
  gfs2: Extended attribute readahead optimization

 fs/gfs2/dir.c     | 15 ++++++---
 fs/gfs2/incore.h  |  1 +
 fs/gfs2/meta_io.c | 95 +++++++++++++++++++++++++++++++++++++++++++++++++++----
 fs/gfs2/meta_io.h |  2 +-
 fs/gfs2/quota.c   |  2 +-
 fs/gfs2/rgrp.c    |  2 +-
 fs/gfs2/super.c   |  1 +
 fs/gfs2/xattr.c   | 10 +++---
 8 files changed, 109 insertions(+), 19 deletions(-)

-- 
2.5.0

Reply via email to