Re: [PATCH 0/2] Fix misuse of blk_rq_stats in blk-iolatency

2019-06-14 Thread Josef Bacik
On Fri, Jun 14, 2019 at 02:44:11PM +0300, Pavel Begunkov (Silence) wrote: > From: Pavel Begunkov > > There are implicit assumptions about struct blk_rq_stats, which make > it's very easy to misuse. The first patch fixes consequences, and the > second employs type-system to prevent recurrences. >

[PATCH 0/2] Fix misuse of blk_rq_stats in blk-iolatency

2019-06-14 Thread Pavel Begunkov (Silence)
From: Pavel Begunkov There are implicit assumptions about struct blk_rq_stats, which make it's very easy to misuse. The first patch fixes consequences, and the second employs type-system to prevent recurrences. Pavel Begunkov (2): blk-iolatency: Fix zero mean in previous stats blk-stats: In