Thread (17 messages) 17 messages, 3 authors, 2012-05-09

Re: [RFC 1/2] MD: raid5 trim support

From: Dan Williams <hidden>
Date: 2012-04-17 14:46:03

On Tue, Apr 17, 2012 at 1:35 AM, Shaohua Li [off-list ref] wrote:
Discard for raid4/5/6 has limitation. If discard request size is small, we do
discard for one disk, but we need calculate parity and write parity disk.  To
correctly calculate parity, zero_after_discard must be guaranteed.
I'm wondering if we could use the new bad blocks facility to mark
discarded ranges so we don't necessarily need determinate data after
discard.

...but I have not looked into it beyond that.

--
Dan
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help