]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Fri, 20 Dec 2013 23:15:17 +0000 (18:15 -0500)
commit4c9aa0856f8f0ca7edd7b247cdfef348f39cf1ba
tree7adb05bb54fbf927d1bafb7ee8a2a79c8c681416
parentc0e5e2b40e11a068047830c3f5e9df612bc126b3
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