ceph/systemd
David Disseldorp 8a62cbc074 systemd/ceph-disk: reduce ceph-disk flock contention
"ceph-disk trigger" invocation is currently performed in a mutually
exclusive fashion, with each call first taking an flock on the path
/var/lock/ceph-disk. On systems with a lot of osds, this leads to a
large amount of lock contention during boot-up, and can cause some
service instances to trip the 120 second timeout.

Take an flock on a device specific path instead of /var/lock/ceph-disk,
so that concurrent "ceph-disk trigger" invocations are permitted for
independent osds. This greatly reduces lock contention and consequently
the chance of service timeout. Per-device concurrency restrictions
required for http://tracker.ceph.com/issues/13160 are maintained.

Fixes: http://tracker.ceph.com/issues/18049

Signed-off-by: David Disseldorp <ddiss@suse.de>
2016-11-28 17:55:39 +01:00
..
50-ceph.preset systemd: add ceph-mgr service and target files 2016-09-29 17:27:08 +01:00
ceph doc: fix message typos in systemd 2015-11-23 16:50:07 +01:00
ceph-disk@.service systemd/ceph-disk: reduce ceph-disk flock contention 2016-11-28 17:55:39 +01:00
ceph-mds.target fine-grained control systemd to start/stop/restart ceph services at once 2015-10-26 15:13:19 +08:00
ceph-mds@.service systemd: make Ceph daemon units "want" time-sync.target 2016-04-23 17:48:08 +02:00
ceph-mgr.target systemd: add ceph-mgr service and target files 2016-09-29 17:27:08 +01:00
ceph-mgr@.service systemd: autogenerate ceph-mgr key during daemon startup 2016-09-29 17:27:08 +01:00
ceph-mon.target fine-grained control systemd to start/stop/restart ceph services at once 2015-10-26 15:13:19 +08:00
ceph-mon@.service systemd/ceph-mon@.service:Remove ceph-create-keys for mon in systemd 2016-11-04 23:05:26 +01:00
ceph-osd.target fine-grained control systemd to start/stop/restart ceph services at once 2015-10-26 15:13:19 +08:00
ceph-osd@.service systemd: add osd id to service description 2016-07-01 14:02:36 +02:00
ceph-radosgw.target fine-grained control systemd to start/stop/restart ceph services at once 2015-10-26 15:13:19 +08:00
ceph-radosgw@.service systemd: make Ceph daemon units "want" time-sync.target 2016-04-23 17:48:08 +02:00
ceph-rbd-mirror.target systemd: new ceph-rbd-mirror scripts 2016-03-18 17:51:23 -04:00
ceph-rbd-mirror@.service Drop any systemd imposed process/thread limits 2016-04-05 17:33:57 +01:00
ceph.target
ceph.tmpfiles.d systemd: tmpfiles.d in /run, not /var/run 2015-09-11 11:38:47 -04:00
CMakeLists.txt systemd/CMakeLists.txt:Remove ceph-create-keys cmake 2016-11-04 23:05:44 +01:00
rbdmap.service Add Install section to systemd rbdmap.service file 2016-09-01 00:42:34 +02:00