Re: [dm-devel] [RFC] block: Change the granularity of io ticks from ms to ns

2022-12-07 Thread Jens Axboe
On 12/7/22 6:09 AM, Yu Kuai wrote: > Hi, > > 在 2022/12/07 11:15, Ming Lei 写道: >> On Wed, Dec 07, 2022 at 10:19:08AM +0800, Yu Kuai wrote: >>> Hi, >>> >>> 在 2022/12/07 2:15, Gulam Mohamed 写道: Use ktime to change the granularity of IO accounting in block layer from milli-seconds to

Re: [dm-devel] [RFC] block: Change the granularity of io ticks from ms to ns

2022-12-07 Thread Yu Kuai
Hi, 在 2022/12/07 11:15, Ming Lei 写道: On Wed, Dec 07, 2022 at 10:19:08AM +0800, Yu Kuai wrote: Hi, 在 2022/12/07 2:15, Gulam Mohamed 写道: Use ktime to change the granularity of IO accounting in block layer from milli-seconds to nano-seconds to get the proper latency values for the devices whose

Re: [dm-devel] [RFC] block: Change the granularity of io ticks from ms to ns

2022-12-06 Thread Ming Lei
On Wed, Dec 07, 2022 at 10:19:08AM +0800, Yu Kuai wrote: > Hi, > > 在 2022/12/07 2:15, Gulam Mohamed 写道: > > Use ktime to change the granularity of IO accounting in block layer from > > milli-seconds to nano-seconds to get the proper latency values for the > > devices whose latency is in