Integrate files into N files to reduce total file size 81/236681/1 accepted/tizen/5.0/unified/20200622.012521 submit/tizen_5.0/20200619.100239
authorKichan Kwon <k_c.kwon@samsung.com>
Thu, 18 Jun 2020 06:47:20 +0000 (15:47 +0900)
committerKichan Kwon <k_c.kwon@samsung.com>
Fri, 19 Jun 2020 07:47:36 +0000 (16:47 +0900)
commit0ed8b2956b0f0c015f5d2a2431635b2b3bec3deb
tree9e1f7b00249dd858fdb0b1305c5cd0fe9d257641
parentc65b282ae0116e10189556cbd90d732620cd2183
Integrate files into N files to reduce total file size

- Although the size of value is small, each key file takes a file block
  - Block size is 4kB
  - 270 model-config keys takes 1.5MB
- To reduce file size, store many keys into the same file
  - To find file name, use hash function
  - In current, store 10 files

Change-Id: I7140e732d7dde1e6c6ad65b28f5f7a064502d9f5
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
include/system_info_private.h
src/init_db/system_info_db_init.c
src/system_info.c