I've added new sysfs nodes to show discard stat since mount, which
will help us analyze whether the performance problem is related to
discard.
issued_discard - Shows the number of issued discard
queued_discard - Shows the number of cached discard cmd count
discard_cmd_cnt - Shows the number of cached discard cmd count
undiscard_blks - Shows the number of undiscard blocks
We have exported them in debugfs, can you use that?
Thanks,
But now Android is forbidden to open debugfs, and in fact we have not
opened this configuration for a long time.
Thx,
Yangtao