LU-7340 mdd: changelogs garbage collection
When changelogs are almost full (few number of free entries in catalog), try to recover some space by unregistering users that are idle since too long, based on new Changelog User record field (in fact, using previous cur_padding unused field) to keep track of last user's changelog cancel request time, or based on gap between user index and current ChangeLog record, for older registered user. sanity/test_160[f,g] have been added to verify feature. Lustre-change: https://review.whamcloud.com/27103 Lustre-commit: 3442db6f Signed-off-by:Bruno Faccini <bruno.faccini@intel.com> Change-Id: I2100b101772e6d027675e5efa5606d4be24342a0 Reviewed-by:
Fan Yong <fan.yong@intel.com> Reviewed-by:
Ben Evans <bevans@cray.com> Reviewed-by:
Stephan Thiell <sthiell@stanford.edu> Reviewed-by:
Andreas Dilger <andreas.dilger@intel.com> Signed-off-by:
Minh Diep <minh.diep@intel.com> Reviewed-on: https://review.whamcloud.com/30573 Tested-by: Jenkins Tested-by:
Maloo <hpdd-maloo@intel.com> Reviewed-by:
John L. Hammond <john.hammond@intel.com>
Showing
- lustre/include/lustre/lustre_idl.h 7 additions, 5 deletionslustre/include/lustre/lustre_idl.h
- lustre/include/lustre_compat.h 18 additions, 0 deletionslustre/include/lustre_compat.h
- lustre/include/lustre_log.h 1 addition, 0 deletionslustre/include/lustre_log.h
- lustre/include/obd_support.h 2 additions, 0 deletionslustre/include/obd_support.h
- lustre/mdd/mdd_device.c 24 additions, 4 deletionslustre/mdd/mdd_device.c
- lustre/mdd/mdd_dir.c 166 additions, 0 deletionslustre/mdd/mdd_dir.c
- lustre/mdd/mdd_internal.h 29 additions, 0 deletionslustre/mdd/mdd_internal.h
- lustre/mdd/mdd_lproc.c 181 additions, 3 deletionslustre/mdd/mdd_lproc.c
- lustre/obdclass/llog.c 3 additions, 2 deletionslustre/obdclass/llog.c
- lustre/obdclass/llog_cat.c 22 additions, 0 deletionslustre/obdclass/llog_cat.c
- lustre/obdclass/llog_swab.c 1 addition, 0 deletionslustre/obdclass/llog_swab.c
- lustre/ptlrpc/wiretest.c 4 additions, 4 deletionslustre/ptlrpc/wiretest.c
- lustre/tests/sanity.sh 180 additions, 0 deletionslustre/tests/sanity.sh
- lustre/utils/wirecheck.c 1 addition, 1 deletionlustre/utils/wirecheck.c
- lustre/utils/wiretest.c 4 additions, 4 deletionslustre/utils/wiretest.c
Loading
Please register or sign in to comment