Przeglądaj źródła

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 <github@gone.nl>
Sebastiaan van Stijn 8 lat temu
rodzic
commit
41c6083c34
1 zmienionych plików z 15 dodań i 0 usunięć
  1. 15 0
      man/dockerd.8.md

+ 15 - 0
man/dockerd.8.md

@@ -533,6 +533,21 @@ the issue.
 
 
 Example use:: `dockerd --storage-opt dm.min_free_space=10%`
 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 options
 
 
 #### zfs.fsname
 #### zfs.fsname