On Thu, Mar 24, 2022 at 03:38:00PM +0900, Damien Le Moal wrote: > On 3/24/22 15:28, Christoph Hellwig wrote: > > On Thu, Mar 24, 2022 at 08:45:56AM +0900, Damien Le Moal wrote: > >> Mario, let's check what other distros do first before deciding. Fedora for > >> sure has a default of 3 and I have never seen any issue with it (and I > >> have been using Fedora for a long time with many different drives). > >> > >> Not sure what distro you are using, but if it is not Fedora, please check. > >> We should check at least Debian, Ubuntu, SUSE, RHEL and CentOS. I can > >> check some other minor ones too as I know users. > > > > Debian: > > > > hch@brick:~/work/linux$ grep CONFIG_SATA_MOBILE_LPM_POLICY /boot/config-5.10.0-1* > > /boot/config-5.10.0-10-amd64:CONFIG_SATA_MOBILE_LPM_POLICY=3 > > /boot/config-5.10.0-11-amd64:CONFIG_SATA_MOBILE_LPM_POLICY=3 > > /boot/config-5.10.0-12-amd64:CONFIG_SATA_MOBILE_LPM_POLICY=3 > > Thanks. Debian testing also has the default at 3. > > Mario reported that Ubuntu and Arch also use 3, and that RHEL has 0 as > default but changes it to 3 after boot. > > Gentoo default config is also 3. Checking CentOS and [open]SUSE now. CentOS uses the RHEL configs and defaults to 0. I do agree that renaming config options can be problematic, but the heads up from Damien helped. It will not be an issue for Fedora, CentOS, and RHEL. Justin > So far, it is looking like 3 is a sane default. > > -- > Damien Le Moal > Western Digital Research