Thread (3 messages) 3 messages, 2 authors, 2014-06-04

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

From: NeilBrown <hidden>
Date: 2014-06-04 02:20:36

On Tue, 3 Jun 2014 14:18:53 -0700 Eivind Sarto [off-list ref] 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

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help