From: Frederic Weisbecker Date: Thu, 30 Apr 2009 21:04:32 +0000 (+0200) Subject: kill-the-BKL/reiserfs: release the write lock before rescheduling on do_journal_end() X-Git-Tag: v2.6.33-rc1~360^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6950a4da33fa84ef4402d29e2331cd5e5df9cb8;p=pandora-kernel.git 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 Cc: Chris Mason Cc: Alexander Beregalov Signed-off-by: Frederic Weisbecker --- Reading git-diff-tree failed