block: don't take lock on changing ra_pages
authorWu Fengguang <fengguang.wu@intel.com>
Tue, 25 Nov 2008 08:08:39 +0000 (09:08 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Mon, 29 Dec 2008 07:28:43 +0000 (08:28 +0100)
commit7c239517d9f18427fc2e7ed259fb3b866595f5af
treecd2149cc2f2eb0faa83d38fe64e1228f7c703a85
parent42364690992e592c05f85c76fda4055820b48c1b
block: don't take lock on changing ra_pages

There's no need to take queue_lock or kernel_lock when modifying
bdi->ra_pages. So remove them. Also remove out of date comment for
queue_max_sectors_store().

Signed-off-by: Wu Fengguang <wfg@linux.intel.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/blk-sysfs.c
block/compat_ioctl.c
block/ioctl.c