Skip to content

kill-the-BKL/reiserfs: reiserfs fixes

Frederic Weisbecker linux-nfs lkml netdev reiserfs-devel 1 version Applied

Status from this message: Applied, thanks Frederic!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 13 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3kill-the-BKL/reiserfs: provide a tool to lock only once the write lockfs/reiserfs/lock.c include/linux/reiserfs_fs.h+28 -00 replies
2/3kill-the-BKL/reiserfs: lock only once in reiserfs_truncate_filefs/reiserfs/inode.c+7 -30 replies
3/3kill-the-BKL/reiserfs: only acquire the write lock once in reiserfs_dirty_inodefs/reiserfs/super.c+9 -60 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] kill-the-BKL/reiserfs: reiserfs fixes

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(-)