[dm-devel] might_sleep warning in multipath_dtr

Alasdair G Kergon agk at redhat.com
Wed May 7 13:28:20 UTC 2008


On Wed, May 07, 2008 at 10:37:16AM +0200, Christof Schmitt wrote:
>     <4> [<000003e00008f79c>] multipath_dtr+0x38/0x50 [dm_multipath]
>     <4> [<000003e000077e4a>] dm_table_put+0xae/0x134 [dm_mod]
>     <4> [<000003e000076020>] dm_any_congested+0x50/0x88 [dm_mod]

> I don't know, if this exact situation is reproducible, but we have a
> memory dump that should have some more data.

Well I'm guessing dm_any_congested() ran alongside a table reload, such
that dm_any_congested() was still referencing the old table after
dm_swap_table() removed it.

IOW There needs to be better synchronisation between those two
functions.

Alasdair
-- 
agk at redhat.com




More information about the dm-devel mailing list