[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [dm-devel] rqdm: bad usage of dm_get/dm_put (Was: Re: dm mpath: fix stall when requeueing io)
- From: Mikulas Patocka <mpatocka redhat com>
- To: Kiyoshi Ueda <k-ueda ct jp nec com>
- Cc: dm-devel redhat com, Alasdair G Kergon <agk redhat com>
- Subject: Re: [dm-devel] rqdm: bad usage of dm_get/dm_put (Was: Re: dm mpath: fix stall when requeueing io)
- Date: Wed, 24 Feb 2010 17:33:30 -0500 (EST)
> Indeed, we shouldn't use the current dm_put() in any interrupt-context.
> But the "mapped_device" can disappear in request-based dm while there
> is a request after all bios complete, so I used dm_get()/dm_put() there.
> I'll consider another way to prevent the problem without dm_get()/dm_put().
> E.g. wait for request completion in dm_put() instead.
How can a request-in-progress exists when all the bios complete and the
device is closed?
Mikulas
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]