From: Christoph Hellwig Date: Thu, 12 Jun 2014 12:53:23 +0000 (+0200) Subject: fnic: reject device resets without assigned tags for the blk-mq case X-Git-Tag: omap-for-v3.17/fixes-against-rc2~143^2~80 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d63716898b5390900a802d889b279ade85f3dac;p=pandora-kernel.git fnic: reject device resets without assigned tags for the blk-mq case Current the midlayer fakes up a struct request for the explicit reset ioctls, and those don't have a tag allocated to them. The fnic driver pokes into midlayer structures to paper over this design issue, but that won't work for the blk-mq case. Either someone who can actually test the hardware will have to come up with a similar hack for the blk-mq case, or we'll have to bite the bullet and fix the way the EH ioctls work for real, but until that happens we fail these explicit requests here. Signed-off-by: Christoph Hellwig Reviewed-by: Martin K. Petersen Reviewed-by: Hannes Reinecke Reviewed-by: Webb Scales Acked-by: Jens Axboe Tested-by: Bart Van Assche Tested-by: Robert Elliott Cc: Hiral Patel Cc: Suma Ramars Cc: Brian Uchino --- Reading git-diff-tree failed