[Top] [All Lists]

TAKE 988141 - Inode: Allow external list initialisation

To: sgi.bugs.xfs@xxxxxxxxxxxx, xfs@xxxxxxxxxxx
Subject: TAKE 988141 - Inode: Allow external list initialisation
From: lachlan@xxxxxxx (Lachlan McIlroy)
Date: Wed, 15 Oct 2008 12:58:39 +1100 (EST)
Date:  Wed Oct 15 12:58:12 EST 2008
Workarea:  redback.melbourne.sgi.com:/home/lachlan/isms/2.6.x-inode
Inspected by:  hch
Author:  lachlan

The following file(s) were checked into:

Modid:  2.6.x-xfs-melb:linux:32322a
fs/inode.c - 1.28 - changed
include/linux/fs.h - 1.41 - changed
        - Inode: Allow external list initialisation
          To allow XFS to combine the XFS and linux inodes into a single
          structure, we need to drive inode lookup from the XFS inode cache,
          not the generic inode cache. This means that we need initialise a
          struct inode from a context outside alloc_inode() as it is no longer
          used by XFS.
          After inode allocation and initialisation, we need to add the inode
          to the superblock list, the in-use list, hash it and do some
          accounting. This all needs to be done with the inode_lock held and
          there are already several places in fs/inode.c that do this list
          manipulation.  Factor out the common code, add a locking wrapper and
          export the function so ti can be called from XFS.
          Signed-off-by: Dave Chinner <david@xxxxxxxxxxxxx>

<Prev in Thread] Current Thread [Next in Thread>
  • TAKE 988141 - Inode: Allow external list initialisation, Lachlan McIlroy <=