-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
The fix makes me feel a little uneasy.
It changes the behaviour of swap_page_sector() to take into account the offset. But swap_page_sector() was already used before the bug was introduced, a few lines earlier in the bdev_write_page() fast path, as introduced by this commit from 2014: https://github.com/torvalds/linux/commit/dd6bd0d9c7dbb395100...
So either:
1. The bdev_write_page() call was also broken, and has been for years, or
2. The bdev_write_page() uses the sector value differently, worked fine with the old swap_page_sector(), but is now broken with the new version, or
3. The change in swap_page_sector() somehow doesn't affect bdev_write_page(); maybe it's a noop when using swap files?
That sound like what systemd-swap does. Apparently, hibernation is not quite working yet, though.
https://github.com/Nefelim4ag/systemd-swap
Related posts
-
I want to change my zRAM compression algorithm to zstd on openSUSE Tumbleweed
-
What happens when there is no more swap partition is full and RAM is full? Does Linux swaps anyway in some other way (maybe swap files like Windows), or can't it swap anymore?
-
Do I need to create a swap partition?
-
Can I mix zram with swapfc?
-
PERSONAL OPINION: /Swapfile or Swap Partition?