diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2020-06-09 17:49:24 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:08:41 -0400 |
commit | e38821f322d97ca1289bea704eed9d276f47c521 (patch) | |
tree | 4a6a9cf44ce89792e291b52a47ac13a9c4100630 /fs/bcachefs/alloc_types.h | |
parent | 966885ee409d128e2561e4c3546f4187ee173389 (diff) |
bcachefs: Don't allocate memory under the btree cache lock
The btree cache lock is needed for reclaiming from the btree node cache,
and memory allocation can potentially spin and sleep (for 100 ms at a
time), so.. don't do that.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/alloc_types.h')
0 files changed, 0 insertions, 0 deletions