This series makes the zone allocation policy a bit easier to understand and adjusts the policy for unset and "none" rw hints, avoiding mixing these with files with file data with set values. The first patch adds an enum for the number of hints available, the second introduces allocation matrix without changing the policy, and rhe third adjusts the allocation policy. Hans Holmberg (3): fs: add an enum for number of life time hints xfs: refactor hint based zone allocation xfs: adjust the hint based zone allocation policy fs/xfs/xfs_zone_alloc.c | 116 +++++++++++++++++++--------------------- include/linux/rw_hint.h | 1 + 2 files changed, 57 insertions(+), 60 deletions(-) -- 2.34.1