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

Philipp Reisner philipp.reisner at linbit.com
Mon Jan 24 15:29:24 CET 2005


Am Montag, 24. Januar 2005 11:28 schrieb Lars Marowsky-Bree:
> 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.
>

This is true.

> I'm not sure that's easily fixed.
>

What ?

-Philipp
-- 
: Dipl-Ing Philipp Reisner                      Tel +43-1-8178292-50 :
: LINBIT Information Technologies GmbH          Fax +43-1-8178292-82 :
: Schönbrunnerstr 244, 1120 Vienna, Austria    http://www.linbit.com :


More information about the drbd-dev mailing list