Merge pull request #26212 from rhvgoyal/xfs-enospc
devmapper: Set xfs max_retries to 0 upon ENOSPC Upstream-commit: 0d03c060c7e6800e60833c4462b917ee9b081440 Component: engine
This commit is contained in:
@ -552,6 +552,22 @@ options for `zfs` start with `zfs` and options for `btrfs` start with `btrfs`.
|
||||
$ 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:
|
||||
|
||||
```bash
|
||||
$ dockerd --storage-opt dm.xfs_nospace_max_retries=0
|
||||
```
|
||||
|
||||
#### ZFS options
|
||||
|
||||
* `zfs.fsname`
|
||||
|
||||
Reference in New Issue
Block a user