dm thin: add error_if_no_space feature
authorMike Snitzer <snitzer@redhat.com>
Fri, 6 Dec 2013 21:21:43 +0000 (16:21 -0500)
committerMike Snitzer <snitzer@redhat.com>
Tue, 7 Jan 2014 15:14:30 +0000 (10:14 -0500)
commit787a996cb251e20f560e1615cd85693562541a7a
tree86cb09bf6a76217236469ec56b8f609f6141380f
parent8c0f0e8c9f07e6554b2281f86f00e769cf805fd9
dm thin: add error_if_no_space feature

If the pool runs out of data or metadata space, the pool can either
queue or error the IO destined to the data device.  The default is to
queue the IO until more space is added.

An admin may now configure the pool to error IO when no space is
available by setting the 'error_if_no_space' feature when loading the
thin-pool table.

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Acked-by: Joe Thornber <ejt@redhat.com>
Documentation/device-mapper/thin-provisioning.txt
drivers/md/dm-thin.c