]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8c9bccf8a7906c55bda7c9c3e06ba4333b6595b9
tree191c0afe31c15ac4c1bab96e0a07fddb097d0de8
parent83ef6e073a03ba1621d7c10f72b10bd73e9e9f43
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