git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
148d350
)
kill-the-BKL/reiserfs: release the write lock inside reiserfs_read_bitmap_block()
author
Frederic Weisbecker
<fweisbec@gmail.com>
Thu, 30 Apr 2009 23:44:57 +0000
(
01:44
+0200)
committer
Frederic Weisbecker
<fweisbec@gmail.com>
Mon, 14 Sep 2009 05:18:11 +0000
(07:18 +0200)
reiserfs_read_bitmap_block() uses sb_bread() to read the bitmap block. This
helper might sleep.
Then, when the bkl was used, it was released at this point. We can then
relax the write lock too here.
[ Impact: release the reiserfs write lock when it is not needed ]
Cc: Jeff Mahoney <jeffm@suse.com>
Cc: Chris Mason <chris.mason@oracle.com>
Cc: Alexander Beregalov <a.beregalov@gmail.com>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
fs/reiserfs/bitmap.c
patch
|
blob
|
history
diff --cc
fs/reiserfs/bitmap.c
Simple merge