aboutsummaryrefslogtreecommitdiffstats
path: root/fs/f2fs/gc.h
diff options
context:
space:
mode:
authorNamjae Jeon <namjae.jeon@samsung.com>2013-02-02 23:52:28 +0900
committerZiyan <jaraidaniel@gmail.com>2015-05-02 14:33:49 +0200
commit66ad90435547e5e26a7bf0e2628b150b3a4cd28d (patch)
tree2898073ea1adf5cd63be60d287e003c00df057d8 /fs/f2fs/gc.h
parent306a9e02f6ef587129814ab11ea7786c39cbb730 (diff)
downloadkernel_samsung_tuna-66ad90435547e5e26a7bf0e2628b150b3a4cd28d.zip
kernel_samsung_tuna-66ad90435547e5e26a7bf0e2628b150b3a4cd28d.tar.gz
kernel_samsung_tuna-66ad90435547e5e26a7bf0e2628b150b3a4cd28d.tar.bz2
f2fs: name gc task as per the block device
Currently GC task is started for each f2fs formatted/mounted device. But, when we check the task list, using 'ps', there is no distinguishing factor between the tasks. So, name the task as per the block device just like the flusher threads. Also, remove the macro GC_THREAD_NAME and instead use the name: f2fs_gc to avoid name length truncation, as the command length is 16 -> TASK_COMM_LEN 16 and example name like: f2fs_gc_task:8:16 -> this exceeds name length Before Patch for 2 F2FS formatted partitions: root 28061 0.0 0.0 0 0 ? S 10:31 0:00 [f2fs_gc_task] root 28087 0.0 0.0 0 0 ? S 10:32 0:00 [f2fs_gc_task] After Patch: root 16756 0.0 0.0 0 0 ? S 14:57 0:00 [f2fs_gc-8:18] root 16765 0.0 0.0 0 0 ? S 14:57 0:00 [f2fs_gc-8:19] Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com> Signed-off-by: Amit Sahrawat <a.sahrawat@samsung.com> Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'fs/f2fs/gc.h')
-rw-r--r--fs/f2fs/gc.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/f2fs/gc.h b/fs/f2fs/gc.h
index 2da03bb..850dce9 100644
--- a/fs/f2fs/gc.h
+++ b/fs/f2fs/gc.h
@@ -8,7 +8,6 @@
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
-#define GC_THREAD_NAME "f2fs_gc_task"
#define GC_THREAD_MIN_WB_PAGES 1 /*
* a threshold to determine
* whether IO subsystem is idle