summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChao Yu <yuchao0@huawei.com>2018-07-19 23:57:54 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2018-09-18 13:38:17 -0700
commita2ee1be2b06a82a248c3591f8c3ffd4fa1eee074 (patch)
treee45de63eea37983df433ad07d5f970ac7968f179 /tools/perf/scripts/python
parentbc9e6f1a0f5037cbd6ed8402d24f7293e90834eb (diff)
f2fs: restrict setting up inode.i_advise
In order to give advise to f2fs to recognize hot/cold file, it is possible that we can set specific bit in inode.i_advise through setxattr(), but there are several bits which are used internally, such as encrypt_bit, keep_size_bit, they should never be changed through setxattr(). So that this patch 1) adds FADVISE_MODIFIABLE_BITS to filter modifiable bits user given, 2) supports to clear {hot,cold}_file bits. Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions