public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] kill-the-BKL/reiserfs: reiserfs fixes
@ 2009-04-14  3:34 Frederic Weisbecker
  2009-04-14  3:34 ` [PATCH 1/3] kill-the-BKL/reiserfs: provide a tool to lock only once the write lock Frederic Weisbecker
                   ` (4 more replies)
  0 siblings, 5 replies; 17+ messages in thread
From: Frederic Weisbecker @ 2009-04-14  3:34 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: LKML, Frederic Weisbecker, Alessio Igor Bogani, Jeff Mahoney,
	ReiserFS Development List, Alexander Beregalov, Chris Mason

Ingo,

This small patchset fixes some deadlocks I've faced after trying
some pressures with dbench on a reiserfs partition.

There is still some work pending such as adding some checks to ensure we
_always_ release the lock before sleeping, as you suggested.
Also I have to fix a lockdep warning reported by Alessio Igor Bogani.
And also some optimizations....

Thanks,
Frederic.

Frederic Weisbecker (3):
  kill-the-BKL/reiserfs: provide a tool to lock only once the write lock
  kill-the-BKL/reiserfs: lock only once in reiserfs_truncate_file
  kill-the-BKL/reiserfs: only acquire the write lock once in
    reiserfs_dirty_inode

 fs/reiserfs/inode.c         |   10 +++++++---
 fs/reiserfs/lock.c          |   26 ++++++++++++++++++++++++++
 fs/reiserfs/super.c         |   15 +++++++++------
 include/linux/reiserfs_fs.h |    2 ++
 4 files changed, 44 insertions(+), 9 deletions(-)


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2009-04-16 16:40 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-14  3:34 [PATCH 0/3] kill-the-BKL/reiserfs: reiserfs fixes Frederic Weisbecker
2009-04-14  3:34 ` [PATCH 1/3] kill-the-BKL/reiserfs: provide a tool to lock only once the write lock Frederic Weisbecker
2009-04-14  3:34 ` [PATCH 2/3] kill-the-BKL/reiserfs: lock only once in reiserfs_truncate_file Frederic Weisbecker
2009-04-14  3:34 ` [PATCH 3/3] kill-the-BKL/reiserfs: only acquire the write lock once in reiserfs_dirty_inode Frederic Weisbecker
2009-04-14  4:51 ` [PATCH 0/3] kill-the-BKL/reiserfs: reiserfs fixes Alexander Beregalov
2009-04-14  9:01   ` [tree] latest kill-the-BKL tree, v12 Ingo Molnar
2009-04-14 10:02     ` Edward Shishkin
2009-04-14 21:32       ` Frederic Weisbecker
2009-04-14 21:27     ` Frederic Weisbecker
2009-04-15 22:58     ` Alexander Beregalov
2009-04-15 23:07       ` Ingo Molnar
2009-04-15 23:13         ` Trond Myklebust
2009-04-15 23:35         ` Frederic Weisbecker
2009-04-16  8:51           ` Ingo Molnar
2009-04-16 14:35             ` Alessio Igor Bogani
2009-04-16 16:40             ` Frederic Weisbecker
2009-04-14 10:00 ` [PATCH 0/3] kill-the-BKL/reiserfs: reiserfs fixes Ingo Molnar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox