[PATCH v3 0/5] Make blkdev_issue_discard() submit aligned discard requests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 v2:
- Reordered patches to make this series bisectable.
- Fixed two checkpatch warnings.

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-brd-Split-bio-if-needed.patch
0004-brd-Accept-non-aligned-discard-requests-with-size-ze.patch
0005-block-Make-blkdev_issue_discard-submit-aligned-disca.patch
--
To unsubscribe from this list: send the line "unsubscribe linux-block" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux