public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH V2 0/3] block: make sure discard/writesame bio is aligned with logical block size
@ 2018-10-29 12:57 Ming Lei
  2018-10-29 12:57 ` [PATCH V2 1/3] block: make sure discard " Ming Lei
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Ming Lei @ 2018-10-29 12:57 UTC (permalink / raw)
  To: Jens Axboe
  Cc: linux-block, Ming Lei, Rui Salvaterra, stable, Mike Snitzer,
	Christoph Hellwig, Xiao Ni, Mariusz Dabrowski

Hi,

The 1st & 3rd patch fixes bio size alignment issue.

The 2nd patch cleans up __blkdev_issue_discard() a bit.

V2:
	- introduce helper of bio_allowed_max_sectors()
	- add commit log for patch 2


Ming Lei (3):
  block: make sure discard bio is aligned with logical block size
  block: cleanup __blkdev_issue_discard()
  block: make sure writesame bio is aligned with logical block size

 block/blk-lib.c   | 26 +++++++-------------------
 block/blk-merge.c |  3 ++-
 block/blk.h       | 10 ++++++++++
 3 files changed, 19 insertions(+), 20 deletions(-)

Cc: Rui Salvaterra <rsalvaterra@gmail.com>
Cc: stable@vger.kernel.org
Cc: Mike Snitzer <snitzer@redhat.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Xiao Ni <xni@redhat.com>
Cc: Mariusz Dabrowski <mariusz.dabrowski@intel.com>
-- 
2.9.5

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

end of thread, other threads:[~2018-11-09 23:05 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-29 12:57 [PATCH V2 0/3] block: make sure discard/writesame bio is aligned with logical block size Ming Lei
2018-10-29 12:57 ` [PATCH V2 1/3] block: make sure discard " Ming Lei
2018-10-29 12:57 ` [PATCH V2 3/3] block: make sure writesame " Ming Lei
2018-11-05  3:41 ` [PATCH V2 0/3] block: make sure discard/writesame " Ming Lei
2018-11-06 16:48   ` Rui Salvaterra
2018-11-07  0:55     ` Ming Lei
2018-11-09 13:24       ` Jens Axboe

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