On 1/6/20 11:52 PM, Anand Jain wrote:
Add /sys/fs/btrfs/UUID/read_policy attribute so that the read policy for the raid1 and raid10 chunks can be tuned. When this attribute is read, it shall show all available policies, and the active policy is with in [ ], read_policy attribute can be written using one of the items showed in the read. For example: cat /sys/fs/btrfs/UUID/read_policy [by_pid] echo by_pid > /sys/fs/btrfs/UUID/read_policy echo -n by_pid > /sys/fs/btrfs/UUID/read_policy Signed-off-by: Anand Jain <anand.jain@xxxxxxxxxx>
Reviewed-by: Josef Bacik <josef@xxxxxxxxxxxxxx> Thanks, Josef
