[Drbd-dev] DRBD8:Panics in lc_find due to null lcafterScsiMEDIUM_ERROR I.O error.

Philipp Reisner philipp.reisner at linbit.com
Wed Feb 7 13:59:53 CET 2007


Am Samstag, 3. Februar 2007 00:27 schrieb Montrose, Ernest:
>  Phil,
> The one spot that was missed is in this patch.  I looked around for
> other places but I am
> Still not that everything is covered.

Hi Ernest,

I decided for a different patch:
http://lists.linbit.com/pipermail/drbd-cvs/2007-February/001460.html

Clearing the bit in the bitmap is valid in this case, we only
must not call drbd_try_clear_on_disk_bm(), since that function
in turn uses mdev->resync. 

The second reason is that there are more calls to the drbd_set_in_sync()
function than to the drbd_try_clear_on_disk_bm(). We would need
to protect each and every call to drbd_set_in_sync()...

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


More information about the drbd-dev mailing list