diff options
| author | Konstantin Khlebnikov <[email protected]> | 2019-02-21 16:49:27 +0000 |
|---|---|---|
| committer | Theodore Ts'o <[email protected]> | 2019-02-21 16:49:27 +0000 |
| commit | bc1d69d6151f1911ecb120a8dbd65e47210b7a72 (patch) | |
| tree | 894a447e6f9669653f4668ab3f791534d6b5f460 /fs/jbd2/commit.c | |
| parent | ext4: Change debugging support help prefix from EXT4 to Ext4 (diff) | |
| download | kernel-bc1d69d6151f1911ecb120a8dbd65e47210b7a72.tar.gz kernel-bc1d69d6151f1911ecb120a8dbd65e47210b7a72.zip | |
ext4: add sysfs attr /sys/fs/ext4/<disk>/journal_task
This is useful for moving journal thread into cgroup or
for tracing it with ftrace/perf/blktrace.
For now the only way is `pgrep jbd2/$DISK` but this is not reliable:
name may be longer than "comm" limit and any task could mock it.
Attribute shows pid in current pid-namespace or 0 if task is unreachable.
Signed-off-by: Konstantin Khlebnikov <[email protected]>
Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
