1. 25 Aug, 2006 2 commits
    • David Teigland's avatar
      [DLM] add new lockspace to list ealier · 5f88f1ea
      David Teigland authored
      When a new lockspace was being created, the recoverd thread was being
      started for it before the lockspace was added to the global list of
      lockspaces.  The new thread was looking up the lockspace in the global
      list and sometimes not finding it due to the race with the original thread
      adding it to the list.  We need to add the lockspace to the global list
      before starting the thread instead of after, and if the new thread can't
      find the lockspace for some reason, it should return an error.
      Signed-off-by: default avatarDavid Teigland <teigland@redhat.com>
      Signed-off-by: default avatarSteven Whitehouse <swhiteho@redhat.com>
      5f88f1ea
    • 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 14 commits