Re: dm table: Remove BUG_ON(in_interrupt())

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

 



On Fri, Nov 13 2020 at  9:19am -0500,
Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx> wrote:

> From: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> 
> The BUG_ON(in_interrupt()) in dm_table_event() is a historic leftover from
> a rework of the dm table code which changed the calling context.
> 
> Issuing a BUG for a wrong calling context is frowned upon and
> in_interrupt() is deprecated and only covering parts of the wrong
> contexts. The sanity check for the context is covered by
> CONFIG_DEBUG_ATOMIC_SLEEP and other debug facilities already.
> 
> Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx>
> Cc: dm-devel@xxxxxxxxxx
> Cc: Mike Snitzer <snitzer@xxxxxxxxxx>
> Cc: Alasdair Kergon <agk@xxxxxxxxxx>

I picked this up for 5.11, thanks.

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel




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

  Powered by Linux