diff options
author | Hans Holmberg <Hans.Holmberg@wdc.com> | 2025-09-01 10:52:05 +0000 |
---|---|---|
committer | Carlos Maiolino <cem@kernel.org> | 2025-09-16 12:30:41 +0200 |
commit | 0301dae732a5402a68fdb8d8461b97da6b9bccc6 (patch) | |
tree | 817ed006dd1b22a74141c553c03ae908f2122174 /net/unix/af_unix.c | |
parent | 94deac977fbd0246c971b4f1d17a6385f5e0b1a4 (diff) |
xfs: refactor hint based zone allocation
Replace the co-location code with a matrix that makes it more clear
on how the decisions are made.
The matrix contains scores for zone/file hint combinations. A "GOOD"
score for an open zone will result in immediate co-location while "OK"
combinations will only be picked if we cannot open a new zone.
Signed-off-by: Hans Holmberg <hans.holmberg@wdc.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions