On 2018/8/21 下午10:35, David Howells wrote:
> David Sterba <dste...@suse.cz> wrote:
> 
>> - nothing: auto-detect non-rotating devices, enable SSD mount option in turn
> 
> And it's right that this should only turn on SSD if *all* the devices are
> non-rotating?

If I didn't miss anything again, yes.

It's btrfs_open_one_device() who updates fs_devices->rotating, and any
device with rotating disk will set it to 1.
So it needs all device to to non-rotating to meet
!fs_info->fs_devices->rotating.

Thanks,
Qu

> 
> David
> 

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to