0258c527fb
This patch splits the SWP_SYNCHRONOUS_IO flag into __SWP_READ_SYNCHRONOUS_IO and __SWP_WRITE_SYNCHRONOUS_IO. These changes are motivated by the need to better accommodate certain swap devices that support synchronous read operations but asynchronous write operations. The existing SWP_SYNCHRONOUS_IO flag is not sufficient for these devices, as they enforce synchronous behavior for both read and write operations. Bug: 368512254 Change-Id: I778053e7f7d7d8f0d52d66bc1acf44b98ab5c636 Signed-off-by: Qun-Wei Lin <qun-wei.lin@mediatek.com> Link: https://lore.kernel.org/lkml/20241011091133.28173-1-qun-wei.lin@mediatek.com/
22 KiB
22 KiB