[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [dm-devel] [PATCH] Fix I/O counts in vmstat
- From: "Jun'ichi Nomura" <j-nomura ce jp nec com>
- To: device-mapper development <dm-devel redhat com>, Mikulas Patocka <mpatocka redhat com>
- Cc: Jens Axboe <axboe kernel dk>, linux-kernel vger kernel org, "Alasdair G. Kergon" <agk redhat com>
- Subject: Re: [dm-devel] [PATCH] Fix I/O counts in vmstat
- Date: Wed, 21 Mar 2012 19:04:08 +0900
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.
Thanks,
--
Jun'ichi Nomura, NEC Corporation
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]