Whamcloud - gitweb
EX-3209 lipe: add lpcc util and service
authorLei Feng <flei@whamcloud.com>
Tue, 27 Jul 2021 07:37:11 +0000 (15:37 +0800)
committerLi Xi <lixi@ddn.com>
Tue, 17 Aug 2021 12:07:17 +0000 (12:07 +0000)
commit6d62073950ac82f3e5e1361d2eb8a8ac6f19ed02
tree0c87f4fd138773d349ea3856041a336dd5d4d365
parenta187863d8ef5be64e9793495b8d0d5bfb138f6af
EX-3209 lipe: add lpcc util and service

Create lpcc daemon/cli and systemd serivce to manage all
PCC devices and services. Create umount.lustre to hook the
umounting and stop PCC in advance. Remove unused lpcc_test
and lpcc_cleanup. Fix stats mistake for purge_objs. Add
--pidfile for lpcc_purge.

Change-Id: I941d07b61906e4d5ebee13dab2a8015e43ecf676
Signed-off-by: Lei Feng <flei@whamcloud.com>
Test-Parameters: trivial
Reviewed-on: https://review.whamcloud.com/44103
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: John L. Hammond <jhammond@whamcloud.com>
Reviewed-by: Li Xi <lixi@ddn.com>
22 files changed:
lipe/Makefile.am
lipe/lipe.spec.in
lipe/lpcc
lipe/lpcc.conf
lipe/lpcc_cleanup [deleted file]
lipe/lpcc_test [deleted file]
lipe/man/lpcc-start.8 [new file with mode: 0644]
lipe/man/lpcc-status.8 [new file with mode: 0644]
lipe/man/lpcc-stop.8 [new file with mode: 0644]
lipe/man/lpcc.8 [new file with mode: 0644]
lipe/man/lpcc.conf.5 [new file with mode: 0644]
lipe/pylpcc/__init__.py [deleted file]
lipe/pylpcc/lpcc.py [deleted file]
lipe/pylpcc/lpcc_cleanup.py [deleted file]
lipe/pylpcc/lpcc_test.py [deleted file]
lipe/src/lpcc_purge.c
lipe/systemd/lpcc.service
lustre/doc/Makefile.am
lustre/doc/umount.lustre.8 [new file with mode: 0644]
lustre/scripts/Makefile.am
lustre/scripts/umount.lustre [new file with mode: 0755]
lustre/tests/sanity.sh