]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
block: make queue flags non-atomic
authorNick Piggin <npiggin@suse.de>
Tue, 29 Apr 2008 12:48:33 +0000 (14:48 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 29 Apr 2008 12:48:33 +0000 (14:48 +0200)
commit75ad23bc0fcb4f992a5d06982bf0857ab1738e9e
tree8668ef63b1f420252ae41aed9e13737d49fd8054
parent68154e90c9d1492d570671ae181d9a8f8530da55
block: make queue flags non-atomic

We can save some atomic ops in the IO path, if we clearly define
the rules of how to modify the queue flags.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
13 files changed:
block/blk-core.c
block/blk-merge.c
block/blk-settings.c
block/blk-tag.c
block/elevator.c
drivers/block/loop.c
drivers/block/ub.c
drivers/md/dm-table.c
drivers/md/md.c
drivers/scsi/scsi_debug.c
drivers/scsi/scsi_lib.c
drivers/scsi/scsi_transport_sas.c
include/linux/blkdev.h