Whamcloud - gitweb
LU-15524 mdd: trigger changelog GC by free space 67/46467/12
authorMikhail Pershin <mpershin@whamcloud.com>
Mon, 7 Feb 2022 10:12:29 +0000 (13:12 +0300)
committerOleg Drokin <green@whamcloud.com>
Mon, 12 Sep 2022 02:54:40 +0000 (02:54 +0000)
commitbec1334954a73ed668fad409e8c728f9dfd6bb99
tree656babdcd00349facb3f6364aa52466a61e4f750
parente260f751f2a21fa126eeb4bc9e94250ba3e815f1
LU-15524 mdd: trigger changelog GC by free space

if amount of space consumed by changelog become comparable
with system free space then start emergency GC for changelog
by purging the oldest user

Such behavior is enabled by default and can be disabled via
mdd_changelog_free_space_gc parameter

Test 160t is added to sanity.sh

Signed-off-by: Mikhail Pershin <mpershin@whamcloud.com>
Change-Id: Ia63cc71e708b0f10cdf54f45f0809c0e86950101
Reviewed-on: https://review.whamcloud.com/46467
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Emoly Liu <emoly@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/obd_support.h
lustre/mdd/mdd_device.c
lustre/mdd/mdd_dir.c
lustre/mdd/mdd_internal.h
lustre/mdd/mdd_lproc.c
lustre/mdd/mdd_trans.c
lustre/tests/sanity.sh