6 Commits

Author SHA1 Message Date
Daniel Lee
1a0943166d Fixed a typo in init.storage.rc
"sys" -> "dev"

Change-Id: Ie7103a668cab027fb339762a7f4761b776b431f9
Signed-off-by: Daniel Lee <chullee@google.com>
2024-04-24 12:33:55 -07:00
Jaegeuk Kim
8ce08dfc7e storage: tune f2fs to get max performance
max_io_bytes : block will split out, so let's submit asap.

min_hot_blocks : don't mess up the logs per the chunk size.

Change-Id: I0795fea90c3aaee0ef6058fce7f4a3c31fc3fb42
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
2024-04-23 16:07:15 -07:00
Qais Yousef
bebef42dbd init.storage.rc: Set rq_affinity to 2
When rq_affinity is 1, it will default to servicing the softirq on the
same CPU that has serviced the interrupt.

By setting it to 2, completions are processed by the CPU core that
submitted the I/O.

Bug: 311655524
Signed-off-by: Qais Yousef <qyousef@google.com>
Change-Id: I21421f97f069083793fe2e2fa51739dac12eca1d
2023-12-21 19:04:11 +00:00
Jaegeuk Kim
911292ecca Storage: clean up init.rc for storage
Bug: 311655524
Change-Id: Ic08d6cd42f90c2c6b697077d63fea6a2454f1cc1
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
2023-12-20 11:22:41 -08:00
Randall Huang
c299df119e storage: dump UFS error history when capturing bugreport
Bug: 264001741
Test: capture bugreport
Change-Id: Ie910377c6378240188ff09b2a686efb02b2ac972
Signed-off-by: Randall Huang <huangrandall@google.com>
2023-10-23 06:59:04 +00:00
Randall Huang
cd8e622678 storage: turn off pixel storage debugging code on user builds
The debugging code introduces too much performance overhead for random I/O operations.
Only enable the debugging feature on non-user builds.

Bug: 284231590
Test: boot device
Change-Id: Idf6852060dfd3a250d92147a3ee0f1fe9e6140d4
Signed-off-by: Randall Huang <huangrandall@google.com>
2023-08-07 23:37:06 +00:00