Re: [f2fs-dev] [PATCH] f2fs: Prevent swap file on zoned block devices

2021-05-10 Thread Shinichiro Kawasaki
On May 10, 2021 / 17:03, Chao Yu wrote: > Hi Shinichiro, > > On 2021/5/10 16:46, Shinichiro Kawasaki wrote: > > On May 10, 2021 / 15:03, Chao Yu wrote: > > > On 2021/5/10 14:40, Shin'ichiro Kawasaki wrote: > > > > When f2fs is set up on zoned block devices, swap files on the file- > > > > system c

Re: [f2fs-dev] [PATCH] f2fs: Prevent swap file on zoned block devices

2021-05-10 Thread Shinichiro Kawasaki
On May 10, 2021 / 15:03, Chao Yu wrote: > On 2021/5/10 14:40, Shin'ichiro Kawasaki wrote: > > When f2fs is set up on zoned block devices, swap files on the file- > > system causes unaligned write command errors. The kernel writes to the > > swap files directly without the assistance of the filesyst

Re: [f2fs-dev] [PATCH] f2fs: Prevent swap file on zoned block devices

2021-05-10 Thread Chao Yu
Hi Shinichiro, On 2021/5/10 16:46, Shinichiro Kawasaki wrote: On May 10, 2021 / 15:03, Chao Yu wrote: On 2021/5/10 14:40, Shin'ichiro Kawasaki wrote: When f2fs is set up on zoned block devices, swap files on the file- system causes unaligned write command errors. The kernel writes to the swap

Re: [f2fs-dev] [PATCH] f2fs: Prevent swap file on zoned block devices

2021-05-10 Thread Chao Yu
On 2021/5/10 14:40, Shin'ichiro Kawasaki wrote: When f2fs is set up on zoned block devices, swap files on the file- system causes unaligned write command errors. The kernel writes to the swap files directly without the assistance of the filesystem then it can not fulfill sequential write requirem

[f2fs-dev] [PATCH] f2fs: Prevent swap file on zoned block devices

2021-05-09 Thread Shin'ichiro Kawasaki
When f2fs is set up on zoned block devices, swap files on the file- system causes unaligned write command errors. The kernel writes to the swap files directly without the assistance of the filesystem then it can not fulfill sequential write requirements of zoned block devices. To avoid the errors,