1 .TH lfs-heat 1 "Feb. 09, 2019" Lustre "Lustre utility"
4 lfs commands used to interact with file heat features
6 .B lfs heat_get|heat_set
7 .IR \fR<\fIFILE \fR...>
10 These are a set of lfs commands used to interact with Lustre file heat feature.
11 Currently file heat is only stored in memory with file inode, it might be reset
12 to be zero at any time with the release of the inode due to memory reclaim.
14 .B lfs heat_get \fR<\fIFILE \fR...>
15 Get file heat on file list.
17 .B lfs heat_set [\fB--clear\fR|\fB-c\fR] [\fB--off\fR|\fB-o\fR] [\fB--on\fR|\fB-O\fR] \fR<\fIFILE \fR...>
18 Set provided file heat flags on file list.
22 Clear file heat on given files.
25 Turn off file heat on given files.
28 Turn on file heat on given files.
31 Turn on file heat support for the Lustre filesystem:
32 .B $ lctl set_param llite.$FSNAME*.file_heat=1
34 Trun off file heat support for the Lustre filesystem:
35 .B $ lctl set_param llite.$FSNAME*.file_heat=0
37 Display current file heat for foo:
38 .B $ lfs heat_get /mnt/lustre/foo
52 Clear the file heat for foo:
53 .B $ lfs heat_set -c /mnt/lustre/foo
55 Turn off file heat for foo:
56 .B $ lfs heat_set -o /mnt/lustre/foo
58 Turn on file heat for foo:
59 .B $ lfs heat_set -O /mnt/lustre/foo
63 command is part of the