Re: [PATCH] raid0: Set discard_granularity to correct value after reshape.

2013-11-06 Thread NeilBrown
On Tue, 5 Nov 2013 14:25:19 + "Baldysiak, Pawel" wrote: > On Thursday, October 31, 2013 1:16 AM NeilBrown wrote: > > On Wed, 30 Oct 2013 13:20:22 +0100 Pawel Baldysiak > > wrote: > > > > > In case of reshape of raid0 through raid4 a value of > > > discard_granularity will be set to stripe

RE: [PATCH] raid0: Set discard_granularity to correct value after reshape.

2013-11-05 Thread Baldysiak, Pawel
On Thursday, October 31, 2013 1:16 AM NeilBrown wrote: > On Wed, 30 Oct 2013 13:20:22 +0100 Pawel Baldysiak > wrote: > > > In case of reshape of raid0 through raid4 a value of > > discard_granularity will be set to stripe size. MD driver should > > re-set this value to correct one when migration

Re: [PATCH] raid0: Set discard_granularity to correct value after reshape.

2013-10-30 Thread NeilBrown
On Wed, 30 Oct 2013 13:20:22 +0100 Pawel Baldysiak wrote: > In case of reshape of raid0 through raid4 a value of discard_granularity > will be set to stripe size. MD driver should re-set this value to correct > one when migration will be finished. Otherwise array will be left with > wrong value a

[PATCH] raid0: Set discard_granularity to correct value after reshape.

2013-10-30 Thread Pawel Baldysiak
In case of reshape of raid0 through raid4 a value of discard_granularity will be set to stripe size. MD driver should re-set this value to correct one when migration will be finished. Otherwise array will be left with wrong value and discard operations will not work properly. Signed-off-by: Pawel