From: Joe Thornber Date: Fri, 9 May 2014 14:59:38 +0000 (+0100) Subject: dm thin: add timeout to stop out-of-data-space mode holding IO forever X-Git-Tag: omap-for-v3.16/fixes-against-rc1~175^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85ad643b7e7e52d37620fb272a9fd577a8095647;p=pandora-kernel.git dm thin: add timeout to stop out-of-data-space mode holding IO forever If the pool runs out of data space, dm-thin can be configured to either error IOs that would trigger provisioning, or hold those IOs until the pool is resized. Unfortunately, holding IOs until the pool is resized can result in a cascade of tasks hitting the hung_task_timeout, which may render the system unavailable. Add a fixed timeout so IOs can only be held for a maximum of 60 seconds. If LVM is going to resize a thin-pool that is out of data space it needs to be prompt about it. Signed-off-by: Joe Thornber Signed-off-by: Mike Snitzer Cc: stable@vger.kernel.org # 3.14+ --- Reading git-diff-tree failed