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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 11 Jun 2014 18:54:10 +0000 (11:54 -0700)
commit2936b8269a855dde813ab8488e74f738d905a433
tree283e9c5352f5c1c50b3a4e33db875641c023b5e3
parentf435c42d8c7e2b61805615380b0f8710b52620ae
dm thin: add 'no_space_timeout' dm-thin-pool module param

commit 80c578930ce77ba8bcfb226a184b482020bdda7b upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/device-mapper/thin-provisioning.txt
drivers/md/dm-thin.c