1. 25 Aug, 2006 1 commit
    • Benjamin Marzinski's avatar
      [GFS2] Fix journal off-by-one error · 5dc39fe6
      Benjamin Marzinski authored
      log_refund() incorrectly assumed that if a transaction had been touched, it
      always committed buffers to the incore log. Thus, when you got around to
      flushing the log, you would need one more block than you committed, to account
      for the header. So it automatically set reserved to 1, which had the effect of
      making sdp->sd_log_blks_reserved one greater when you got to gfs2_log_flush().
      However, if you don't actually commit anything to the incore log between
      flushes, you don't need the header, because you aren't writing anything out.
      With this patch, log_refund() only increments reservered to account for the
      header if something has been committed since the last flush.
      Signed-off-by: default avatarBenjamin E. Marzinski <bmarzins@redhat.com>
      Signed-off-by: default avatarSteven Whitehouse <swhiteho@redhat.com>
      5dc39fe6
  2. 24 Aug, 2006 4 commits
  3. 23 Aug, 2006 3 commits
  4. 22 Aug, 2006 2 commits
  5. 21 Aug, 2006 1 commit
  6. 18 Aug, 2006 1 commit
    • Steven Whitehouse's avatar
      [GFS2] Fix leak of gfs2_bufdata · 15d00c0b
      Steven Whitehouse authored
      This fixes a memory leak of struct gfs2_bufdata and also some
      problems in the ordered write handling code. It needs a bit
      more testing, but I believe that the reference counting of
      ordered write buffers should now be correct.
      
      This is aimed at fixing Red Hat bugzilla: #201028 and #201082
      Signed-off-by: default avatarSteven Whitehouse <swhiteho@redhat.com>
      15d00c0b
  7. 11 Aug, 2006 1 commit
  8. 10 Aug, 2006 1 commit
  9. 09 Aug, 2006 5 commits
  10. 08 Aug, 2006 2 commits
  11. 07 Aug, 2006 4 commits
  12. 06 Aug, 2006 15 commits