Whamcloud - gitweb
LU-10602 llite: add file heat support 99/34399/10
authorLi Xi <lixi@ddn.com>
Mon, 5 Feb 2018 03:57:54 +0000 (22:57 -0500)
committerOleg Drokin <green@whamcloud.com>
Mon, 1 Apr 2019 07:24:16 +0000 (07:24 +0000)
commitae723cf8161f7af15fb7c2541fa7d4131a816af9
tree7298c0b5b4eebb042d97bcc9e1f3c7a75ec12f9a
parent7eb7f852ba4cb642ef0d45842a0dc8cbd6f2024d
LU-10602 llite: add file heat support

File heat is a special attribute fo files/objects which reflects
the access frequency of the files/objects.
File heat is mainly desinged for cache management. Caches like
PCC can use file heat to determine which files to be removed from
the cache or which files to fetch into cache.
This patch adds file heat support on llite level.

Signed-off-by: Li Xi <lixi@ddn.com>
Signed-off-by: Qian Yingjin <qian@ddn.com>
Change-Id: I168fc657f0c859311e5114191b60047646909be0
Reviewed-on: https://review.whamcloud.com/34399
Reviewed-by: Wang Shilong <wshilong@ddn.com>
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Patrick Farrell <pfarrell@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
17 files changed:
lustre/doc/Makefile.am
lustre/doc/lfs-heat.1 [new file with mode: 0644]
lustre/doc/llapi_heat_get.3 [new file with mode: 0644]
lustre/doc/llapi_heat_set.3 [new file with mode: 0644]
lustre/include/lustre/lustreapi.h
lustre/include/obd_class.h
lustre/include/obd_support.h
lustre/include/uapi/linux/lustre/lustre_user.h
lustre/llite/file.c
lustre/llite/llite_internal.h
lustre/llite/llite_lib.c
lustre/llite/lproc_llite.c
lustre/obdclass/class_obd.c
lustre/tests/sanity.sh
lustre/utils/Makefile.am
lustre/utils/lfs.c
lustre/utils/liblustreapi_heat.c [new file with mode: 0644]