Re: deadlocks in rbd unmap and map

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jul 8, 2016 at 4:40 AM, Ilya Dryomov <idryomov@xxxxxxxxx> wrote:
> On Fri, Jul 8, 2016 at 3:28 AM, Patrick McLean <patrickm@xxxxxxxxxx> wrote:
>> This is on linus git master as of 2016/07/01
>>
>> These appear to be two separate deadlocks, one on a a map operation,
>> and one on an unmap operation. We can reproduce these pretty
>> regularly, but it seems like there is some sort of race condition, as
>> it happens no where near every time.
>>

>
> It's a single deadlock between "rbd map" and a kworker thread, a later
> "rbd unmap" is just a victim.
>
> Are you mapping the same image more than once?
>

We shouldn't be, there is a higher-level locking system that is
supposed to prevent that.

Thanks,
Patrick
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux