]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: shrink size of struct seg_entry
authorChao Yu <yuchao0@huawei.com>
Wed, 4 May 2016 15:19:48 +0000 (23:19 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Sat, 7 May 2016 17:32:29 +0000 (10:32 -0700)
commitcd491705dde405c404fcd1bd274800e97269f576
treecd552c152c6e9e3c122070c4536cb62f29e89004
parentb259a87d9c5bd9cefa6118e008dafb0789ea9814
f2fs: shrink size of struct seg_entry

Restructure struct seg_entry to eliminate holes in it, after that,
in 32-bits machine, it reduces size from 32 bytes to 24 bytes; in
64-bits machine, it reduces size from 56 bytes to 40 bytes.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/segment.h