1. 15 7月, 2008 1 次提交
  2. 01 5月, 2008 1 次提交
  3. 18 4月, 2008 1 次提交
  4. 26 1月, 2008 5 次提交
  5. 28 11月, 2007 1 次提交
    • M
      ocfs2: reverse inline-data truncate args · b1967d0e
      Mark Fasheh 提交于
      ocfs2_truncate() and ocfs2_remove_inode_range() had reversed their "set
      i_size" arguments to ocfs2_truncate_inline(). Fix things so that truncate
      sets i_size, and punching a hole ignores it.
      
      This exposed a problem where punching a hole in an inline-data file wasn't
      updating the page cache, so fix that too.
      Signed-off-by: NMark Fasheh <mark.fasheh@oracle.com>
      b1967d0e
  6. 07 11月, 2007 1 次提交
  7. 17 10月, 2007 1 次提交
  8. 13 10月, 2007 2 次提交
  9. 21 9月, 2007 1 次提交
    • M
      ocfs2: Allow smaller allocations during large writes · 415cb800
      Mark Fasheh 提交于
      The ocfs2 write code loops through a page much like the block code, except
      that ocfs2 allocation units can be any size, including larger than page
      size. Typically it's equal to or larger than page size - most kernels run 4k
      pages, the minimum ocfs2 allocation (cluster) size.
      
      Some changes introduced during 2.6.23 changed the way writes to pages are
      handled, and inadvertantly broke support for > 4k page size. Instead of just
      writing one cluster at a time, we now handle the whole page in one pass.
      
      This means that multiple (small) seperate allocations might happen in the
      same pass. The allocation code howver typically optimizes by getting the
      maximum which was reserved. This triggered a BUG_ON in the extend code where
      it'd ask for a single bit (for one part of a > 4k page) and get back more
      than it asked for.
      
      Fix this by providing a variant of the high level allocation function which
      allows the caller to specify a maximum. The traditional function remains and
      just calls the new one with a maximum determined from the initial
      reservation.
      Signed-off-by: NMark Fasheh <mark.fasheh@oracle.com>
      415cb800
  10. 12 9月, 2007 1 次提交
  11. 10 8月, 2007 4 次提交
  12. 25 7月, 2007 1 次提交
  13. 19 7月, 2007 1 次提交
  14. 18 7月, 2007 1 次提交
  15. 11 7月, 2007 8 次提交
  16. 10 7月, 2007 5 次提交
  17. 26 5月, 2007 2 次提交
  18. 03 5月, 2007 3 次提交