diff options
author | Frederic Weisbecker <fweisbec@gmail.com> | 2009-04-30 23:04:32 +0200 |
---|---|---|
committer | Frederic Weisbecker <fweisbec@gmail.com> | 2009-09-14 07:18:08 +0200 |
commit | e6950a4da33fa84ef4402d29e2331cd5e5df9cb8 (patch) | |
tree | 05650bb6b4fc7c148253dd3c7c4222c2783f84d3 /tools/perf/util/strbuf.c | |
parent | f32049dc244f4d394c8faa161b4f13cb8c4f5c8c (diff) |
kill-the-BKL/reiserfs: release the write lock before rescheduling on do_journal_end()
When do_journal_end() copies data to the journal blocks buffers in memory,
it reschedules if needed between each block copied and dirtyfied.
We can also release the write lock at this rescheduling stage,
like did the bkl implicitly.
[ 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>
Diffstat (limited to 'tools/perf/util/strbuf.c')
0 files changed, 0 insertions, 0 deletions