Re: [PATCH] Btrfs: enchanse raid1/10 balance heuristic for non rotating devices

2017-12-28 Thread Timofey Titovets
2017-12-28 11:06 GMT+03:00 Dmitrii Tcvetkov : > On Thu, 28 Dec 2017 01:39:31 +0300 > Timofey Titovets wrote: > >> Currently btrfs raid1/10 balancer blance requests to mirrors, >> based on pid % num of mirrors. >> >> Update logic and make it understood

Re: [PATCH] Btrfs: enchanse raid1/10 balance heuristic for non rotating devices

2017-12-28 Thread waxhead
Timofey Titovets wrote: Currently btrfs raid1/10 balancer blance requests to mirrors, based on pid % num of mirrors. Update logic and make it understood if underline device are non rotational. If one of mirrors are non rotational, then all read requests will be moved to non rotational

Re: [PATCH] Btrfs: enchanse raid1/10 balance heuristic for non rotating devices

2017-12-28 Thread Dmitrii Tcvetkov
On Thu, 28 Dec 2017 01:39:31 +0300 Timofey Titovets wrote: > Currently btrfs raid1/10 balancer blance requests to mirrors, > based on pid % num of mirrors. > > Update logic and make it understood if underline device are non rotational. > > If one of mirrors are non

Re: [PATCH] Btrfs: enchanse raid1/10 balance heuristic for non rotating devices

2017-12-27 Thread Qu Wenruo
On 2017年12月28日 06:39, Timofey Titovets wrote: > Currently btrfs raid1/10 balancer blance requests to mirrors, > based on pid % num of mirrors. > > Update logic and make it understood if underline device are non rotational. > > If one of mirrors are non rotational, then all read requests will

Re: [PATCH] Btrfs: enchanse raid1/10 balance heuristic for non rotating devices

2017-12-27 Thread Qu Wenruo
On 2017年12月28日 06:39, Timofey Titovets wrote: > Currently btrfs raid1/10 balancer blance requests to mirrors, > based on pid % num of mirrors. > > Update logic and make it understood if underline device are non rotational. > > If one of mirrors are non rotational, then all read requests will