diff options
author | Mike Snitzer <snitzer@redhat.com> | 2013-12-06 22:21:43 +0100 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2014-01-07 16:14:30 +0100 |
commit | 787a996cb251e20f560e1615cd85693562541a7a (patch) | |
tree | 86cb09bf6a76217236469ec56b8f609f6141380f /Documentation/device-mapper | |
parent | dm thin: requeue bios to DM core if no_free_space and in read-only mode (diff) | |
download | linux-787a996cb251e20f560e1615cd85693562541a7a.tar.xz linux-787a996cb251e20f560e1615cd85693562541a7a.zip |
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>
Diffstat (limited to 'Documentation/device-mapper')
-rw-r--r-- | Documentation/device-mapper/thin-provisioning.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/device-mapper/thin-provisioning.txt b/Documentation/device-mapper/thin-provisioning.txt index 50c44cf79b0e..8a7a3d46e0da 100644 --- a/Documentation/device-mapper/thin-provisioning.txt +++ b/Documentation/device-mapper/thin-provisioning.txt @@ -235,6 +235,8 @@ i) Constructor read_only: Don't allow any changes to be made to the pool metadata. + error_if_no_space: Error IOs, instead of queueing, if no space. + Data block size must be between 64KB (128 sectors) and 1GB (2097152 sectors) inclusive. @@ -276,6 +278,11 @@ ii) Status contain the string 'Fail'. The userspace recovery tools should then be used. + error_if_no_space|queue_if_no_space + If the pool runs out of data or metadata space, the pool will + either queue or error the IO destined to the data device. The + default is to queue the IO until more space is added. + iii) Messages create_thin <dev id> |