Re: [PATCH 0/3 RESEND Rebased] readmirror feature

2019-07-23 Thread Qu Wenruo
On 2019/7/24 上午10:26, Anand Jain wrote: > > >> On 24 Jul 2019, at 8:20 AM, Qu Wenruo wrote: >> >> >> >> On 2019/6/26 下午4:33, Anand Jain wrote: >>> These patches are tested to be working fine. >>> >>> Function call chain __btrfs_map_block()->find_live_mirror() uses >>> thread pid to determine

Re: [PATCH 0/3 RESEND Rebased] readmirror feature

2019-07-23 Thread Anand Jain
> On 24 Jul 2019, at 8:20 AM, Qu Wenruo wrote: > > > > On 2019/6/26 下午4:33, Anand Jain wrote: >> These patches are tested to be working fine. >> >> Function call chain __btrfs_map_block()->find_live_mirror() uses >> thread pid to determine the %mirror_num when the mirror_num=0. >> >> This

Re: [PATCH 0/3 RESEND Rebased] readmirror feature

2019-07-23 Thread Qu Wenruo
On 2019/6/26 下午4:33, Anand Jain wrote: > These patches are tested to be working fine. > > Function call chain __btrfs_map_block()->find_live_mirror() uses > thread pid to determine the %mirror_num when the mirror_num=0. > > This patch introduces a framework so that we can add policies to deter

Re: [PATCH 0/3 RESEND Rebased] readmirror feature

2019-07-02 Thread Anand Jain
Ping? On 26/6/19 4:33 PM, Anand Jain wrote: These patches are tested to be working fine. Function call chain __btrfs_map_block()->find_live_mirror() uses thread pid to determine the %mirror_num when the mirror_num=0. This patch introduces a framework so that we can add policies to determine

[PATCH 0/3 RESEND Rebased] readmirror feature

2019-06-26 Thread Anand Jain
These patches are tested to be working fine. Function call chain __btrfs_map_block()->find_live_mirror() uses thread pid to determine the %mirror_num when the mirror_num=0. This patch introduces a framework so that we can add policies to determine the %mirror_num. And adds the devid as the readm

[PATCH 0/3 resend]

2013-08-07 Thread Anand Jain
Anand Jain (3): btrfs-progs: let user know that devid can be used if path is missing btrfs-progs: cmd_start_replace() to use test_dev_for_mkfs() btrfs-progs: avoid write to the disk before sure to create fs cmds-replace.c | 33 +++--- mkfs.c | 104