diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2023-07-18 11:43:21 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2023-07-18 11:43:21 -0400 |
commit | 815798e1eea7fc8dacd5acab40202ec4d251d517 (patch) | |
tree | 8a9ba346285d7443732a03e5a3985b56cca6e7d1 /src/sanity.h | |
parent | eb466474e7b5ab79bbeccb2d99bb7b1cfc57af5f (diff) | |
download | bfs-815798e1eea7fc8dacd5acab40202ec4d251d517.tar.xz |
bftw: Add a queue of directories to unwrap
For !BFS_USE_UNWRAPDIR, if a file is still pinned in bftw_closedir(), it
has to stay open until its pincount drops to zero. Since this happens
in bftw_ioq_pop(), we can't immediately call bftw_unwrapdir() as that
adds to the ioq. Instead, add it to a list that gets drained by the
next bftw_gc().
Diffstat (limited to 'src/sanity.h')
0 files changed, 0 insertions, 0 deletions