On Mon, Aug 5, 2019 at 11:43 AM Ilya Dryomov <[email protected]> wrote:

> On Tue, Jul 30, 2019 at 10:33 AM Massimo Sgaravatto
> <[email protected]> wrote:
> >
> > The documentation that I have seen says that the minimum requirements
> for clients to use upmap are:
> >
> > - CentOs 7.5 or kernel 4.5
> > - Luminous version
>
> Do you have a link for that?
>
> This is wrong: CentOS 7.5 (i.e. RHEL 7.5 kernel) is right, but for
> upstream kernels it is 4.13 (unless someone did a large backport that
> I'm not aware of).
>


Yes sorry: 4.13 !


>
> >
> > But in general ceph admins could not have access to all clients to check
> these versions.
> >
> > In general: is there a table somewhere reporting the minimum "feature"
> version supported by upmap ?
> >
> > E.g. right now I am interested about 0x1ffddff8eea4fffb. Is this also
> good enough for upmap ?
>
> Yeah, this is annoying.  The missing feature bit has been merged into
> 5.3, so starting with 5.3 the kernel client will finally report itself
> as luminous.
>
> In the meantime, use this:
>
> $ cat /tmp/detect_upmap.py
> if int(input()) & (1 << 21):
>     print("Upmap is supported")
> else:
>     print("Upmap is NOT supported")
>
> $ echo 0x1ffddff8eea4fffb | python /tmp/detect_upmap.py
> Upmap is supported
>


Great !!

Thanks a lot !

Cheers, Massimo
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to