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)
commit80c578930ce77ba8bcfb226a184b482020bdda7b
treea9fbfe8a07238c317651a283c9bbf230d4002bb5
parent4cdd2ad78098244c1bc9ec4374ea1c225fd1cd6f
dm thin: add 'no_space_timeout' dm-thin-pool module param

Commit 85ad643b ("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