From: Sebastian Ott Date: Mon, 7 Dec 2009 11:51:35 +0000 (+0100) Subject: [S390] cio: fix quiesce state X-Git-Tag: v2.6.33-rc1~349^2~50 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=56e6b796fe9b99287648fc5686aae00106b37bab;p=pandora-kernel.git [S390] cio: fix quiesce state DEV_STATE_QUIESCE is used to stop all IO on a busy subchannel. This patch fixes the following problems related to the QUIESCE state: * Fix a potential race condition which could occur when the resulting state was DEV_STATE_OFFLINE. * Add missing locking around cio_disable_subchannel, ccw_device_cancel_halt_clear and the cdev's handler. * Loop until we know for sure that the subchannel is disabled. Signed-off-by: Sebastian Ott Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed