[Drbd-dev] Re: drbd uses wrong API for struct bio

Lars Marowsky-Bree lmb at suse.de
Mon Jan 24 11:28:52 CET 2005


On 2005-01-24T11:23:10, Jens Axboe <axboe at suse.de> wrote:

> Yes, that is what would be nice to fix :-)
> 
> Make drbd_ee_init() just init the bastard, and add the page in
> prepare().

In theory you're right, but drbd seems to use this as a cache and
allocate the page just once, but fills it with different data of
different sizes over time, or at least that's what it looks like.

I'm not sure that's easily fixed.

I wish lge wasn't hiding in New Zealand ;-)


Sincerely,
    Lars Marowsky-Brée <lmb at suse.de>

-- 
High Availability & Clustering
SUSE Labs, Research and Development
SUSE LINUX Products GmbH - A Novell Business



More information about the drbd-dev mailing list