[PATCH RESEND block#for-2.6.36] block_dev: always serialize exclusive open attempts

2010-08-05 Thread Jens Axboe
On 2010-08-05 11:17, Markus Trippelsdorf wrote: > On Thu, Aug 05, 2010 at 11:02:43AM +0200, Jens Axboe wrote: >> On 2010-08-04 17:59, Tejun Heo wrote: >>> bd_prepare_to_claim() incorrectly allowed multiple attempts for >>> exclusive open to progress in parallel if the attempting holders are >>> ide

[PATCH RESEND block#for-2.6.36] block_dev: always serialize exclusive open attempts

2010-08-05 Thread Markus Trippelsdorf
On Thu, Aug 05, 2010 at 11:02:43AM +0200, Jens Axboe wrote: > On 2010-08-04 17:59, Tejun Heo wrote: > > bd_prepare_to_claim() incorrectly allowed multiple attempts for > > exclusive open to progress in parallel if the attempting holders are > > identical. This triggered BUG_ON() as reported in the

[PATCH RESEND block#for-2.6.36] block_dev: always serialize exclusive open attempts

2010-08-05 Thread Jens Axboe
On 2010-08-04 17:59, Tejun Heo wrote: > bd_prepare_to_claim() incorrectly allowed multiple attempts for > exclusive open to progress in parallel if the attempting holders are > identical. This triggered BUG_ON() as reported in the following bug. > > https://bugzilla.kernel.org/show_bug.cgi?id=1

Re: [PATCH RESEND block#for-2.6.36] block_dev: always serialize exclusive open attempts

2010-08-05 Thread Markus Trippelsdorf
On Thu, Aug 05, 2010 at 11:02:43AM +0200, Jens Axboe wrote: > On 2010-08-04 17:59, Tejun Heo wrote: > > bd_prepare_to_claim() incorrectly allowed multiple attempts for > > exclusive open to progress in parallel if the attempting holders are > > identical. This triggered BUG_ON() as reported in the

Re: [PATCH RESEND block#for-2.6.36] block_dev: always serialize exclusive open attempts

2010-08-05 Thread Jens Axboe
On 2010-08-05 11:17, Markus Trippelsdorf wrote: > On Thu, Aug 05, 2010 at 11:02:43AM +0200, Jens Axboe wrote: >> On 2010-08-04 17:59, Tejun Heo wrote: >>> bd_prepare_to_claim() incorrectly allowed multiple attempts for >>> exclusive open to progress in parallel if the attempting holders are >>> ide

Re: [PATCH RESEND block#for-2.6.36] block_dev: always serialize exclusive open attempts

2010-08-05 Thread Jens Axboe
On 2010-08-04 17:59, Tejun Heo wrote: > bd_prepare_to_claim() incorrectly allowed multiple attempts for > exclusive open to progress in parallel if the attempting holders are > identical. This triggered BUG_ON() as reported in the following bug. > > https://bugzilla.kernel.org/show_bug.cgi?id=1

[PATCH RESEND block#for-2.6.36] block_dev: always serialize exclusive open attempts

2010-08-04 Thread Tejun Heo
bd_prepare_to_claim() incorrectly allowed multiple attempts for exclusive open to progress in parallel if the attempting holders are identical. This triggered BUG_ON() as reported in the following bug. https://bugzilla.kernel.org/show_bug.cgi?id=16393 __bd_abort_claiming() is used to finish cl

[PATCH RESEND block#for-2.6.36] block_dev: always serialize exclusive open attempts

2010-08-04 Thread Tejun Heo
bd_prepare_to_claim() incorrectly allowed multiple attempts for exclusive open to progress in parallel if the attempting holders are identical. This triggered BUG_ON() as reported in the following bug. https://bugzilla.kernel.org/show_bug.cgi?id=16393 __bd_abort_claiming() is used to finish cl