public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] blk-mq: two fixes
@ 2015-08-09  7:41 Ming Lei
  2015-08-09  7:41 ` [PATCH 1/2] blk-mq: fix buffer overflow when reading sysfs file of 'pending' Ming Lei
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Ming Lei @ 2015-08-09  7:41 UTC (permalink / raw)
  To: Jens Axboe, linux-kernel; +Cc: Christoph Hellwig

Hi Jens,

The 1st patch fixes one buffer overflow issue when reading
sysfs file of hctx's pending.

The 2nd patch fixes one race between timeout and request freeing,
which also simplifies implementation of blk_mq_tag_to_rq() a lot.

 block/blk-flush.c    | 15 ++++++++++++++-
 block/blk-mq-sysfs.c | 25 ++++++++++++++++++-------
 block/blk-mq-tag.c   |  4 ++--
 block/blk-mq-tag.h   | 12 ++++++++++++
 block/blk-mq.c       | 16 +---------------
 block/blk.h          |  6 ++++++
 6 files changed, 53 insertions(+), 25 deletions(-)


thanks,
Ming



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

end of thread, other threads:[~2015-08-16  9:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-09  7:41 [PATCH 0/2] blk-mq: two fixes Ming Lei
2015-08-09  7:41 ` [PATCH 1/2] blk-mq: fix buffer overflow when reading sysfs file of 'pending' Ming Lei
2015-08-09  7:41 ` [PATCH 2/2] blk-mq: fix race between timeout and freeing request Ming Lei
2015-08-15  1:10 ` [PATCH 0/2] blk-mq: two fixes Ming Lei
2015-08-15 15:44   ` Jens Axboe
2015-08-16  9:25     ` Ming Lei

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox