Oops. This one. -eivind
Attachment:
raid0_discard_requests_do_not_align_to_chunk_boundary.patch
Description: Binary data
On Jun 3, 2014, at 7:20 PM, NeilBrown <neilb@xxxxxxx> wrote: > On Tue, 3 Jun 2014 14:18:53 -0700 Eivind Sarto <eivindsarto@xxxxxxxxx> wrote: > >> Raid0 only sets max_discard_sectors, but does not force alignment of discard requests. Discard request >> will be broken up into chunk-sized REQ_DISCARD by blkdev_issue_discard(), but if the sector is not >> chunk-aligned, each REQ_DISCARD to raid0 will all remain unaligned and raid0 will ned to split them all. >> >> This patch will prevent splitting of REQ_DISCARD requests. >> >> -eivind > > Which patch would that be, exactly. :-) > > NeilBrown