WL#13115: InnoDB: Add new option to control write IOPs when idle

Affects: Server-8.0   —   Status: Complete

Some users wants to reduce write IO as less as possible, for longer life of the
flash storage.

Currently, InnoDB does write IO in 100% of innodb_io_capacity when InnoDB is
idle. This behavior is not so urgent and just reduces the lifespan of the flash
storage. But lower innodb_io_capacity should cause lower performance.

The some users need to control idle-time write IOPs separated from not-idle IOPs.

1: Implementing new option innodb_idle_flush_pct to control write IOPs when idle

* based on BUG#88566 : CONTRIBUTION BY FACEBOOK: ENABLE LAZY FLUSHING IN PAGE
CLEANER