linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Fix misuse of blk_rq_stats in blk-iolatency
@ 2019-06-14 11:44 Pavel Begunkov (Silence)
  2019-06-14 11:47 ` [PATCH 1/2] blk-iolatency: Fix zero mean in previous stats Pavel Begunkov (Silence)
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Pavel Begunkov (Silence) @ 2019-06-14 11:44 UTC (permalink / raw)
  To: Jens Axboe, linux-block, linux-kernel, josef, dennis; +Cc: Pavel Begunkov

From: Pavel Begunkov <asml.silence@gmail.com>

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: Introduce explicit stat staging buffers

 block/blk-iolatency.c     | 60 ++++++++++++++++++++++++++++++---------
 block/blk-stat.c          | 48 +++++++++++++++++++++++--------
 block/blk-stat.h          |  9 ++++--
 include/linux/blk_types.h |  6 ++++
 4 files changed, 94 insertions(+), 29 deletions(-)

-- 
2.22.0


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2019-09-30  8:29 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-14 11:44 [PATCH 0/2] Fix misuse of blk_rq_stats in blk-iolatency Pavel Begunkov (Silence)
2019-06-14 11:47 ` [PATCH 1/2] blk-iolatency: Fix zero mean in previous stats Pavel Begunkov (Silence)
2019-07-24 21:35   ` [RESEND RFC PATCH " Pavel Begunkov (Silence)
2019-06-14 11:47 ` [PATCH 2/2] blk-stats: Introduce explicit stat staging buffers Pavel Begunkov (Silence)
2019-07-24 21:35   ` [RESEND RFC PATCH " Pavel Begunkov (Silence)
2019-06-14 13:40 ` [PATCH 0/2] Fix misuse of blk_rq_stats in blk-iolatency Josef Bacik
2019-06-20 17:18   ` Pavel Begunkov
2019-06-29 15:37     ` Pavel Begunkov
2019-07-11  1:17       ` Pavel Begunkov
2019-07-24 21:35 ` [RESEND RFC PATCH " Pavel Begunkov (Silence)
2019-09-30  8:29 ` Pavel Begunkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).