[ceph-users] Re: Check if upmap is supported by client?

2020-04-13 Thread Paul Emmerich
bit 21 in the features bitmap is upmap support Paul -- Paul Emmerich Looking for help with your Ceph cluster? Contact us at https://croit.io croit GmbH Freseniusstr. 31h 81247 München www.croit.io Tel: +49 89 1896585 90 On Mon, Apr 13, 2020 at 11:53 AM Frank Schilder wrote: > > Dear all, > >

[ceph-users] Re: Check if upmap is supported by client?

2020-04-13 Thread Frank Schilder
Hi Paul, thanks for the fast reply. When you say "bit 21", do you mean "(feature_map & 2^21) == true" (i.e., counting from 0 starting at the right-hand end)? Then it would be set for all connected ceph fs clients. Assuming upmap is supported by all clients. If I understand correctly, to use th

[ceph-users] Re: Check if upmap is supported by client?

2020-04-14 Thread Paul Emmerich
Hi, On Mon, Apr 13, 2020 at 3:08 PM Frank Schilder wrote: > > Hi Paul, > > thanks for the fast reply. When you say "bit 21", do you mean "(feature_map & > 2^21) == true" (i.e., counting from 0 starting at the right-hand end)? yes > Assuming upmap is supported by all clients. If I understand co

[ceph-users] Re: Check if upmap is supported by client?

2020-04-24 Thread Konstantin Shalygin
On 4/13/20 4:52 PM, Frank Schilder wrote: Is there a way to check if a client supports upmap? Yes, and actually is not hard, example: # echo 0x27018fb86aa42ada | python detect_upmap.py Upmap is supported The Gist: https://gist.github.com/k0ste/96905ebd1c73c5411dd8d03a9c14b0ea k ___