]> git.baikalelectronics.ru Git - kernel.git/commit
ps3vram: Replace mutex by spinlock + bio_list
authorGeert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Wed, 10 Jun 2009 04:38:41 +0000 (04:38 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 15 Jun 2009 06:47:22 +0000 (16:47 +1000)
commitc8bbae288e813ae4774ccafee8f579df349890a7
tree75a8457c238807871a48be213abb719765901061
parent0550c260b639a09c52f2bb44a6512bc9e5c3f56d
ps3vram: Replace mutex by spinlock + bio_list

Remove the mutex serializing access to the cache.
Instead, queue up new requests on a bio_list if the driver is busy.

This improves sequential write performance by ca. 2%.

Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Cc: Jim Paris <jim@jtan.com>
Cc: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
drivers/block/ps3vram.c