From 1f015b1700227a95443b35d7372539c8426337f3 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Mon, 26 Sep 2016 15:08:23 +0200 Subject: [PATCH] Update man page for dm.xfs_nospace_max_retries This option was added through commit 0d03c060c7e6800e60833c4462b917ee9b081440, but didn't update the man page. Signed-off-by: Sebastiaan van Stijn --- man/dockerd.8.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/man/dockerd.8.md b/man/dockerd.8.md index a84cd76715..ecbc43c030 100644 --- a/man/dockerd.8.md +++ b/man/dockerd.8.md @@ -533,6 +533,21 @@ the issue. Example use:: `dockerd --storage-opt dm.min_free_space=10%` +#### dm.xfs_nospace_max_retries + +Specifies the maximum number of retries XFS should attempt to complete +IO when ENOSPC (no space) error is returned by underlying storage device. + +By default XFS retries infinitely for IO to finish and this can result +in unkillable process. To change this behavior one can set +xfs_nospace_max_retries to say 0 and XFS will not retry IO after getting +ENOSPC and will shutdown filesystem. + +Example use: + + $ sudo dockerd --storage-opt dm.xfs_nospace_max_retries=0 + + ## ZFS options #### zfs.fsname