]> git.baikalelectronics.ru Git - kernel.git/commit
dm thin: add 'no_space_timeout' dm-thin-pool module param
authorMike Snitzer <snitzer@redhat.com>
Tue, 20 May 2014 17:38:33 +0000 (13:38 -0400)
committerMike Snitzer <snitzer@redhat.com>
Tue, 20 May 2014 18:30:36 +0000 (14:30 -0400)
commit35abc64aa5100f64731d1b8279b1841945a04151
treea9fbfe8a07238c317651a283c9bbf230d4002bb5
parent13b102f320714e57363f2152da67c79dec80c057
dm thin: add 'no_space_timeout' dm-thin-pool module param

Commit 7b679a52 ("dm thin: add timeout to stop out-of-data-space mode
holding IO forever") introduced a fixed 60 second timeout.  Users may
want to either disable or modify this timeout.

Allow the out-of-data-space timeout to be configured using the
'no_space_timeout' dm-thin-pool module param.  Setting it to 0 will
disable the timeout, resulting in IO being queued until more data space
is added to the thin-pool.

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Cc: stable@vger.kernel.org # 3.14+
Documentation/device-mapper/thin-provisioning.txt
drivers/md/dm-thin.c