diff options
author | Richard Yao <[email protected]> | 2015-09-07 12:35:21 -0400 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2015-09-09 14:30:47 -0700 |
commit | d4bf6d8429371634b0c6bcc14b5868d849b7c07d (patch) | |
tree | e49727247632bc36448f61186b6a76e88c79d2a4 /scripts/dkms.mkconf | |
parent | 4fa4cab972899ecf6266c23986159a109dbcac5b (diff) |
Disable direct reclaim in taskq worker threads on Linux 3.9+
Illumos does not have direct reclaim and code run inside taskq worker
threads is not designed to deal with it. Allowing direct reclaim inside
a worker thread can therefore deadlock. We set PF_MEMALLOC_NOIO through
memalloc_noio_save() to indicate to the kernel's reclaim code that we
are inside a context where memory allocations cannot be allowed to block
on filesystem activity.
Signed-off-by: Richard Yao <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Issue zfsonlinux/zfs#1274
Issue zfsonlinux/zfs#2390
Closes #474
Diffstat (limited to 'scripts/dkms.mkconf')
0 files changed, 0 insertions, 0 deletions