18 Jul, 2007

1 commit

  • I can never remember what the function to register to receive VM pressure
    is called. I have to trace down from __alloc_pages() to find it.

    It's called "set_shrinker()", and it needs Your Help.

    1) Don't hide struct shrinker. It contains no magic.
    2) Don't allocate "struct shrinker". It's not helpful.
    3) Call them "register_shrinker" and "unregister_shrinker".
    4) Call the function "shrink" not "shrinker".
    5) Reduce the 17 lines of waffly comments to 13, but document it properly.

    Signed-off-by: Rusty Russell
    Cc: David Chinner
    Cc: Trond Myklebust
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Rusty Russell
     

14 Jul, 2007

2 commits

  • Avoid using a special "zero inode" as the parent of the quota inode as
    this can confuse the filestreams code into thinking the quota inode has a
    parent. We do not want the quota inode to follow filestreams allocation
    rules, so pass a NULL as the parent inode and detect this condition when
    doing stream associations.

    SGI-PV: 964469
    SGI-Modid: xfs-linux-melb:xfs-kern:29098a

    Signed-off-by: David Chinner
    Signed-off-by: Tim Shimmin

    David Chinner
     
  • SGI-PV: 964986
    SGI-Modid: xfs-linux-melb:xfs-kern:28642a

    Signed-Off-By: Andrew Morton
    Signed-off-by: David Chinner
    Signed-off-by: Tim Shimmin

    Andrew Morton
     

08 May, 2007

4 commits


10 Feb, 2007

4 commits

  • xfs_mac.h and xfs_cap.h provide definitions and macros that aren't used
    anywhere in XFS at all. They are left-overs from "to be implement at some
    point in the future" functionality that Irix XFS has. If this
    functionality ever goes into Linux, it will be provided at a different
    layer, most likely through the security hooks in the kernel so we will
    never need this functionality in XFS.

    Patch provided by Eric Sandeen (sandeen@sandeen.net).

    SGI-PV: 960895
    SGI-Modid: xfs-linux-melb:xfs-kern:28036a

    Signed-off-by: Eric Sandeen
    Signed-off-by: David Chinner
    Signed-off-by: Tim Shimmin

    Eric Sandeen
     
  • The firstblock argument to xfs_bmap_finish is not used by that function.
    Remove it and cleanup the code a bit.

    Patch provided by Eric Sandeen.

    SGI-PV: 960196
    SGI-Modid: xfs-linux-melb:xfs-kern:28034a

    Signed-off-by: Eric Sandeen
    Signed-off-by: David Chinner
    Signed-off-by: Tim Shimmin

    Eric Sandeen
     
  • SGI-PV: 959137
    SGI-Modid: xfs-linux-melb:xfs-kern:27710a

    Signed-off-by: Lachlan McIlroy
    Signed-off-by: Eric Sandeen
    Signed-off-by: Tim Shimmin

    Lachlan McIlroy
     
  • gcc-4.1 and more recent aggressively inline static functions which
    increases XFS stack usage by ~15% in critical paths. Prevent this from
    occurring by adding noinline to the STATIC definition.

    Also uninline some functions that are too large to be inlined and were
    causing problems with CONFIG_FORCED_INLINING=y.

    Finally, clean up all the different users of inline, __inline and
    __inline__ and put them under one STATIC_INLINE macro. For debug kernels
    the STATIC_INLINE macro uninlines those functions.

    SGI-PV: 957159
    SGI-Modid: xfs-linux-melb:xfs-kern:27585a

    Signed-off-by: David Chinner
    Signed-off-by: David Chatterton
    Signed-off-by: Tim Shimmin

    David Chinner
     

28 Sep, 2006

5 commits


07 Sep, 2006

1 commit


28 Jul, 2006

1 commit


20 Jun, 2006

1 commit


19 Jun, 2006

1 commit


09 Jun, 2006

7 commits


31 Mar, 2006

1 commit


29 Mar, 2006

1 commit


22 Mar, 2006

1 commit


14 Mar, 2006

3 commits

  • 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
    Signed-off-by: Nathan Scott

    Mandy Kirkconnell
     
  • to linux.

    SGI-PV: 931456
    SGI-Modid: xfs-linux-melb:xfs-kern:25238a

    Signed-off-by: Tim Shimmin
    Signed-off-by: Nathan Scott

    Tim Shimmin
     
  • quota code.

    SGI-PV: 949149
    SGI-Modid: xfs-linux-melb:xfs-kern:25123a

    Signed-off-by: Nathan Scott

    Nathan Scott
     

28 Feb, 2006

1 commit


16 Jan, 2006

2 commits


15 Jan, 2006

1 commit


13 Jan, 2006

1 commit


12 Jan, 2006

2 commits