summaryrefslogtreecommitdiffstats
path: root/tests/gnu/path_d.sh
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2024-02-01 09:38:11 -0500
committerTavian Barnes <tavianator@tavianator.com>2024-02-01 12:44:58 -0500
commit76ffc8d30cb1160d55d855d8ac630a2b9075fbcf (patch)
treeab85ecbbc836be7bedf75774eebdca584953bce6 /tests/gnu/path_d.sh
parentbb060c513214aec07993946764180c17106b4344 (diff)
downloadbfs-76ffc8d30cb1160d55d855d8ac630a2b9075fbcf.tar.xz
bftw: Allow forcing bfs_dir allocation from the main thread
When sorting, we can be forced to pop an unopened directory. If enough other directories are already open, that can lead to ENOMEM when we try to open it synchronously. To avoid this, force allocations from the main thread to be attempted even if they would go over the limit. Also, fix the accounting in bftw_allocdir() if allocation fails.
Diffstat (limited to 'tests/gnu/path_d.sh')
0 files changed, 0 insertions, 0 deletions