Re: [PATC] block: update queue limits atomically

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

 




On Tue, 18 Mar 2025, Bart Van Assche wrote:

> On 3/18/25 7:26 AM, Mikulas Patocka wrote:
> > The block limits may be read while they are being modified. The statement
> > "q->limits = *lim" is not really atomic. The compiler may turn it into
> > memcpy (clang does).
> 
> Which code reads block limits while these are being updated?

See my reply to Ming - 
https://lore.kernel.org/dm-devel/14dd4360-c846-43e3-86bc-b1e7448e5896@xxxxxxx/T/#m7e4e49fed1cbcb56954b880e54a5155c4089c0e0

> This should be mentioned in the patch description.
> 
> Bart.

Yes, I can add it there.

Mikulas





[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux