xfs
[Top] [All Lists]

TAKE 985583 - refactor xfs_btree_readahead

To: sgi.bugs.xfs@xxxxxxxxxxxx, xfs@xxxxxxxxxxx
Subject: TAKE 985583 - refactor xfs_btree_readahead
From: lachlan@xxxxxxx (Lachlan McIlroy)
Date: Wed, 24 Sep 2008 17:38:52 +1000 (EST)
refactor xfs_btree_readahead

From: Dave Chinner <dgc@xxxxxxx>

Refactor xfs_btree_readahead to make it more readable:

 (a) remove the inline xfs_btree_readahead wrapper and move all checks out
     of line into the main routine.
 (b) factor out helpers for short/long form btrees
 (c) move check for root in inodes from the callers into xfs_btree_readahead


[hch: split out from a big patch and minor cleanups]


Signed-off-by: Christoph Hellwig <hch@xxxxxx>

Date:  Wed Sep 24 17:38:14 AEST 2008
Workarea:  redback.melbourne.sgi.com:/home/lachlan/isms/2.6.x-btree
Inspected by:  
dgc
billodo
lachlan
Author:  lachlan

The following file(s) were checked into:
  longdrop.melbourne.sgi.com:/isms/linux/2.6.x-xfs-melb


Modid:  xfs-linux-melb:xfs-kern:32182a
fs/xfs/xfs_bmap_btree.c - 1.178 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_bmap_btree.c.diff?r1=text&tr1=1.178&r2=text&tr2=1.177&f=h
fs/xfs/xfs_btree.c - 1.123 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_btree.c.diff?r1=text&tr1=1.123&r2=text&tr2=1.122&f=h
fs/xfs/xfs_btree.h - 1.74 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_btree.h.diff?r1=text&tr1=1.74&r2=text&tr2=1.73&f=h
        - refactor xfs_btree_readahead



<Prev in Thread] Current Thread [Next in Thread>
  • TAKE 985583 - refactor xfs_btree_readahead, Lachlan McIlroy <=