Re: [PATCH] block: save irq state in blkg_lookup_create()

2018-12-19 Thread Dennis Zhou
On Thu, Dec 20, 2018 at 12:29:15AM +0800, Ming Lei wrote: > blkg_lookup_create() may be called from pool_map() in which > irq state is saved, so we have to do that in blkg_lookup_create(). > > Otherwise, the following lockdep warning can be triggered: > > [ 104.258537] ==

Re: [PATCH] block: save irq state in blkg_lookup_create()

2018-12-19 Thread Jens Axboe
On 12/19/18 9:29 AM, Ming Lei wrote: > blkg_lookup_create() may be called from pool_map() in which > irq state is saved, so we have to do that in blkg_lookup_create(). > > Otherwise, the following lockdep warning can be triggered: > > [ 104.258537] > [ 104.25912

[PATCH] block: save irq state in blkg_lookup_create()

2018-12-19 Thread Ming Lei
blkg_lookup_create() may be called from pool_map() in which irq state is saved, so we have to do that in blkg_lookup_create(). Otherwise, the following lockdep warning can be triggered: [ 104.258537] [ 104.259129] WARNING: inconsistent lock state [ 104.259725]