lkml.org 
[lkml]   [2020]   [Apr]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCHSET v2 block/for-5.8] iocost: improve use_delay and latency target handling
    From
    Date
    On 13/04/2020 19:56, Pavel Begunkov wrote:
    > On 13/04/2020 19:27, Tejun Heo wrote:
    >> Changes from v1[1]
    >>
    >> * Dropped 0002-block-add-request-io_data_len.patch and updated to use
    >> rq->stats_sectors instead as suggested by Pavel Begunkov.
    >
    > rq->stats_sectors is set only when there is QUEUE_FLAG_STATS, see
    > blk_mq_start_request(). I don't see blk-iocost requiring it. Did I miss something?

    And there is no reason to not initialise it unconditionally.

    --
    Pavel Begunkov

    [unhandled content-type:application/pgp-signature]
    \
     
     \ /
      Last update: 2020-04-13 19:03    [W:4.035 / U:0.108 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site