Re: [RFC v4] zswap: Add CONFIG_ZSWAP_IO_SWITCH to handle swap IO issue

2019-10-10 Thread Dan Streetman
On Tue, Oct 8, 2019 at 4:07 AM Hui Zhu wrote: > > This is the fourth version of this patch. The perious versions > are in [1], [2] and [3]. > > The parameters read_in_flight_limit and write_in_flight_limit were > replaced by io_switch_enabled_enabled in this verion to make this > function more

[RFC v4] zswap: Add CONFIG_ZSWAP_IO_SWITCH to handle swap IO issue

2019-10-08 Thread Hui Zhu
This is the fourth version of this patch. The perious versions are in [1], [2] and [3]. The parameters read_in_flight_limit and write_in_flight_limit were replaced by io_switch_enabled_enabled in this verion to make this function more clear. Currently, I use a VM that has 1 CPU, 4G memory and