From: Stefan Weinhuber Date: Mon, 9 Aug 2010 16:12:59 +0000 (+0200) Subject: [S390] dasd: allocate fallback cqr for reserve/release X-Git-Tag: v2.6.36-rc1~296^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f932bcea6b7317312ab38df12a84710fc6c67a81;p=pandora-kernel.git [S390] dasd: allocate fallback cqr for reserve/release The DASD reserve and release ioctls use the preallocated memory pool of the respective device to build their CCW requests. However, when the device is busy, the pool may already be empty and the ioctl fails. Usually this can be recovered by calling the ioctl again, but in a situation in which we need to issue an unconditional reserve to make a device operational again, this would be not recoverable. To avoid a failure due to lack of memory, DASD device driver will preallocate enough memory for a single reserve/release request, which can be used if normal allocation fails. Signed-off-by: Stefan Weinhuber Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed