1. 16 7月, 2010 1 次提交
  2. 19 5月, 2010 1 次提交
  3. 06 5月, 2010 1 次提交
  4. 24 3月, 2010 1 次提交
  5. 26 1月, 2010 1 次提交
  6. 04 12月, 2009 1 次提交
  7. 24 9月, 2009 1 次提交
  8. 04 4月, 2009 9 次提交
  9. 27 2月, 2009 1 次提交
  10. 06 1月, 2009 3 次提交
    • S
      ocfs2/dlm: Fix race during lockres mastery · 7b791d68
      Sunil Mushran 提交于
      dlm_get_lock_resource() is supposed to return a lock resource with a proper
      master. If multiple concurrent threads attempt to lookup the lockres for the
      same lockid while the lock mastery in underway, one or more threads are likely
      to return a lockres without a proper master.
      
      This patch makes the threads wait in dlm_get_lock_resource() while the mastery
      is underway, ensuring all threads return the lockres with a proper master.
      
      This issue is known to be limited to users using the flock() syscall. For all
      other fs operations, the ocfs2 dlmglue layer serializes the dlm op for each
      lockid.
      
      Users encountering this bug will see flock() return EINVAL and dmesg have the
      following error:
      ERROR: Dlm error "DLM_BADARGS" while calling dlmlock on resource <LOCKID>: bad api args
      Reported-by: NColy Li <coyli@suse.de>
      Signed-off-by: NSunil Mushran <sunil.mushran@oracle.com>
      Signed-off-by: NMark Fasheh <mfasheh@suse.com>
      7b791d68
    • S
      ocfs2/dlm: Fix race in adding/removing lockres' to/from the tracking list · b0d4f817
      Sunil Mushran 提交于
      This patch adds a new lock, dlm->tracking_lock, to protect adding/removing
      lockres' to/from the dlm->tracking_list. We were previously using dlm->spinlock
      for the same, but that proved inadequate as we could be freeing a lockres from
      a context that did not hold that lock. As the new lock only protects this list,
      we can explicitly take it when removing the lockres from the tracking list.
      
      This bug was exposed when testing multiple processes concurrently flock() the
      same file.
      Signed-off-by: NSunil Mushran <sunil.mushran@oracle.com>
      Signed-off-by: NMark Fasheh <mfasheh@suse.com>
      b0d4f817
    • S
      ocfs2/dlm: Fix a race between migrate request and exit domain · 2b832564
      Sunil Mushran 提交于
      Patch address a racing migrate request message and an exit domain message.
      Instead of blocking exit domains for the duration of the migrate, we ignore
      failure to deliver that message. This is because an exiting domain should
      not have any active locks and thus has no role to play in the migration.
      Signed-off-by: NSunil Mushran <sunil.mushran@oracle.com>
      Signed-off-by: NMark Fasheh <mfasheh@suse.com>
      2b832564
  11. 08 7月, 2008 1 次提交
  12. 18 4月, 2008 5 次提交
  13. 11 3月, 2008 3 次提交
  14. 04 3月, 2008 1 次提交
  15. 28 11月, 2007 1 次提交
  16. 20 7月, 2007 1 次提交
    • P
      mm: Remove slab destructors from kmem_cache_create(). · 20c2df83
      Paul Mundt 提交于
      Slab destructors were no longer supported after Christoph's
      c59def9f change. They've been
      BUGs for both slab and slub, and slob never supported them
      either.
      
      This rips out support for the dtor pointer from kmem_cache_create()
      completely and fixes up every single callsite in the kernel (there were
      about 224, not including the slab allocator definitions themselves,
      or the documentation references).
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      20c2df83
  17. 11 7月, 2007 1 次提交
  18. 27 3月, 2007 1 次提交
  19. 15 3月, 2007 1 次提交
  20. 08 2月, 2007 5 次提交