Re: [PATCH v3 0/3] mdsmap: fix mds choosing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2019-11-26 at 07:24 -0500, xiubli@xxxxxxxxxx wrote:
> From: Xiubo Li <xiubli@xxxxxxxxxx>
> 
> V2:
> - ignore laggy for the auth mds case
> - for the random mds choosing, get one none laggy first and only
>   when there has no we will fall back to choose a laggy one if there
>   has.
> 
> V3:
> - add the mds sanity check
> 
> Xiubo Li (3):
>   mdsmap: add more debug info when decoding
>   mdsmap: fix mdsmap cluster available check based on laggy number
>   mdsmap: only choose one MDS who is in up:active state without laggy
> 
>  fs/ceph/mds_client.c        | 13 +++++--
>  fs/ceph/mdsmap.c            | 74 ++++++++++++++++++++-----------------
>  include/linux/ceph/mdsmap.h |  1 +
>  3 files changed, 51 insertions(+), 37 deletions(-)
> 

Ok, I think this looks sane enough. I'll merge it into the testing
branch and we'll see how it does.

Thanks,
-- 
Jeff Layton <jlayton@xxxxxxxxxx>




[Index of Archives]     [CEPH Users]     [Ceph Large]     [Ceph Dev]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux