[lkml]   [2012]   [Mar]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [dm-devel] [PATCH] Fix I/O counts in vmstat
    Hi Mikulas,

    > The decision whether bio is counted or not is made by the code that
    > submits the bio. This leads to some problems:

    How about convering dm targets to use generic_make_request?

    Since submit_bio counts vm events, it seems natural for
    caller to decide which function to use.
    Device driver does not know whether the requested I/O is
    for vm-to-device or device-to-device.
    We could still use iostat to measure throughput of individual
    block devices.

    Jun'ichi Nomura, NEC Corporation

     \ /
      Last update: 2012-03-21 11:07    [W:0.019 / U:19.660 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site