diff options
| author | Chao Yu <chao2.yu@samsung.com> | 2016-02-22 18:32:13 +0800 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-04-13 12:33:07 +0200 |
| commit | 9b49492c4bf5582e3ec7113c4c37a89c941f60a5 (patch) | |
| tree | ada897d50577ac4d0727cd9ed22ca4f200e72083 /include/uapi/linux/kernelcapi.h | |
| parent | 87a9d492ac0b2e39e0a8d3e78478e4a14aebf531 (diff) | |
f2fs: fix the wrong stat count of calling gc
With a partition which was formated as multi segments in one section,
we stated incorrectly for count of gc operation.
e.g., for a partition with segs_per_sec = 4
cat /sys/kernel/debug/f2fs/status
GC calls: 208 (BG: 7)
- data segments : 104 (52)
- node segments : 104 (24)
GC called count should be (104 (data segs) + 104 (node segs)) / 4 = 52,
rather than 208. Fix it.
Signed-off-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'include/uapi/linux/kernelcapi.h')
0 files changed, 0 insertions, 0 deletions
