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

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

 



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--
To unsubscribe from this list: send the line "unsubscribe linux-raid" 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 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