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

[PATCH 1/1] md: Do only necessary operations when adding device to RO array

2014-05-30 Thread Baldysiak, Pawel
Commit 8313b8e57f55b15e5b7f7fc5d1630bbf686a9a97 changed way of adding device to read-only array. Used routine md_reap_sync_thread() which also trigger finish_reshape(), can break reshape process, if it was restarted. This part of function should do only necessary operations, that is: 1) call ->spar

RE: [PATCH 1/1] md: Do only necessary operations when adding device to RO array

2014-06-03 Thread Baldysiak, Pawel
> On Monday, June 02, 2014 4:34 AM NeilBrown Wrote: > To: Baldysiak, Pawel > Cc: linux-r...@vger.kernel.org; linux-kernel@vger.kernel.org; Paszkiewicz, > Artur > Subject: Re: [PATCH 1/1] md: Do only necessary operations when adding > device to RO array > > On Fri, 30