From: Keith Busch Date: Wed, 11 Jun 2014 17:51:35 +0000 (-0600) Subject: NVMe: Fix hot cpu notification dead lock X-Git-Tag: omap-for-v3.16/fixes-against-rc1~12^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f3db22feb5de6b98b7bae924c2d4b6c8d65bedae;p=pandora-kernel.git NVMe: Fix hot cpu notification dead lock There is a potential dead lock if a cpu event occurs during nvme probe since it registered with hot cpu notification. This fixes the race by having the module register with notification outside of probe rather than have each device register. The actual work is done in a scheduled work queue instead of in the notifier since assigning IO queues has the potential to block if the driver creates additional queues. Signed-off-by: Keith Busch Signed-off-by: Matthew Wilcox --- Reading git-diff-tree failed