diff options
author | Vivek Goyal <vgoyal@redhat.com> | 2010-11-15 19:32:42 +0100 |
---|---|---|
committer | Jens Axboe <jaxboe@fusionio.com> | 2010-11-15 19:32:42 +0100 |
commit | c2f6805d470af369a7337801deeecea800dbfe1c (patch) | |
tree | 2381b8c512d611869877adfad3d5e0dfe75e668a /arch | |
parent | ioprio: grab rcu_read_lock in sys_ioprio_{set,get}() (diff) | |
download | linux-c2f6805d470af369a7337801deeecea800dbfe1c.tar.xz linux-c2f6805d470af369a7337801deeecea800dbfe1c.zip |
blk-throttle: Fix calculation of max number of WRITES to be dispatched
o Currently we try to dispatch more READS and less WRITES (75%, 25%) in one
dispatch round. ummy pointed out that there is a bug in max_nr_writes
calculation. This patch fixes it.
Reported-by: ummy y <yummylln@yahoo.com.cn>
Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions