Re: Are the btrfs mount options inconsistent?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 2018/8/21 下午10:35, David Howells wrote:
> David Sterba <dsterba@xxxxxxx> 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


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux