summaryrefslogtreecommitdiff
path: root/fs/smb/server/mgmt/user_config.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2025-09-04 15:58:14 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2025-09-04 16:05:11 -0400
commite8b7f8be92cc504f4300968d4e603d7c50e5e198 (patch)
tree62e94c7ae0cfca99875ca652bd5796de0c527bde /fs/smb/server/mgmt/user_config.h
parent7b77d211b20be5444dd10b8fdb202fac0b770734 (diff)
bcachefs: Avoid stranding on btree_reserve_cacheHEADmaster
We have to carefull with the btree_reserve_cache so that it can't be used to bypass watermarks - but there's a much easier and better way to do that. Instead of trying to duplicate the allocator code to check "can we do this allocation or does it have to wait", call that first, and then after it succeeds check if we have a node in the btree reserve cache we can use instead - we don't have to consume from alloc_sectors_start_transn(). Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/smb/server/mgmt/user_config.h')
0 files changed, 0 insertions, 0 deletions