Bug 68671 - Add speed profiles to devices
Summary: Add speed profiles to devices
Status: NEW
Alias: None
Product: File System
Classification: Unclassified
Component: btrfs (show other bugs)
Hardware: All Linux
: P1 enhancement
Assignee: Josef Bacik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-13 21:37 UTC by Arthur Lutz
Modified: 2016-03-20 10:11 UTC (History)
1 user (show)

See Also:
Kernel Version: 3.8.0
Tree: Mainline
Regression: No


Attachments

Description Arthur Lutz 2014-01-13 21:37:28 UTC
It would be a great feature to have speed profiles linked to devices so that btrfs could differentiate write or read operations according to some metrics collected over time. 

The use case would be : one has 3 disks as RAID1 but one of the disks is older and slower than the two other disks. In this configuration the third disk serves a bit as an online backup but it would be nice for a write to be considered as done when the two fast disks have completed the write, the third one acting asynchronously. If one of the two fast disks fails we fall back to syncronous writing on that third device. 

This would be great for mixing SSD and traditionnal drives too.

Note You need to log in before you can comment on or make changes to this bug.