]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
fs: add an enum for number of life time hints
authorHans Holmberg <Hans.Holmberg@wdc.com>
Mon, 1 Sep 2025 10:52:04 +0000 (10:52 +0000)
committerCarlos Maiolino <cem@kernel.org>
Tue, 16 Sep 2025 10:30:41 +0000 (12:30 +0200)
commit94deac977fbd0246c971b4f1d17a6385f5e0b1a4
tree30a233e20ccf49b162ff32b5a7272f7dab19c600
parente747883c7d7306acb4d683038d881528fbfbe749
fs: add an enum for number of life time hints

Add WRITE_LIFE_HINT_NR into the rw_hint enum to define the number of
values write life time hints can be set to. This is useful for e.g.
file systems which may want to map these values to allocation groups.

Signed-off-by: Hans Holmberg <hans.holmberg@wdc.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
include/linux/rw_hint.h