aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorJoe Thornber <ejt@redhat.com>2014-05-09 15:59:38 +0100
committerShow Liu <show.liu@linaro.org>2014-06-18 12:05:06 +0800
commit52cb1f39adb5e90816d50f29b03604958391174e (patch)
tree9cfb155e1115e954483900563d7680e0b84f5e89 /include/linux
parent4ace18141da025e6792e4e43be941255ddc8e731 (diff)
dm thin: add timeout to stop out-of-data-space mode holding IO forever
commit 85ad643b7e7e52d37620fb272a9fd577a8095647 upstream. 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 <ejt@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions