linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch 1/1] raid0: discard requests do not align to chunk boundary
@ 2014-06-03 21:18 Eivind Sarto
  2014-06-04  2:20 ` NeilBrown
  0 siblings, 1 reply; 3+ messages in thread
From: Eivind Sarto @ 2014-06-03 21:18 UTC (permalink / raw)
  To: NeilBrown; +Cc: linux-raid

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-06-04  4:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-03 21:18 [patch 1/1] raid0: discard requests do not align to chunk boundary Eivind Sarto
2014-06-04  2:20 ` NeilBrown
2014-06-04  4:51   ` Eivind Sarto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).