Messages in this thread | | | Date | Tue, 17 May 2011 17:27:42 +0200 | From | Tejun Heo <> | Subject | Re: [PATCH RESEND 2/3 v2.6.39-rc7] block: make disk_block_events() properly wait for work cancellation |
| |
Hello,
On Tue, May 17, 2011 at 08:15:38AM -0700, Linus Torvalds wrote: > Semantically what it is is a LOCK.
Okay, an outer mutex then.
> You want the locking for the whole "do I need to wait for the > completion" thing anyway, so why mess things up?
Spinlock inside mutex seemed a bit strange but yeah that probably is the simpliest way.
Thanks.
-- tejun
| |