Re: [patch 1/1] raid0: discard requests do not align to chunk boundary

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

 



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


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux