git: hammer util: avoid running concurrent cleanups

看板DFBSD_commit作者時間16年前 (2009/08/09 17:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 5bd5f172451bff7c7aea85c80d7e60b825fcd742 Author: Simon Schubert <simon.schubert@epfl.ch> Date: Tue Aug 4 16:23:57 2009 +0200 hammer util: avoid running concurrent cleanups If hammer cleanup gets called more frequently than the cleanup runs take, they build up, all trying to run in parallel. Prevent this by locking the config file while cleanup is running. If cleanup finds the config file locked for a PFS, it will skip processing. Summary of changes: sbin/hammer/cmd_cleanup.c | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5bd5f172451bff7c7aea85c80d7e60b825fcd742 -- DragonFly BSD source repository
文章代碼(AID): #1AVf1Myf (DFBSD_commit)