]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
[XFS] 929045 567344 This mod re-organizes some of the in-core file extent
authorMandy Kirkconnell <alkirkco@sgi.com>
Tue, 14 Mar 2006 02:29:52 +0000 (13:29 +1100)
committerNathan Scott <nathans@sgi.com>
Tue, 14 Mar 2006 02:29:52 +0000 (13:29 +1100)
commit4eea22f01bb4fdba1aab4430c33adbe88d9d4985
tree90e2088cd821e1013088682843e11d600f8c711a
parent9f989c9455aac417c34af9c505e6b169055251da
[XFS] 929045 567344 This mod re-organizes some of the in-core file extent
code to prepare for an upcoming mod which will introduce multi-level
in-core extent allocations. Although the in-core extent management is
using a new code path in this mod, the functionality remains the same.
Major changes include: - Introduce 10 new subroutines which re-orgainze
the existing code but do NOT change functionality:
xfs_iext_get_ext()    xfs_iext_insert()      xfs_iext_add()
 xfs_iext_remove()    xfs_iext_remove_inline()
xfs_iext_remove_direct()  xfs_iext_realloc_direct()
xfs_iext_direct_to_inline()     xfs_iext_inline_to_direct()
xfs_iext_destroy() - Remove 2 subroutines (functionality moved to new
subroutines above):     xfs_iext_realloc() -replaced by xfs_iext_add()
and xfs_iext_remove()       xfs_bmap_insert_exlist() - replaced by
xfs_iext_insert()   xfs_bmap_delete_exlist() - replaced by
xfs_iext_remove() - Replace all hard-coded (indexed) extent assignments
with a call to  xfs_iext_get_ext() - Replace all extent record pointer
arithmetic (ep++, ep--, base + lastx,..)   with calls to
xfs_iext_get_ext() - Update comments to remove the idea of a single
"extent list" and   introduce "extent record" terminology instead

SGI-PV: 928864
SGI-Modid: xfs-linux-melb:xfs-kern:207390a

Signed-off-by: Mandy Kirkconnell <alkirkco@sgi.com>
Signed-off-by: Nathan Scott <nathans@sgi.com>
fs/xfs/quota/xfs_qm.c
fs/xfs/xfs_bmap.c
fs/xfs/xfs_bmap.h
fs/xfs/xfs_bmap_btree.c
fs/xfs/xfs_inode.c
fs/xfs/xfs_inode.h