block: separate priority boosting from REQ_META
authorChristoph Hellwig <hch@infradead.org>
Tue, 23 Aug 2011 12:50:29 +0000 (14:50 +0200)
committerJens Axboe <jaxboe@fusionio.com>
Tue, 23 Aug 2011 12:50:29 +0000 (14:50 +0200)
commit65299a3b788bd274bed92f9fa3232082c9f3ea70
tree191c0afe31c15ac4c1bab96e0a07fddb097d0de8
parent5dc06c5a70b79a323152bec7e55783e705767e63
block: separate priority boosting from REQ_META

Add a new REQ_PRIO to let requests preempt others in the cfq I/O schedule,
and lave REQ_META purely for marking requests as metadata in blktrace.

All existing callers of REQ_META except for XFS are updated to also
set REQ_PRIO for now.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Namhyung Kim <namhyung@gmail.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
block/cfq-iosched.c
drivers/mmc/card/block.c
fs/ext3/inode.c
fs/ext3/namei.c
fs/ext4/inode.c
fs/ext4/namei.c
fs/gfs2/log.c
fs/gfs2/meta_io.c
fs/gfs2/ops_fstype.c
fs/gfs2/quota.c
include/linux/blk_types.h