]> 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)
commit0381da3446273dfe74369bc5edead89b8446c69a
tree86cb09bf6a76217236469ec56b8f609f6141380f
parenta9120b8c747c9fd410c1ffcdc0c1fc2e06d68b60
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