Re: [PATCH v3] block/loop: Serialize ioctl operations.

From: Tetsuo Handa
Date: Tue Jun 26 2018 - 10:35:12 EST


Did you get any idea?

On 2018/06/05 3:13, Jens Axboe wrote:
> On 6/4/18 5:19 AM, Tetsuo Handa wrote:
>> This problem was already ignored for 8 months. Unless we boost priority,
>> this problem will be ignored for years. Jens, can we test this patch?
>
> Sorry, it's just that I _really_ hate this patch. We're making up
> a weird locking primitive that tracks the process, with a weird
> unlock helper that only unlocks if it's the process that is
> holding the mutex.
>
> I'll try and think about this a bit, it would be nice if we had
> a better alternative than the above.
>