Skip to content
Snippets Groups Projects
  1. Jul 11, 2007
  2. May 08, 2007
  3. May 03, 2007
  4. Apr 27, 2007
    • Mark Fasheh's avatar
      ocfs2: Cache extent records · 83418978
      Mark Fasheh authored
      
      The extent map code was ripped out earlier because of an inability to deal
      with holes. This patch adds back a simpler caching scheme requiring far less
      code.
      
      Our old extent map caching was designed back when meta data block caching in
      Ocfs2 didn't work very well, resulting in many disk reads. These days our
      metadata caching is much better, resulting in no un-necessary disk reads. As
      a result, extent caching doesn't have to be as fancy, nor does it have to
      cache as many extents. Keeping the last 3 extents seen should be sufficient
      to give us a small performance boost on some streaming workloads.
      
      Signed-off-by: default avatarMark Fasheh <mark.fasheh@oracle.com>
      83418978
    • Mark Fasheh's avatar
      ocfs2: Fix up i_blocks calculation to know about holes · 8110b073
      Mark Fasheh authored
      
      Older file systems which didn't support holes did a dumb calculation of
      i_blocks based on i_size. This is no longer accurate, so fix things up to
      take actual allocation into account.
      
      Signed-off-by: default avatarMark Fasheh <mark.fasheh@oracle.com>
      8110b073
    • Mark Fasheh's avatar
      ocfs2: temporarily remove extent map caching · 363041a5
      Mark Fasheh authored
      
      The code in extent_map.c is not prepared to deal with a subtree being
      rotated between lookups. This can happen when filling holes in sparse files.
      Instead of a lengthy patch to update the code (which would likely lose the
      benefit of caching subtree roots), we remove most of the algorithms and
      implement a simple path based lookup. A less ambitious extent caching scheme
      will be added in a later patch.
      
      Signed-off-by: default avatarMark Fasheh <mark.fasheh@oracle.com>
      363041a5
  5. Apr 26, 2007
  6. Dec 29, 2006
  7. Dec 08, 2006
  8. Dec 02, 2006
  9. Sep 27, 2006
    • Theodore Ts'o's avatar
      [PATCH] inode_diet: Replace inode.u.generic_ip with inode.i_private · 8e18e294
      Theodore Ts'o authored
      
      The following patches reduce the size of the VFS inode structure by 28 bytes
      on a UP x86.  (It would be more on an x86_64 system).  This is a 10% reduction
      in the inode size on a UP kernel that is configured in a production mode
      (i.e., with no spinlock or other debugging functions enabled; if you want to
      save memory taken up by in-core inodes, the first thing you should do is
      disable the debugging options; they are responsible for a huge amount of bloat
      in the VFS inode structure).
      
      This patch:
      
      The filesystem or device-specific pointer in the inode is inside a union,
      which is pretty pointless given that all 30+ users of this field have been
      using the void pointer.  Get rid of the union and rename it to i_private, with
      a comment to explain who is allowed to use the void pointer.  This is just a
      cleanup, but it allows us to reuse the union 'u' for something something where
      the union will actually be used.
      
      [judith@osdl.org: powerpc build fix]
      Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
      Signed-off-by: default avatarJudith Lebzelter <judith@osdl.org>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      8e18e294
  10. Sep 24, 2006
  11. Sep 21, 2006
  12. Jun 30, 2006
  13. Jun 28, 2006
  14. Mar 28, 2006
  15. Mar 24, 2006
  16. Jan 03, 2006
Loading