| commit | 0790bec522903af7ee7281721e037bee2e8c6284 | [log] [tgz] |
|---|---|---|
| author | David Howells <dhowells@redhat.com> | Thu Oct 14 12:01:23 2021 +0100 |
| committer | David Howells <dhowells@redhat.com> | Mon Oct 18 15:43:57 2021 +0100 |
| tree | 0d1b3892bec5bcf1f986a7f665da580d35068804 | |
| parent | 1ef6988c01f3e66a9fe5ec3194cf7d9cd7f08ac6 [diff] |
cachefiles: Add error injection support Add support for injecting ENOSPC or EIO errors. This needs to be enabled by CONFIG_CACHEFILES_ERROR_INJECTION=y. Once enabled, ENOSPC on things like write and mkdir can be triggered by: echo 1 >/proc/sys/cachefiles/error_injection and EIO can be triggered on most operations by: echo 2 >/proc/sys/cachefiles/error_injection Signed-off-by: David Howells <dhowells@redhat.com>