mbox series

[0/3] block: make sure discard/writesame bio is aligned with logical block size

Message ID 20181026062435.21398-1-ming.lei@redhat.com (mailing list archive)
Headers show
Series block: make sure discard/writesame bio is aligned with logical block size | expand

Message

Ming Lei Oct. 26, 2018, 6:24 a.m. UTC
Hi,

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

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

Thanks,


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 | 25 ++++++-------------------
 1 file changed, 6 insertions(+), 19 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>