Remove pidfile and asok after stopping ceph

Signed-off-by: Dongmao Zhang <deanraccoon@gmail.com>
Merge pull request #3002 from thesues/fix-init

Remove pidfile and asok after stopping ceph

Reviewed-by: Loic Dachary <ldachary@redhat.com>
arch: fix neon feature detection

The fread function returns the number of elements read, not the number
of bytes.

Introduced by 1cef8339f7a2a503327c20c014e696c91d36281e , after giant.

Add tests for protection against similar regressions.

http://tracker.ceph.com/issues/10185 Fixes: #10185

Signed-off-by: Loic Dachary <ldachary@redhat.com>
Merge pull request #3003 from dachary/wip-10185-neon

arch: fix neon feature detection

Reviewed-by: Sahid Orentino Ferdjaoui <sahid.ferdjaoui@redhat.com>
added some consts
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
Merge pull request #3011 from stiopaa1/someConsts

added some consts

Reviewed-by: Loic Dachary <ldachary@redhat.com>
PG looking-up/checking does not need to hold the osd_lock since it is being protected by pg_map_lock, remove the assertion.

Signed-off-by: Guang Yang <yguang@yahoo-inc.com>
Move the sched_scrub to a new tick timer which does not need to hold the osd_lock.

Signed-off-by: Guang Yang <yguang@yahoo-inc.com>