]> git.baikalelectronics.ru Git - kernel.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>
Tue, 7 Jan 2014 15:14:30 +0000 (10:14 -0500)
commit1fcb2dfe4ed64f49059146fb3208ecd7934e0a22
tree86cb09bf6a76217236469ec56b8f609f6141380f
parent7ae97dc2d95c21ce05a2241626f3b7cae08f23b5
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