Skip to content

Commit

Permalink
block,cfq: Set cfq_back_penalty to 1
Browse files Browse the repository at this point in the history
Signed-off-by: celtare21 <celtare21@gmail.com>
  • Loading branch information
celtare21 authored and acuicultor committed Oct 25, 2020
1 parent 3e272d5 commit dfa6148
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion block/cfq-iosched.c
Expand Up @@ -28,7 +28,7 @@ static const u64 cfq_fifo_expire[2] = { NSEC_PER_SEC / 4, NSEC_PER_SEC / 8 };
/* maximum backwards seek, in KiB */
static const int cfq_back_max = 16 * 1024;
/* penalty of a backwards seek */
static const int cfq_back_penalty = 2;
static const int cfq_back_penalty = 1;
static const u64 cfq_slice_sync = NSEC_PER_SEC / 10;
static u64 cfq_slice_async = NSEC_PER_SEC / 25;
static const int cfq_slice_async_rq = 2;
Expand Down

0 comments on commit dfa6148

Please sign in to comment.