[PATCH 05/30] drbd: Introduce new disk config option rs-discard-granularity

2016-06-13 Thread Philipp Reisner
As long as the value is 0 the feature is disabled. With setting it to a positive value, DRBD limits and aligns its resync requests to the rs-discard-granularity setting. If the sync source detects all zeros in such a block, the resync target discards the range on disk. Signed-off-by: Philipp Reisn

[PATCH 05/30] drbd: Introduce new disk config option rs-discard-granularity

2016-06-13 Thread Philipp Reisner
As long as the value is 0 the feature is disabled. With setting it to a positive value, DRBD limits and aligns its resync requests to the rs-discard-granularity setting. If the sync source detects all zeros in such a block, the resync target discards the range on disk. Signed-off-by: Philipp Reisn

[PATCH 05/30] drbd: Introduce new disk config option rs-discard-granularity

2016-04-25 Thread Lars Ellenberg
On Mon, Apr 25, 2016 at 02:49:11PM -0500, Philipp Reisner wrote: > Am Montag, 25. April 2016, 11:48:30 schrieb Bart Van Assche: > > On 04/25/2016 09:42 AM, Philipp Reisner wrote: > > > Am Montag, 25. April 2016, 08:35:26 schrieb Bart Van Assche: > > >> On 04/25/2016 05:10 AM, Philipp Reisner wrote:

Re: [Drbd-dev] [PATCH 05/30] drbd: Introduce new disk config option rs-discard-granularity

2016-04-25 Thread Philipp Reisner
Am Montag, 25. April 2016, 11:48:30 schrieb Bart Van Assche: > On 04/25/2016 09:42 AM, Philipp Reisner wrote: > > Am Montag, 25. April 2016, 08:35:26 schrieb Bart Van Assche: > >> On 04/25/2016 05:10 AM, Philipp Reisner wrote: > >>> As long as the value is 0 the feature is disabled. With setting >

Re: [Drbd-dev] [PATCH 05/30] drbd: Introduce new disk config option rs-discard-granularity

2016-04-25 Thread Bart Van Assche
On 04/25/2016 09:42 AM, Philipp Reisner wrote: Am Montag, 25. April 2016, 08:35:26 schrieb Bart Van Assche: On 04/25/2016 05:10 AM, Philipp Reisner wrote: As long as the value is 0 the feature is disabled. With setting it to a positive value, DRBD limits and aligns its resync requests to the rs

Re: [Drbd-dev] [PATCH 05/30] drbd: Introduce new disk config option rs-discard-granularity

2016-04-25 Thread Philipp Reisner
Am Montag, 25. April 2016, 08:35:26 schrieb Bart Van Assche: > On 04/25/2016 05:10 AM, Philipp Reisner wrote: > > As long as the value is 0 the feature is disabled. With setting > > it to a positive value, DRBD limits and aligns its resync requests > > to the rs-discard-granularity setting. If the

Re: [Drbd-dev] [PATCH 05/30] drbd: Introduce new disk config option rs-discard-granularity

2016-04-25 Thread Bart Van Assche
On 04/25/2016 05:10 AM, Philipp Reisner wrote: As long as the value is 0 the feature is disabled. With setting it to a positive value, DRBD limits and aligns its resync requests to the rs-discard-granularity setting. If the sync source detects all zeros in such a block, the resync target discards

[PATCH 05/30] drbd: Introduce new disk config option rs-discard-granularity

2016-04-25 Thread Philipp Reisner
As long as the value is 0 the feature is disabled. With setting it to a positive value, DRBD limits and aligns its resync requests to the rs-discard-granularity setting. If the sync source detects all zeros in such a block, the resync target discards the range on disk. Signed-off-by: Philipp Reisn