From: Asai Thambi S P Date: Mon, 9 Apr 2012 06:35:39 +0000 (+0200) Subject: mtip32xx: fix handling of commands in various scenarios X-Git-Tag: v3.4-rc3~12^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c74b0f586fa3cbc92ca451836fd75ae7a3fa85ac;p=pandora-kernel.git mtip32xx: fix handling of commands in various scenarios * If a ncq command time out and a non-ncq command is active, skip restart port * Queue(pause) ncq commands during operations spanning more than one non-ncq commands - secure erase, download microcode * When a non-ncq command is active, allow incoming non-ncq commands to wait instead of failing back * Changed timeout for download microcode and smart commands * If the device in write protect mode, fail all writes (do not send to device) * Set maximum retries to 2 Signed-off-by: Asai Thambi S P Signed-off-by: Jens Axboe --- Reading git-diff-tree failed