lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <571E393E.1010003@sandisk.com>
Date:	Mon, 25 Apr 2016 08:35:26 -0700
From:	Bart Van Assche <bart.vanassche@...disk.com>
To:	Philipp Reisner <philipp.reisner@...bit.com>,
	Jens Axboe <axboe@...com>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
CC:	"drbd-dev@...ts.linbit.com" <drbd-dev@...ts.linbit.com>
Subject: Re: [Drbd-dev] [PATCH 05/30] drbd: Introduce new disk config option
 rs-discard-granularity

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 the range
> on disk.

Hello Phil,

Can you explain why rs-discard-granularity is configurable instead of 
e.g. setting it to the least common multiple of the discard 
granularities of the underlying block devices at both sides?

Thanks,

Bart.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ