[Drbd-dev] [RFC PATCH] block: move rb interval tree from drbd to block

Christoph Hellwig hch at infradead.org
Tue Nov 12 15:50:43 CET 2019


On Tue, Nov 12, 2019 at 10:01:39AM +0100, jgq516 at gmail.com wrote:
> From: Guoqing Jiang <guoqing.jiang at cloud.ionos.com>
> 
> Currently, drbd has the implementation of rb interval tree.
> And we would like to reuse it for raid1 io serialization [1],
> so move it to a common place, rename to block_interval, export
> those symbols and make necessary changes to drbd.

This should not be built unconditonally, but be selected by the two
users.  And lib/ seems like a better place than block.

Also please fix up any > 80 char lines that your naming changes
introduce.


More information about the drbd-dev mailing list