1. 18 Oct, 2011 4 commits
  2. 17 Oct, 2011 1 commit
  3. 08 Oct, 2011 6 commits
  4. 06 Oct, 2011 2 commits
  5. 09 Sep, 2011 25 commits
  6. 07 Sep, 2011 2 commits
    • Allison Henderson's avatar
      ext4: fix partial page writes · 02fac129
      Allison Henderson authored
      While running extended fsx tests to verify the preceeding patches,
      a similar bug was also found in the write operation
      
      When ever a write operation begins or ends in a hole,
      or extends EOF, the partial page contained in the hole
      or beyond EOF needs to be zeroed out.
      
      To correct this the new ext4_discard_partial_page_buffers_no_lock
      routine is used to zero out the partial page, but only for buffer
      heads that are already unmapped.
      Signed-off-by: default avatarAllison Henderson <achender@linux.vnet.ibm.com>
      Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
      02fac129
    • Allison Henderson's avatar
      ext4: fix fsx truncate failure · 189e868f
      Allison Henderson authored
      While running extended fsx tests to verify the first
      two patches, a similar bug was also found in the
      truncate operation.
      
      This bug happens because the truncate routine only zeros
      the unblock aligned portion of the last page.  This means
      that the block aligned portions of the page appearing after
      i_size are left unzeroed, and the buffer heads still mapped.
      
      This bug is corrected by using ext4_discard_partial_page_buffers
      in the truncate routine to zero the partial page and unmap
      the buffer headers.
      Signed-off-by: default avatarAllison Henderson <achender@linux.vnet.ibm.com>
      Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
      189e868f