svn commit by phil - r1985 - branches/drbd-0.7/drbd - Fixed a self made SMP lockup; showing up in drbd_al_com
Quoted 9 lines · On 2005-10-17T15:40:12, [email protected] wrote:
Author: phil
Date: 2005-10-17 15:40:11 +0200 (Mon, 17 Oct 2005) New Revision: 1985Modified:
branches/drbd-0.7/drbd/drbd_bitmap.c
Log:
Fixed a self made SMP lockup; showing up indrbd_al_complete_io()
Quoted 5 lines
With drbd-0.7.12 we moved the
al_lockbefore thebm_clear_bit()in__drbd_set_in_sync(). That by itself is okay, but inbm_clear_bit()we used the spin_[un]lock_irq() functions, therefore reenabling interrupts...
This is fixed now.
Hi Philipp, how critical is this bug, and how likely is it that it will be hit in practice?
Sincerely,
Lars Marowsky-Brée <[email protected]>
Signature · 4 lines
High Availability & Clustering SUSE Labs, Research and Development SUSE LINUX Products GmbH - A Novell Business -- Charles Darwin "Ignorance more frequently begets confidence than does knowledge"
Lars Ellenberg
maintainer/ 2005-10-17 15:43:49 +0200
\ Lars Marowsky-Bree:
Quoted 11 lines · On 2005-10-17T15:40:12, [email protected] wrote:
Quoted 10 lines
Author: phil
Date: 2005-10-17 15:40:11 +0200 (Mon, 17 Oct 2005) New Revision: 1985Modified:
branches/drbd-0.7/drbd/drbd_bitmap.c
Log:
Fixed a self made SMP lockup; showing up indrbd_al_complete_io()
Quoted 8 lines
Quoted 5 lines
With drbd-0.7.12 we moved the
al_lockbefore thebm_clear_bit()in__drbd_set_in_sync(). That by itself is okay, but inbm_clear_bit()we used the spin_[un]lock_irq() functions, therefore reenabling interrupts...
This is fixed now.Hi Philipp, how critical is this bug, and how likely is it that it will be hit in practice?
depending on the actual timing...
once we started looking for it, we could reproduce it on our test cluster within minutes. it occurs on Primary/SyncSource which is the typical case.
it will be hit. rating is CRITICAL (for smp).
there will be a 0.7.14 today, latest tomorrow, including this fix, and the fix for not notifying the peer about "io-error on read".
Signature · 3 lines
: Lars Ellenberg Tel +43-1-8178292-0 : : LINBIT Information Technologies GmbH Fax +43-1-8178292-82 : : Schoenbrunner Str. 244, A-1120 Vienna/Europe http://www.linbit.com :
Quoted 4 lines · Lars Ellenberg
it will be hit. rating is CRITICAL (for smp).
there will be a 0.7.14 today, latest tomorrow, including this fix, and the fix for not notifying the peer about "io-error on read".
Great, thank you. I'll pull that into SLES9 then.
Sincerely,
Lars Marowsky-Brée <[email protected]>
Signature · 4 lines
High Availability & Clustering SUSE Labs, Research and Development SUSE LINUX Products GmbH - A Novell Business -- Charles Darwin "Ignorance more frequently begets confidence than does knowledge"
Lars Ellenberg
maintainer/ 2005-10-17 15:57:49 +0200
\ Lars Marowsky-Bree:
Quoted 8 lines · Lars Ellenberg
Quoted 5 lines
it will be hit. rating is CRITICAL (for smp).
there will be a 0.7.14 today, latest tomorrow, including this fix, and the fix for not notifying the peer about "io-error on read".
Great, thank you. I'll pull that into SLES9 then.
besser is das.
it is a race, and it will only trigger if you have seriously high application io load during drbd resync on a Primary/SyncSource.
But yes, SLES9 SMP systems probably will match that description most of the time, and if you then reconnect the secondary after some downtime ...
Signature · 3 lines
: Lars Ellenberg Tel +43-1-8178292-0 : : LINBIT Information Technologies GmbH Fax +43-1-8178292-82 : : Schoenbrunner Str. 244, A-1120 Vienna/Europe http://www.linbit.com :