]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
cfq-iosched: don't delay async queue if it hasn't dispatched at all
authorJens Axboe <jens.axboe@oracle.com>
Sun, 4 Oct 2009 18:36:19 +0000 (20:36 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Sun, 4 Oct 2009 18:36:19 +0000 (20:36 +0200)
commite00c54c36ac2024c3a8a37432e2e2698ff849594
tree0b392ba588939a7ee0c405ada8b22047fad9daff
parentac481c20ef8f6c6f2be75d581863f40c43874ef7
cfq-iosched: don't delay async queue if it hasn't dispatched at all

We cannot delay for the first dispatch of the async queue if it
hasn't dispatched at all, since that could present a local user
DoS attack vector using an app that just did slow timed sync reads
while filling memory.

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