]> err.no Git - linux-2.6/commit
[PATCH] __block_write_full_page speedup
authorAndrew Morton <akpm@osdl.org>
Thu, 5 May 2005 23:15:47 +0000 (16:15 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 5 May 2005 23:36:41 +0000 (16:36 -0700)
commit05937baae9fc27b64bcd4378da7d2b14edf7931c
tree415bec7602a12a94ae4bc9b1aa512a1d55bb957d
parentad576e63e0c8b274a8558b8e05a6d0526e804dc0
[PATCH] __block_write_full_page speedup

Remove all those get_bh()'s and put_bh()'s by extending lock_page() to cover
the troublesome regions.

(get_bh() and put_bh() happen every time whereas contention on a page's lock
in there happens basically never).

Cc: Nick Piggin <nickpiggin@yahoo.com.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/buffer.c