Searched hist:"45 c98f5a58f36c35ecf5a149cbf69cf5fd022120" (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/fs/f2fs/ |
H A D | gc.h | diff 45c98f5a58f36c35ecf5a149cbf69cf5fd022120 Mon Dec 12 07:36:44 CST 2022 Yangtao Li <frank.li@vivo.com> f2fs: convert discard_wake and gc_wake to bool type
discard_wake and gc_wake have only two values, 0 or 1. So there is no need to use int type to store them.
BTW, move discard_wake to the end of the discard_cmd_control structure.
Before:
- sizeof(struct discard_cmd_control): 8392
After move:
- sizeof(struct discard_cmd_control): 8384
Signed-off-by: Yangtao Li <frank.li@vivo.com> Reviewed-by: Chao Yu <chao@kernel.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
|
H A D | sysfs.c | diff 45c98f5a58f36c35ecf5a149cbf69cf5fd022120 Mon Dec 12 07:36:44 CST 2022 Yangtao Li <frank.li@vivo.com> f2fs: convert discard_wake and gc_wake to bool type
discard_wake and gc_wake have only two values, 0 or 1. So there is no need to use int type to store them.
BTW, move discard_wake to the end of the discard_cmd_control structure.
Before:
- sizeof(struct discard_cmd_control): 8392
After move:
- sizeof(struct discard_cmd_control): 8384
Signed-off-by: Yangtao Li <frank.li@vivo.com> Reviewed-by: Chao Yu <chao@kernel.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
|
H A D | segment.h | diff 45c98f5a58f36c35ecf5a149cbf69cf5fd022120 Mon Dec 12 07:36:44 CST 2022 Yangtao Li <frank.li@vivo.com> f2fs: convert discard_wake and gc_wake to bool type
discard_wake and gc_wake have only two values, 0 or 1. So there is no need to use int type to store them.
BTW, move discard_wake to the end of the discard_cmd_control structure.
Before:
- sizeof(struct discard_cmd_control): 8392
After move:
- sizeof(struct discard_cmd_control): 8384
Signed-off-by: Yangtao Li <frank.li@vivo.com> Reviewed-by: Chao Yu <chao@kernel.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
|
H A D | gc.c | diff 45c98f5a58f36c35ecf5a149cbf69cf5fd022120 Mon Dec 12 07:36:44 CST 2022 Yangtao Li <frank.li@vivo.com> f2fs: convert discard_wake and gc_wake to bool type
discard_wake and gc_wake have only two values, 0 or 1. So there is no need to use int type to store them.
BTW, move discard_wake to the end of the discard_cmd_control structure.
Before:
- sizeof(struct discard_cmd_control): 8392
After move:
- sizeof(struct discard_cmd_control): 8384
Signed-off-by: Yangtao Li <frank.li@vivo.com> Reviewed-by: Chao Yu <chao@kernel.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
|
H A D | segment.c | diff 45c98f5a58f36c35ecf5a149cbf69cf5fd022120 Mon Dec 12 07:36:44 CST 2022 Yangtao Li <frank.li@vivo.com> f2fs: convert discard_wake and gc_wake to bool type
discard_wake and gc_wake have only two values, 0 or 1. So there is no need to use int type to store them.
BTW, move discard_wake to the end of the discard_cmd_control structure.
Before:
- sizeof(struct discard_cmd_control): 8392
After move:
- sizeof(struct discard_cmd_control): 8384
Signed-off-by: Yangtao Li <frank.li@vivo.com> Reviewed-by: Chao Yu <chao@kernel.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
|
H A D | f2fs.h | diff 45c98f5a58f36c35ecf5a149cbf69cf5fd022120 Mon Dec 12 07:36:44 CST 2022 Yangtao Li <frank.li@vivo.com> f2fs: convert discard_wake and gc_wake to bool type
discard_wake and gc_wake have only two values, 0 or 1. So there is no need to use int type to store them.
BTW, move discard_wake to the end of the discard_cmd_control structure.
Before:
- sizeof(struct discard_cmd_control): 8392
After move:
- sizeof(struct discard_cmd_control): 8384
Signed-off-by: Yangtao Li <frank.li@vivo.com> Reviewed-by: Chao Yu <chao@kernel.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
|