aboutsummaryrefslogtreecommitdiffstats
path: root/lib/libzpool
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2017-03-23 18:26:50 -0700
committerGitHub <[email protected]>2017-03-23 18:26:50 -0700
commit8d703987407acfcbd992ba4a7926f2d76ca3779c (patch)
treec6f5f253f82729138ee0d8b26f7fd564ce7155d6 /lib/libzpool
parentb25c5b0639e0d2281ccbd3b5766762dc3bebfc02 (diff)
Retry zfs_znode_alloc() in zfs_mknode()
For historical reasons zfs_mknode() was written such that it could never fail. This poses a problem for Linux since zfs_znode_alloc() could potentually failure due to low memory. Handle this gracefully by retrying zfs_znode_alloc() until it succeeds, direct reclaim will eventually be able to allocate memory. Reviewed-by: George Melikov <[email protected]> Reviewed-by: loli10K <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #5535 Closes #5908
Diffstat (limited to 'lib/libzpool')
0 files changed, 0 insertions, 0 deletions