[PATCH] Propagate down request sync flag
authorJens Axboe <jens.axboe@oracle.com>
Wed, 13 Dec 2006 12:02:26 +0000 (13:02 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Wed, 13 Dec 2006 12:02:26 +0000 (13:02 +0100)
commit7749a8d423c483a51983b666613acda1a4dd9c1b
tree5a2a20640cca9ca519324b7933005f6fd9c4a6a5
parent445722f97a0ecd3aed3f53d9f0dcaacaef8c6223
[PATCH] Propagate down request sync flag

We need to do this, otherwise the io schedulers don't get access to the
sync flag. Then they cannot tell the difference between a regular write
and an O_DIRECT write, which can cause a performance loss.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/cfq-iosched.c
block/ll_rw_blk.c