On 2/10/21 5:14 PM, Josef Bacik wrote:
On 2/1/21 4:28 PM, Goffredo Baroncelli wrote:
From: Goffredo Baroncelli <kreij...@inwind.it>
Add allocation_hint mount option. This option accepts the following values:
- 0 (default): the chunks allocator ignores the disk hints
- 1: the chunks allocator considers the disk hints
Signed-off-by: Goffredo Baroncelli <kreij...@winwind.it>
We don't want an mount option here. If a user has tagged a block device as
METADATA/DATA_ONLY or METADATA_PREFERRED we know they want it. If we want to
add a way to disable the hinting then I think a sysctl option to disable is a
reasonable compromise. Thanks,
The idea was to have a knob to switch off all the logic in case of problem.
When the code will be more tested we can drop this part. For the moment I will move this
patch at the end of the series to simplify the "manual" drop.
Josef
Ciao
Goffredo
--
gpg @keyserver.linux.it: Goffredo Baroncelli <kreijackATinwind.it>
Key fingerprint BBF5 1610 0B64 DAC6 5F7D 17B2 0EDA 9B37 8B82 E0B5