All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/6] Make blkdev_issue_discard() submit aligned discard requests
@ 2015-12-17 11:38 Bart Van Assche
  2015-12-17 11:39 ` [PATCH 1/6] block: Introduce blk_round_sect_down() Bart Van Assche
                   ` (5 more replies)
  0 siblings, 6 replies; 10+ messages in thread
From: Bart Van Assche @ 2015-12-17 11:38 UTC (permalink / raw)
  To: Jens Axboe
  Cc: Jan Kara, Martin K. Petersen, Mike Snitzer,
	linux-block@vger.kernel.org, device-mapper development,
	Dmitry Monakhov, Christoph Hellwig

Users of blkdev_issue_discard(), e.g. blk_ioctl_discard(), expect that 
this function generates discard request(s) that satisfy block driver 
alignment requirements. Hence modify blk_bio_discard_split() such that 
the submitted discard requests are aligned.

Changes compared to v1:
- Moved the code to split discard requests from blkdev_issue_discard()
   into blk_bio_discard_split().

The patches in this series are:
0001-block-Introduce-blk_round_sect_down.patch
0002-block-Introduce-bio_add_zero_pages.patch
0003-block-Optimize-__blkdev_issue_zeroout.patch
0004-block-Make-blkdev_issue_discard-submit-aligned-disca.patch
0005-brd-Split-bio-if-needed.patch
0006-brd-Accept-non-aligned-discard-requests-with-size-ze.patch

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

end of thread, other threads:[~2015-12-18 12:30 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-17 11:38 [PATCH v2 0/6] Make blkdev_issue_discard() submit aligned discard requests Bart Van Assche
2015-12-17 11:39 ` [PATCH 1/6] block: Introduce blk_round_sect_down() Bart Van Assche
2015-12-18 12:30   ` Christoph Hellwig
2015-12-17 11:40 ` [PATCH 2/6] block: Introduce bio_add_zero_pages() Bart Van Assche
2015-12-18 12:30   ` Christoph Hellwig
2015-12-17 11:41 ` [PATCH 3/6] block: Optimize __blkdev_issue_zeroout() Bart Van Assche
2015-12-17 14:18   ` Bart Van Assche
2015-12-17 11:41 ` [PATCH 4/6] block: Make blkdev_issue_discard() submit aligned discard requests Bart Van Assche
2015-12-17 11:42 ` [PATCH 5/6] brd: Split bio if needed Bart Van Assche
2015-12-17 11:43 ` [PATCH 6/6] brd: Accept non-aligned discard requests with size zero Bart Van Assche

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.