Set the bit that prevents queue plugging --- so that the request goes immediatelly to the device. This makes dm-delay more precise, without the patch, there could be additional 3ms delay. Signed-off-by: Mikulas Patocka --- drivers/md/dm-delay.c | 1 + 1 file changed, 1 insertion(+) Index: linux-2.6.25.3/drivers/md/dm-delay.c =================================================================== --- linux-2.6.25.3.orig/drivers/md/dm-delay.c 2008-05-13 22:56:54.000000000 +0200 +++ linux-2.6.25.3/drivers/md/dm-delay.c 2008-05-13 23:08:40.000000000 +0200 @@ -73,6 +73,7 @@ static void flush_bios(struct bio *bio) while (bio) { n = bio->bi_next; bio->bi_next = NULL; + bio->bi_flags |= (1 << BIO_RW_SYNC); generic_make_request(bio); bio = n; }