Re: [PATCH v2 2/3] btrfs: add read_mirror_policy parameter devid

2019-01-22 Thread Steven Davies
On 2019-01-22 13:43, Anand Jain wrote: On 01/21/2019 07:56 PM, Steven Davies wrote: On 2018-05-16 11:03, Anand Jain wrote: +    break; +    } I noticed that it's possible to pass this option multiple times at mount, which sets multiple devices as read mirrors. While tha

Re: [PATCH v2 2/3] btrfs: add read_mirror_policy parameter devid

2019-01-22 Thread Anand Jain
On 01/21/2019 07:56 PM, Steven Davies wrote: On 2018-05-16 11:03, Anand Jain wrote: Going back to an old patchset I was testing this weekend: Adds the mount option:   mount -o read_mirror_policy= To set the devid of the device which should be used for read. That means all the normal reads

Re: [PATCH v2 2/3] btrfs: add read_mirror_policy parameter devid

2019-01-21 Thread Steven Davies
On 2018-05-16 11:03, Anand Jain wrote: Going back to an old patchset I was testing this weekend: Adds the mount option: mount -o read_mirror_policy= To set the devid of the device which should be used for read. That means all the normal reads will go to that particular device only. This als

[PATCH v2 2/3] btrfs: add read_mirror_policy parameter devid

2018-05-16 Thread Anand Jain
Adds the mount option: mount -o read_mirror_policy= To set the devid of the device which should be used for read. That means all the normal reads will go to that particular device only. This also helps testing and gives a better control for the test scripts including mount context reads. Signe