mon: PaxosService: can be readable even if proposing

As long as we have a stable version in memory that is lower or equal to
the version we want.

Fixes: #9321
Fixes: #9322

Signed-off-by: Joao Eduardo Luis <joao@redhat.com>
erasure-code: conditionally build jerasure sse3/sse4 plugins
autotools: ARM/AArch64 NEON detection similar to x86
aarch64: add support for HW_CAP based neon runtime detection
erasure-code: gf-complete use neon enabled branch

Signed-off-by: Loic Dachary <ldachary@redhat.com>
erasure-code: build and use a NEON jerasure variant
erasure-code: always compile SSE and NEON tests

They do not actually depend on CPU features and are required to validate
the plugin selection logic.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
erasure-code: include new headers in distribution

The NEON optimization introduced new headers that must be listed
explicitly to be included in tarbals.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
erasure-code: test NEON arch selection logic

The jerasure plugin loads the plugin that matches the architecture
supported by the CPU at runtime. Include the NEON plugin in the tests.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
Merge pull request #2945 from ceph/wip-9321

mon: PaxosService: can be readable even if proposing

Reviewed-by: Sage Weil <sage@redhat.com>
librados: mark category args and ops as unused

Signed-off-by: Sage Weil <sage@redhat.com>
librados: add new get_pool_stats() variant; deprecate others

A new call will return a simple map of pool -> stats.  Drop the old ones
that did pool -> category -> stats, and deprecate the category one
entirely.

Signed-off-by: Sage Weil <sage@redhat.com>
librados: drop create category args

Signed-off-by: Sage Weil <sage@redhat.com>
osd: stop doing per-category accounting

Signed-off-by: Sage Weil <sage@redhat.com>
mon/PGMonitor: do not report per-category stats

Signed-off-by: Sage Weil <sage@redhat.com>
osd/osd_types: remove cat_sum from object_stat_collection_t

This type is now just a useless wrapper around object_stat_sum_t, but that
is not easy to drop.

Note that now if we load and reencode a legacy object we'll drop those
fields.  We would mark the incompat flag in the object corpus accordingly,
but nothing in there populates the cat fields.

Signed-off-by: Sage Weil <sage@redhat.com>
osd/osd_types: drop useless conditionals on object_info_t decode

The incompat decode version is 8, so we will never see struct_v < 5.

Signed-off-by: Sage Weil <sage@redhat.com>
PendingReleaseNotes: not about dropping category

Signed-off-by: Sage Weil <sage@redhat.com>
rados: change 'df' output now that categories are gone

Signed-off-by: Sage Weil <sage@redhat.com>
rados: drop optional 'create [category]' arg

Signed-off-by: Sage Weil <sage@redhat.com>